<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:cc050d5d-38a9-43d4-af5d-953da1d1a0fa,g:0735be2c-508a-49d0-a13f-cc629ca93463-->
<link:linkbase 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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="erie-20251231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_8afcf12a-fd40-464c-b025-6e949cc59f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeNonoperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_07b6e276-f876-4b3f-bad7-bb404827a54e" xlink:href="erie-20251231.xsd#erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_8afcf12a-fd40-464c-b025-6e949cc59f0a" xlink:to="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_07b6e276-f876-4b3f-bad7-bb404827a54e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_dc3c8128-41c4-4d75-bb00-58cf01e44a94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_8afcf12a-fd40-464c-b025-6e949cc59f0a" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_dc3c8128-41c4-4d75-bb00-58cf01e44a94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries_e853d1a2-4422-4267-8801-3d5832dd79b0" xlink:href="erie-20251231.xsd#erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_8afcf12a-fd40-464c-b025-6e949cc59f0a" xlink:to="loc_erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries_e853d1a2-4422-4267-8801-3d5832dd79b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_690b1ac8-3f22-45c6-8a19-7d70dd8f3638" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fb42905b-0fd7-46c6-8a01-85d9cda1ea8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_690b1ac8-3f22-45c6-8a19-7d70dd8f3638" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fb42905b-0fd7-46c6-8a01-85d9cda1ea8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_7742a4ae-0882-445f-9f9f-beb165b839dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_690b1ac8-3f22-45c6-8a19-7d70dd8f3638" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_7742a4ae-0882-445f-9f9f-beb165b839dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_03a435f5-c743-43c9-ad59-12d0d7eddc96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d23ba564-3e6f-44fe-bf70-0fa3248434e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_03a435f5-c743-43c9-ad59-12d0d7eddc96" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d23ba564-3e6f-44fe-bf70-0fa3248434e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_ca7082b8-d7d8-40c5-8df1-011087117b07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_03a435f5-c743-43c9-ad59-12d0d7eddc96" xlink:to="loc_us-gaap_OperatingExpenses_ca7082b8-d7d8-40c5-8df1-011087117b07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c689a-114c-77fe-a50a-06016df2883e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019c689a-114c-78c9-bc2b-21ea89727e36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c689a-114c-77fe-a50a-06016df2883e" xlink:to="loc_us-gaap_OperatingIncomeLoss_019c689a-114c-78c9-bc2b-21ea89727e36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_019c689a-114c-7279-8df7-5b3d7978c32e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeNonoperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c689a-114c-77fe-a50a-06016df2883e" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_019c689a-114c-7279-8df7-5b3d7978c32e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019c689a-114c-785d-bccd-9a874591d862" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c689a-114c-77fe-a50a-06016df2883e" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019c689a-114c-785d-bccd-9a874591d862" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_ContributionToCharitableFoundation_019c689a-114c-726b-8a52-a6980368d7a9" xlink:href="erie-20251231.xsd#erie_ContributionToCharitableFoundation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019c689a-114c-77fe-a50a-06016df2883e" xlink:to="loc_erie_ContributionToCharitableFoundation_019c689a-114c-726b-8a52-a6980368d7a9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="erie-20251231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_904379c4-60ec-40da-a1c2-6bf0ae6458c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_dab91026-04c6-480a-941c-a7d413fab1ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_904379c4-60ec-40da-a1c2-6bf0ae6458c5" xlink:to="loc_us-gaap_NetIncomeLoss_dab91026-04c6-480a-941c-a7d413fab1ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e7c55656-1743-4ab3-9ec7-19c12c72ceac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_904379c4-60ec-40da-a1c2-6bf0ae6458c5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e7c55656-1743-4ab3-9ec7-19c12c72ceac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_33dfeec0-d6a7-41b1-8ab0-bc28925a1caa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_4c61e64a-5a23-4c40-8f32-29daf61e6a76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_33dfeec0-d6a7-41b1-8ab0-bc28925a1caa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_4c61e64a-5a23-4c40-8f32-29daf61e6a76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_4804fd35-889b-4631-88d4-77f764ccd4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_33dfeec0-d6a7-41b1-8ab0-bc28925a1caa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_4804fd35-889b-4631-88d4-77f764ccd4f8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION" xlink:type="simple" xlink:href="erie-20251231.xsd#CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d63a2d41-95ae-427e-83f7-34971b3ed3f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_cfcacf00-d473-4163-83cd-19113dc7a48b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d63a2d41-95ae-427e-83f7-34971b3ed3f9" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_cfcacf00-d473-4163-83cd-19113dc7a48b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_cc44e299-55af-44bd-ac16-56e10aa76bc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d63a2d41-95ae-427e-83f7-34971b3ed3f9" xlink:to="loc_us-gaap_TreasuryStockCommonValue_cc44e299-55af-44bd-ac16-56e10aa76bc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_CommonStockIssuedStockTrust_1108b987-2be3-490b-a09a-2af9afceb162" xlink:href="erie-20251231.xsd#erie_CommonStockIssuedStockTrust"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d63a2d41-95ae-427e-83f7-34971b3ed3f9" xlink:to="loc_erie_CommonStockIssuedStockTrust_1108b987-2be3-490b-a09a-2af9afceb162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue_18246f37-7493-4816-906c-351bbf89d0a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue_18246f37-7493-4816-906c-351bbf89d0a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_fa28b615-01e1-42fe-bdce-c0415d787b60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredCompensationLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_fa28b615-01e1-42fe-bdce-c0415d787b60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_13a3e04f-fd8e-4eeb-903b-ec88e5efd322" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_13a3e04f-fd8e-4eeb-903b-ec88e5efd322" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_3af17cc0-0c49-431d-870a-66b9d327dc0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_3af17cc0-0c49-431d-870a-66b9d327dc0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AgentIncentiveCompensationPayableCurrent_8681072d-9548-4a67-8c61-d6e52d3dd4bd" xlink:href="erie-20251231.xsd#erie_AgentIncentiveCompensationPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_erie_AgentIncentiveCompensationPayableCurrent_8681072d-9548-4a67-8c61-d6e52d3dd4bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_e6499513-f18b-46ff-b97a-523715692bf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_us-gaap_DividendsPayableCurrent_e6499513-f18b-46ff-b97a-523715692bf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalesCommissionCurrent_2233df1c-d21b-4d28-b79d-9b9bbb5acad4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedSalesCommissionCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4cfceae9-3c76-4b5f-bbc3-a156a81a8f61" xlink:to="loc_us-gaap_AccruedSalesCommissionCurrent_2233df1c-d21b-4d28-b79d-9b9bbb5acad4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_35b8b83d-3c30-462a-bdbc-fb876bde4a8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_be5b4d69-6a42-4ca4-a361-cfa1d3bca75c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_35b8b83d-3c30-462a-bdbc-fb876bde4a8e" xlink:to="loc_us-gaap_Liabilities_be5b4d69-6a42-4ca4-a361-cfa1d3bca75c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_178a4b3e-7d02-489e-8354-f4103cee3257" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_35b8b83d-3c30-462a-bdbc-fb876bde4a8e" xlink:to="loc_us-gaap_StockholdersEquity_178a4b3e-7d02-489e-8354-f4103cee3257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_9e5d82dd-029d-4981-95eb-00b28792b287" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_9e5d82dd-029d-4981-95eb-00b28792b287" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFVNINoncurrent_bb70a5ab-74c7-4f68-91d2-1187e96250d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFVNINoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_EquitySecuritiesFVNINoncurrent_bb70a5ab-74c7-4f68-91d2-1187e96250d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_9092b247-2096-4d16-a169-147de782059d" xlink:href="erie-20251231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_9092b247-2096-4d16-a169-147de782059d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ee9c141e-fe61-47e8-879f-c795f1a57ada" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_ee9c141e-fe61-47e8-879f-c795f1a57ada" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_6674ed76-7461-4146-b9d8-7eacb6cc732c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_6674ed76-7461-4146-b9d8-7eacb6cc732c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestmentsNoncurrent_54198b6c-bd1b-43d9-93df-0851a7bfc2ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedInvestmentsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_RestrictedInvestmentsNoncurrent_54198b6c-bd1b-43d9-93df-0851a7bfc2ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_85a28839-d61d-4d3c-bf03-b5986ce91947" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_AssetsCurrent_85a28839-d61d-4d3c-bf03-b5986ce91947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_60f839cc-b599-4893-a1b7-3b09912615ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5affaea8-e4c3-4b3c-9e12-e050824f87a1" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_60f839cc-b599-4893-a1b7-3b09912615ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_b805a515-ad0c-46f2-ac21-76c690ace8e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:to="loc_us-gaap_LiabilitiesCurrent_b805a515-ad0c-46f2-ac21-76c690ace8e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_006063e5-8684-45c0-9dab-ae64f3b1368f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_006063e5-8684-45c0-9dab-ae64f3b1368f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_8adb98c2-92cd-433d-be33-198f88c1a7a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_8adb98c2-92cd-433d-be33-198f88c1a7a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_f15f4a54-b742-4223-8382-00aa0e6c744c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_f15f4a54-b742-4223-8382-00aa0e6c744c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_a96ccb99-46b8-4da0-ad84-0f99fa613001" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_a96ccb99-46b8-4da0-ad84-0f99fa613001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_6553e4ce-e3db-4e12-ae0f-84812d2c54ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e3156c6d-6945-4e2c-bbe5-b1f2fde08b40" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_6553e4ce-e3db-4e12-ae0f-84812d2c54ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_95a270ff-d5e8-448d-a57d-0a99b2bb47f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_1ada02c0-d4ad-407c-ac80-7bd5985c6e58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_95a270ff-d5e8-448d-a57d-0a99b2bb47f4" xlink:to="loc_us-gaap_CommonStockValue_1ada02c0-d4ad-407c-ac80-7bd5985c6e58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_62408b6c-c74a-4ea1-bc67-81b60c17e35e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_95a270ff-d5e8-448d-a57d-0a99b2bb47f4" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_62408b6c-c74a-4ea1-bc67-81b60c17e35e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_bf116657-f70c-4376-8800-ae3df085ddab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_95a270ff-d5e8-448d-a57d-0a99b2bb47f4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_bf116657-f70c-4376-8800-ae3df085ddab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_981eb98d-d30e-4f7e-9364-8f3ea92147e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_95a270ff-d5e8-448d-a57d-0a99b2bb47f4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_981eb98d-d30e-4f7e-9364-8f3ea92147e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3d5408b5-ed99-47eb-aa50-c8ec7b884e6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3d5408b5-ed99-47eb-aa50-c8ec7b884e6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_c624b8ce-54f9-4242-a2b3-f785f8f80e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_c624b8ce-54f9-4242-a2b3-f785f8f80e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestmentsCurrent_508370d6-e3ca-4ad3-aed0-0494a2c2a795" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedInvestmentsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:to="loc_us-gaap_RestrictedInvestmentsCurrent_508370d6-e3ca-4ad3-aed0-0494a2c2a795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_b6055b1f-2e34-4c71-b2fe-f412514ce1c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_b6055b1f-2e34-4c71-b2fe-f412514ce1c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8240c6a8-3e3d-4d08-aca2-1b2dcd671246" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8240c6a8-3e3d-4d08-aca2-1b2dcd671246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_32e387f5-c348-4ce7-b3a0-0a1c56c52878" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1059fd27-8393-4e72-886d-03fb19bfb328" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_32e387f5-c348-4ce7-b3a0-0a1c56c52878" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="erie-20251231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_a6919731-514e-444b-8eba-f6305b40a770" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8e59797d-1744-46d0-9a52-eac275e552b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_a6919731-514e-444b-8eba-f6305b40a770" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8e59797d-1744-46d0-9a52-eac275e552b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86295761-d89f-4418-98cd-fbac79520931" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_a6919731-514e-444b-8eba-f6305b40a770" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86295761-d89f-4418-98cd-fbac79520931" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9a21d57b-9508-479e-8c7b-38a434039181" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_a6919731-514e-444b-8eba-f6305b40a770" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9a21d57b-9508-479e-8c7b-38a434039181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_3da7ee8d-fc11-4a1a-91d5-e47c9f1fa7ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForCommissions"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_us-gaap_PaymentsForCommissions_3da7ee8d-fc11-4a1a-91d5-e47c9f1fa7ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AdministrativeServicesExpensesPaid_fa86646a-f062-4ba4-9d22-d98a93c5053b" xlink:href="erie-20251231.xsd#erie_AdministrativeServicesExpensesPaid"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_AdministrativeServicesExpensesPaid_fa86646a-f062-4ba4-9d22-d98a93c5053b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PaymentForAgentIncentiveCompensation_30d9930f-6148-4c4f-a6c5-ed37898c6c36" xlink:href="erie-20251231.xsd#erie_PaymentForAgentIncentiveCompensation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_PaymentForAgentIncentiveCompensation_30d9930f-6148-4c4f-a6c5-ed37898c6c36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AdministrativeServicesReimbursementsReceived_d8a9a7f0-605c-473b-89f0-4edeafaab14c" xlink:href="erie-20251231.xsd#erie_AdministrativeServicesReimbursementsReceived"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_AdministrativeServicesReimbursementsReceived_d8a9a7f0-605c-473b-89f0-4edeafaab14c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOtherOperatingActivities_48cce836-264c-4f71-b68e-9d354ed19c44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOtherOperatingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_us-gaap_PaymentsForOtherOperatingActivities_48cce836-264c-4f71-b68e-9d354ed19c44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_57791661-636d-4aef-ad02-7fac4b3f04ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_57791661-636d-4aef-ad02-7fac4b3f04ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions_8ff46595-8b32-4ebb-8cc1-e12c422361de" xlink:href="erie-20251231.xsd#erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions_8ff46595-8b32-4ebb-8cc1-e12c422361de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_c444672d-28f4-4c5a-b72e-5c18518f0313" xlink:href="erie-20251231.xsd#erie_ProceedsFromInsuranceAgencyManagementFeesReceived"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_c444672d-28f4-4c5a-b72e-5c18518f0313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToEmployees_5ad0f6fb-9215-4b5a-8ee3-a6ca7a4dc1bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToEmployees"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_us-gaap_PaymentsToEmployees_5ad0f6fb-9215-4b5a-8ee3-a6ca7a4dc1bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFeesReceived_f3ab4d0b-9569-4ad1-a11f-d8b4d12c59cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromFeesReceived"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_us-gaap_ProceedsFromFeesReceived_f3ab4d0b-9569-4ad1-a11f-d8b4d12c59cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses_5dacd6f4-de25-4a72-904c-1a3009905575" xlink:href="erie-20251231.xsd#erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_PensionContributionsandPaymentsforOtherLaborRelatedExpenses_5dacd6f4-de25-4a72-904c-1a3009905575" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PaymentsForCharitableContribution_019c6bb8-94b7-7c74-8e6d-2d93fdffaebc" xlink:href="erie-20251231.xsd#erie_PaymentsForCharitableContribution"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4812e54b-1778-4dcc-af75-401e2742ec63" xlink:to="loc_erie_PaymentsForCharitableContribution_019c6bb8-94b7-7c74-8e6d-2d93fdffaebc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_99dda9c6-13d7-44e9-9b1e-42fd2cad3426" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_99dda9c6-13d7-44e9-9b1e-42fd2cad3426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_0edff926-b47a-48e2-acd0-e3981eb9dfec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquitySecuritiesFvNi"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_0edff926-b47a-48e2-acd0-e3981eb9dfec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_8aa029b6-76e5-47f1-aa85-0f414289ecb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_8aa029b6-76e5-47f1-aa85-0f414289ecb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_10d05181-bbcb-477b-8061-62a368bb73a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_10d05181-bbcb-477b-8061-62a368bb73a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_0ec343b5-12f7-415e-9907-ccc4abd0474d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_0ec343b5-12f7-415e-9907-ccc4abd0474d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_b7b6f897-e258-4a5c-8bae-28b3b0c8efb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_b7b6f897-e258-4a5c-8bae-28b3b0c8efb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_bc4bc973-418c-4ca5-a90c-9799a2b96438" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_bc4bc973-418c-4ca5-a90c-9799a2b96438" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_771270c8-5e1b-493e-9f4d-a90f86c2943e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_771270c8-5e1b-493e-9f4d-a90f86c2943e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansReceivable_88121301-1e55-4b43-9c15-a904dcff372f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLoansReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_PaymentsToAcquireLoansReceivable_88121301-1e55-4b43-9c15-a904dcff372f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_73af1936-a95c-4f30-9adc-95d763c1908a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromCollectionOfLoansReceivable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8e191286-bba7-4f30-bbb4-29ea1a0a0085" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_73af1936-a95c-4f30-9adc-95d763c1908a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c522d518-7543-44f1-9160-a5f097b39db7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInSecuritiesLendingPayable_e03ed36c-8780-4e48-a087-0b9ea799e5b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInSecuritiesLendingPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c522d518-7543-44f1-9160-a5f097b39db7" xlink:to="loc_us-gaap_IncreaseDecreaseInSecuritiesLendingPayable_e03ed36c-8780-4e48-a087-0b9ea799e5b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_bfe78366-1fa8-4a5e-87f0-89d2978a2c6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c522d518-7543-44f1-9160-a5f097b39db7" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_bfe78366-1fa8-4a5e-87f0-89d2978a2c6f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_204243e3-0eae-4f50-b97a-bb3982ea121f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1fa741f1-8878-42f2-8946-cdaa9a9d3e41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_204243e3-0eae-4f50-b97a-bb3982ea121f" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1fa741f1-8878-42f2-8946-cdaa9a9d3e41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_dedd5608-3811-4af3-8703-0454b12f525f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_204243e3-0eae-4f50-b97a-bb3982ea121f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_dedd5608-3811-4af3-8703-0454b12f525f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_7135d557-f38b-43b9-957a-6eb3a3a595d7" xlink:href="erie-20251231.xsd#erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_204243e3-0eae-4f50-b97a-bb3982ea121f" xlink:to="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_7135d557-f38b-43b9-957a-6eb3a3a595d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_8fee10c9-5eab-4cb4-a829-5073c939aa42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_e4701a72-5e01-447e-a188-42bf6b629eb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_8fee10c9-5eab-4cb4-a829-5073c939aa42" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_e4701a72-5e01-447e-a188-42bf6b629eb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_9b6bf60f-7119-456f-899b-7cf885c659b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_8fee10c9-5eab-4cb4-a829-5073c939aa42" xlink:to="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_9b6bf60f-7119-456f-899b-7cf885c659b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_f97b746f-53ba-4954-b8a3-83147f057597" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_8fee10c9-5eab-4cb4-a829-5073c939aa42" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_f97b746f-53ba-4954-b8a3-83147f057597" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_886fd322-dc7f-4a2e-a31c-4877e4a8e838" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0cc2a992-974e-4876-87e6-85f84754e0ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_886fd322-dc7f-4a2e-a31c-4877e4a8e838" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0cc2a992-974e-4876-87e6-85f84754e0ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquitySecuritiesFVNITotal_d6391e4d-0a46-4b11-8a7b-ed9a9e74ed47" xlink:href="erie-20251231.xsd#erie_EquitySecuritiesFVNITotal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_886fd322-dc7f-4a2e-a31c-4877e4a8e838" xlink:to="loc_erie_EquitySecuritiesFVNITotal_d6391e4d-0a46-4b11-8a7b-ed9a9e74ed47" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_608ab547-da36-4ef7-b49f-4c6d540046da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain_d29b091a-ea11-4657-9d76-dcc500963c4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_608ab547-da36-4ef7-b49f-4c6d540046da" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain_d29b091a-ea11-4657-9d76-dcc500963c4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss_04db670c-8525-4846-8dc3-b8922f2b470a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_608ab547-da36-4ef7-b49f-4c6d540046da" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss_04db670c-8525-4846-8dc3-b8922f2b470a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_8fe110e9-eea0-4365-aeed-b0befc3f4119" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_608ab547-da36-4ef7-b49f-4c6d540046da" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_8fe110e9-eea0-4365-aeed-b0befc3f4119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_290d753b-781a-42c3-9811-60827738e5f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_f89aca02-c758-4ef3-8b2d-6fca78a50b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_290d753b-781a-42c3-9811-60827738e5f3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_f89aca02-c758-4ef3-8b2d-6fca78a50b6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_89bf6232-4058-4652-9e12-585af893dcce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_290d753b-781a-42c3-9811-60827738e5f3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_89bf6232-4058-4652-9e12-585af893dcce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4193df48-dbaa-4703-9bc5-3ddeb2410ec0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_290d753b-781a-42c3-9811-60827738e5f3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4193df48-dbaa-4703-9bc5-3ddeb2410ec0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_1e703185-93d5-48d6-8680-0e54408fb686" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_c69a4022-aff7-4e68-99bf-dec70a6d8934" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_1e703185-93d5-48d6-8680-0e54408fb686" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_c69a4022-aff7-4e68-99bf-dec70a6d8934" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_8c132629-8e31-4163-adbf-6c7e869c5832" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_1e703185-93d5-48d6-8680-0e54408fb686" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_8c132629-8e31-4163-adbf-6c7e869c5832" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_a2b6763f-c05f-4db3-9efc-65561e79c41c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_1e703185-93d5-48d6-8680-0e54408fb686" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_a2b6763f-c05f-4db3-9efc-65561e79c41c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyContractualMaturityDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyContractualMaturityDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_8ee6a72a-dac6-427c-8771-eea6987da76f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_79d2a7bf-24a6-4611-a758-da059d72a730" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_8ee6a72a-dac6-427c-8771-eea6987da76f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_79d2a7bf-24a6-4611-a758-da059d72a730" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_eecfab8f-a6c3-4d08-8a2c-114e5c6a8e27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_8ee6a72a-dac6-427c-8771-eea6987da76f" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_eecfab8f-a6c3-4d08-8a2c-114e5c6a8e27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4797e4e0-6bd9-4e61-b999-168dc7171c33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_b29cfc10-41c9-4547-8830-7445a0e32090" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4797e4e0-6bd9-4e61-b999-168dc7171c33" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_b29cfc10-41c9-4547-8830-7445a0e32090" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_55e8c6be-ca81-4516-9b00-07b0a7541222" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4797e4e0-6bd9-4e61-b999-168dc7171c33" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_55e8c6be-ca81-4516-9b00-07b0a7541222" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_d8bb00c2-ddce-4a38-a00f-306e87c9cc6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4797e4e0-6bd9-4e61-b999-168dc7171c33" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_d8bb00c2-ddce-4a38-a00f-306e87c9cc6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_73bda880-10d9-43a7-b88a-9e9e4c413451" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4797e4e0-6bd9-4e61-b999-168dc7171c33" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_73bda880-10d9-43a7-b88a-9e9e4c413451" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_662ce7c4-b928-4b16-beed-e766752117e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_7afcb76a-9ab0-44d8-b706-2d147a0d2640" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_662ce7c4-b928-4b16-beed-e766752117e3" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_7afcb76a-9ab0-44d8-b706-2d147a0d2640" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_98fc5c37-4ea9-4767-9f0e-bb51fd04809f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_662ce7c4-b928-4b16-beed-e766752117e3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_98fc5c37-4ea9-4767-9f0e-bb51fd04809f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_516deef9-4814-4323-9f2c-d0961f8a79da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_e703592d-2666-4605-8f30-354aa3396e08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_516deef9-4814-4323-9f2c-d0961f8a79da" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_e703592d-2666-4605-8f30-354aa3396e08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb67df94-a556-465c-a86f-00b46d6205a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_516deef9-4814-4323-9f2c-d0961f8a79da" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb67df94-a556-465c-a86f-00b46d6205a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_7a6ef021-28f4-4c00-84a7-77fd5a7f19b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_516deef9-4814-4323-9f2c-d0961f8a79da" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_7a6ef021-28f4-4c00-84a7-77fd5a7f19b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_9f377770-fc7f-4933-baf0-eede37776713" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_516deef9-4814-4323-9f2c-d0961f8a79da" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_9f377770-fc7f-4933-baf0-eede37776713" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAvailableforsaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsAvailableforsaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsAvailableforsaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_85d3604c-93ec-4ce9-b5fe-61f278dd7644" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_cb0f8b5e-54a3-4191-95d4-715090b907e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_85d3604c-93ec-4ce9-b5fe-61f278dd7644" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_cb0f8b5e-54a3-4191-95d4-715090b907e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_a0aacae6-f4b5-4da7-ac1c-0fcf3c365025" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_85d3604c-93ec-4ce9-b5fe-61f278dd7644" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_a0aacae6-f4b5-4da7-ac1c-0fcf3c365025" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_32b33424-5393-4d19-8bf2-ce4a39d8b04c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_8d2e9c37-e50a-42b4-9f25-67c8bbf91ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_32b33424-5393-4d19-8bf2-ce4a39d8b04c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_8d2e9c37-e50a-42b4-9f25-67c8bbf91ca3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_2a591a74-3876-420a-a4ac-e8bccfc19124" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_32b33424-5393-4d19-8bf2-ce4a39d8b04c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_2a591a74-3876-420a-a4ac-e8bccfc19124" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeLossDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsNetInvestmentIncomeLossDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_2fc19a56-d862-4822-989f-4f98f1a902f3" xlink:href="erie-20251231.xsd#erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_139c91ff-bd9c-4cf3-91a2-76e73d5db0f9" xlink:href="erie-20251231.xsd#erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_2fc19a56-d862-4822-989f-4f98f1a902f3" xlink:to="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_139c91ff-bd9c-4cf3-91a2-76e73d5db0f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_4a90b788-4ae0-436f-9deb-df6ce5b9d02f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_2fc19a56-d862-4822-989f-4f98f1a902f3" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_4a90b788-4ae0-436f-9deb-df6ce5b9d02f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_bc98465d-0e11-4325-978a-e75eb6c3e79e" xlink:href="erie-20251231.xsd#erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_a4300c3b-fbdc-4711-ac01-06a905f9abdf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_bc98465d-0e11-4325-978a-e75eb6c3e79e" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_a4300c3b-fbdc-4711-ac01-06a905f9abdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_88aeef0a-aaa3-4a88-8db3-e2f2f5a9a4bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_bc98465d-0e11-4325-978a-e75eb6c3e79e" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_88aeef0a-aaa3-4a88-8db3-e2f2f5a9a4bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsLossesDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsNetRealizedandUnrealizedInvestmentGainsLossesDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_1abb02fe-4baf-4cb5-8674-1d06e2e143f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_0fbec41d-4c9a-42b3-b0f7-6e98f8fd064b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_1abb02fe-4baf-4cb5-8674-1d06e2e143f7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_0fbec41d-4c9a-42b3-b0f7-6e98f8fd064b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_5d7081d1-9dfa-464f-b221-53c5563a80bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_1abb02fe-4baf-4cb5-8674-1d06e2e143f7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_5d7081d1-9dfa-464f-b221-53c5563a80bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_6a566fec-5c09-4b22-937d-95d72045c534" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_250a31e8-8fdd-4aa8-9426-5e149f5809c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_6a566fec-5c09-4b22-937d-95d72045c534" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_250a31e8-8fdd-4aa8-9426-5e149f5809c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_1590cc04-0164-4006-8aa5-b7b9a85e0713" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_6a566fec-5c09-4b22-937d-95d72045c534" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_1590cc04-0164-4006-8aa5-b7b9a85e0713" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherInvestments_811fe8d7-38e4-49ce-b4c6-80c66b2c7e35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfOtherInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_6a566fec-5c09-4b22-937d-95d72045c534" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherInvestments_811fe8d7-38e4-49ce-b4c6-80c66b2c7e35" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_107e9877-6ba2-499e-a24c-8d6905139495" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_55818507-01ec-4952-8312-fbbc330133f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_107e9877-6ba2-499e-a24c-8d6905139495" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_55818507-01ec-4952-8312-fbbc330133f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_54cf6a22-ebdc-47df-bd2f-5e2f02ee8554" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_107e9877-6ba2-499e-a24c-8d6905139495" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_54cf6a22-ebdc-47df-bd2f-5e2f02ee8554" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsImpairmentsonInvestmentsDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#InvestmentsImpairmentsonInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsImpairmentsonInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery_920580b0-1f30-49f0-aba8-1158b7eb7897" xlink:href="erie-20251231.xsd#erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery_e7a1a9ce-9adf-473d-bbf8-336ab4f60dca" xlink:href="erie-20251231.xsd#erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery_920580b0-1f30-49f0-aba8-1158b7eb7897" xlink:to="loc_erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery_e7a1a9ce-9adf-473d-bbf8-336ab4f60dca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment_8e0ab0eb-1d2c-45b6-a8d1-b02f732c7f49" xlink:href="erie-20251231.xsd#erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery_920580b0-1f30-49f0-aba8-1158b7eb7897" xlink:to="loc_erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment_8e0ab0eb-1d2c-45b6-a8d1-b02f732c7f49" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FixedAssetsFixedAssetsbyCategoryDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#FixedAssetsFixedAssetsbyCategoryDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/FixedAssetsFixedAssetsbyCategoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_ea1445f9-d06d-44a5-858f-e2532b3de0d1" xlink:href="erie-20251231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_e85cb252-e226-454f-bac9-1983a7fde294" xlink:href="erie-20251231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_ea1445f9-d06d-44a5-858f-e2532b3de0d1" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_e85cb252-e226-454f-bac9-1983a7fde294" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets_68649525-8aaa-420c-82ff-3c9760c8fc1f" xlink:href="erie-20251231.xsd#erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_ea1445f9-d06d-44a5-858f-e2532b3de0d1" xlink:to="loc_erie_AccumulatedDepreciationDepletionandAmortizationPropertyPlantandEquipmentandFiniteLivedIntangibleAssets_68649525-8aaa-420c-82ff-3c9760c8fc1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_ca2cf296-45de-400e-a2bb-a60b437c20ec" xlink:href="erie-20251231.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_4fdf3f3d-8521-46a5-b84c-a20b3871bbb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_ca2cf296-45de-400e-a2bb-a60b437c20ec" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_4fdf3f3d-8521-46a5-b84c-a20b3871bbb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_fb4525bf-c158-4e34-9e45-7080999e7c8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_ca2cf296-45de-400e-a2bb-a60b437c20ec" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_fb4525bf-c158-4e34-9e45-7080999e7c8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsNotYetSubjectToAmortization_1dadabd0-3133-4d67-86e6-ffe7e6cabfce" xlink:href="erie-20251231.xsd#erie_FiniteLivedIntangibleAssetsNotYetSubjectToAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentGross_ca2cf296-45de-400e-a2bb-a60b437c20ec" xlink:to="loc_erie_FiniteLivedIntangibleAssetsNotYetSubjectToAmortization_1dadabd0-3133-4d67-86e6-ffe7e6cabfce" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsPensionPlanCostIncomeDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#PostretirementBenefitsPensionPlanCostIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsPensionPlanCostIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_f6aad321-b8b2-46fe-b900-a6c31562c4a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_f6aad321-b8b2-46fe-b900-a6c31562c4a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_d1fc3f33-cec1-4f63-ab39-d511b66cd65f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_d1fc3f33-cec1-4f63-ab39-d511b66cd65f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_68f0ace0-c269-47d8-b541-2dd678d72e96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_68f0ace0-c269-47d8-b541-2dd678d72e96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_b270a3a0-1247-480a-93ff-1adfcf8267dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_b270a3a0-1247-480a-93ff-1adfcf8267dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b2eb8ffd-4db6-48da-be78-99f880db02a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b2eb8ffd-4db6-48da-be78-99f880db02a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_0bb0abae-f9c9-4ef9-8d9d-f9781e71f73b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_b97f6c75-5417-499b-8405-7a4749612b87" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_0bb0abae-f9c9-4ef9-8d9d-f9781e71f73b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsFundingPolicyFundedStatusDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#PostretirementBenefitsFundingPolicyFundedStatusDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsFundingPolicyFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_9e3ed33c-6efc-4edd-bd52-80b2a19f8c69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_20371607-3534-4d10-97fd-7eedbbb7bc79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_9e3ed33c-6efc-4edd-bd52-80b2a19f8c69" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_20371607-3534-4d10-97fd-7eedbbb7bc79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_3d8cbdc0-faf3-43d5-b0c0-87a1ddc63307" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_9e3ed33c-6efc-4edd-bd52-80b2a19f8c69" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_3d8cbdc0-faf3-43d5-b0c0-87a1ddc63307" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_ecdd1ac0-0b10-49dd-b163-d561ed2c88d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_9e3ed33c-6efc-4edd-bd52-80b2a19f8c69" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_ecdd1ac0-0b10-49dd-b163-d561ed2c88d4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsAccumulatedOtherComprehensiveLossDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#PostretirementBenefitsAccumulatedOtherComprehensiveLossDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsAccumulatedOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_794c5d79-96be-47af-9021-d8385018dd69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_fe630a50-1e91-4326-b910-d384d66c526f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_794c5d79-96be-47af-9021-d8385018dd69" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_fe630a50-1e91-4326-b910-d384d66c526f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_a4a8f6c5-497d-42de-8b62-27a4ed4e9de5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_794c5d79-96be-47af-9021-d8385018dd69" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_a4a8f6c5-497d-42de-8b62-27a4ed4e9de5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsOtherComprehensiveLossDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#PostretirementBenefitsOtherComprehensiveLossDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_12c8e002-98f8-4267-8f35-d9dc7bf18e79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_6436f72c-28f8-43a5-a884-841465e8e60b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_12c8e002-98f8-4267-8f35-d9dc7bf18e79" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_6436f72c-28f8-43a5-a884-841465e8e60b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_39f341c2-fb6c-4040-9eb3-b2c12d8e750d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_12c8e002-98f8-4267-8f35-d9dc7bf18e79" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_39f341c2-fb6c-4040-9eb3-b2c12d8e750d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_eb17f003-7df9-4713-a614-dbfc8e0d5296" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_12c8e002-98f8-4267-8f35-d9dc7bf18e79" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_eb17f003-7df9-4713-a614-dbfc8e0d5296" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_af089b6b-fb04-464d-8c93-3ec7e48f75a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_12c8e002-98f8-4267-8f35-d9dc7bf18e79" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_af089b6b-fb04-464d-8c93-3ec7e48f75a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_f66cf6b8-f999-41bd-afc2-3b1fbd92c7aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_12c8e002-98f8-4267-8f35-d9dc7bf18e79" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_f66cf6b8-f999-41bd-afc2-3b1fbd92c7aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncentiveandDeferredCompensationPlansDeferredExecutiveCompensationLiabilityDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#IncentiveandDeferredCompensationPlansDeferredExecutiveCompensationLiabilityDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncentiveandDeferredCompensationPlansDeferredExecutiveCompensationLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_dcb96450-c6b3-4e59-b275-aca8ff1aafdf" xlink:href="erie-20251231.xsd#erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLaborRelatedExpenses_70eeff05-a983-4f05-889e-3d0d2900d292" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLaborRelatedExpenses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_dcb96450-c6b3-4e59-b275-aca8ff1aafdf" xlink:to="loc_us-gaap_OtherLaborRelatedExpenses_70eeff05-a983-4f05-889e-3d0d2900d292" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AllocatedSharebasedCompensationExpenseGross_9b20422c-4579-450d-8d62-ff64b5b66ca6" xlink:href="erie-20251231.xsd#erie_AllocatedSharebasedCompensationExpenseGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_dcb96450-c6b3-4e59-b275-aca8ff1aafdf" xlink:to="loc_erie_AllocatedSharebasedCompensationExpenseGross_9b20422c-4579-450d-8d62-ff64b5b66ca6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_a22e94e4-cbb0-42f8-b390-87ef0930e8d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erie_IncentivePlansAndDeferredCompensationTotalAwardsAndEarnings_dcb96450-c6b3-4e59-b275-aca8ff1aafdf" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense_a22e94e4-cbb0-42f8-b390-87ef0930e8d1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesProvisionforIncomeTaxDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#IncomeTaxesProvisionforIncomeTaxDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesProvisionforIncomeTaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c95a253c-6986-48a2-9447-51c71711521a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_e88a459a-dd7d-43a0-ac2c-a5948c59e112" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c95a253c-6986-48a2-9447-51c71711521a" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_e88a459a-dd7d-43a0-ac2c-a5948c59e112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_1c4d48aa-37d6-4635-82be-8678f9deebcd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c95a253c-6986-48a2-9447-51c71711521a" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_1c4d48aa-37d6-4635-82be-8678f9deebcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019be112-d1fb-7662-bf4a-292b9435a237" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c95a253c-6986-48a2-9447-51c71711521a" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019be112-d1fb-7662-bf4a-292b9435a237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019be112-d1fb-7321-8ff2-e7e62876ccc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c95a253c-6986-48a2-9447-51c71711521a" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019be112-d1fb-7321-8ff2-e7e62876ccc3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesReconciliationofProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#IncomeTaxesReconciliationofProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesReconciliationofProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c5750-89b0-78b6-b40f-480caf2ed0d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019c5750-89b0-7e21-8af9-964332b17dc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c5750-89b0-78b6-b40f-480caf2ed0d8" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019c5750-89b0-7e21-8af9-964332b17dc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019c5750-89b0-7e1a-9946-edb527d5dc44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c5750-89b0-78b6-b40f-480caf2ed0d8" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019c5750-89b0-7e1a-9946-edb527d5dc44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_019c5750-89b0-7b58-b222-3626fcdd4e8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c5750-89b0-78b6-b40f-480caf2ed0d8" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_019c5750-89b0-7b58-b222-3626fcdd4e8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_019c5750-89b0-7020-bf87-b997bfa68c40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c5750-89b0-78b6-b40f-480caf2ed0d8" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_019c5750-89b0-7020-bf87-b997bfa68c40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019c5750-89b0-74f2-b832-7a566cee8320" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019c5750-89b0-78b6-b40f-480caf2ed0d8" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019c5750-89b0-74f2-b832-7a566cee8320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c5750-4611-7dec-b539-2b97a6a33e6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019c5750-4611-7c23-aeb2-965e339cf894" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c5750-4611-7dec-b539-2b97a6a33e6b" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019c5750-4611-7c23-aeb2-965e339cf894" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019c5750-4611-7318-b8a5-13c58f7f9967" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c5750-4611-7dec-b539-2b97a6a33e6b" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019c5750-4611-7318-b8a5-13c58f7f9967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCredits_019c5750-4611-74dc-b4b7-b301ca25c602" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCredits"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c5750-4611-7dec-b539-2b97a6a33e6b" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCredits_019c5750-4611-74dc-b4b7-b301ca25c602" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_019c5750-4611-72b2-bb49-5a2e6d9eaef4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c5750-4611-7dec-b539-2b97a6a33e6b" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_019c5750-4611-72b2-bb49-5a2e6d9eaef4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019c5750-4611-74df-8c6a-08c6457d6a7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c5750-4611-7dec-b539-2b97a6a33e6b" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019c5750-4611-74df-8c6a-08c6457d6a7e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_0b9500a4-4e4f-43ff-894d-fc7078779fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4ae2c693-ba31-4ad3-b6a4-b5f324f6a47b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0b9500a4-4e4f-43ff-894d-fc7078779fe4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4ae2c693-ba31-4ad3-b6a4-b5f324f6a47b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionAndOtherPostretirementBenefits_ad0bd1bf-ad6e-4652-9f70-da8d51ee7546" xlink:href="erie-20251231.xsd#erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionAndOtherPostretirementBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0b9500a4-4e4f-43ff-894d-fc7078779fe4" xlink:to="loc_erie_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsPensionAndOtherPostretirementBenefits_ad0bd1bf-ad6e-4652-9f70-da8d51ee7546" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_000b02ec-7f4d-4109-842f-dba08e5a3695" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0b9500a4-4e4f-43ff-894d-fc7078779fe4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_000b02ec-7f4d-4109-842f-dba08e5a3695" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_700774c6-311d-47e6-bb8e-0d3ed5e4322f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0b9500a4-4e4f-43ff-894d-fc7078779fe4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_700774c6-311d-47e6-bb8e-0d3ed5e4322f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentsIncludingEquityMethodInvestments_019be136-e3a5-795a-9070-c15d92365ff5" xlink:href="erie-20251231.xsd#erie_DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentsIncludingEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0b9500a4-4e4f-43ff-894d-fc7078779fe4" xlink:to="loc_erie_DeferredTaxLiabilitiesUnrealizedGainsOnInvestmentsIncludingEquityMethodInvestments_019be136-e3a5-795a-9070-c15d92365ff5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0c960f7c-b185-435c-a8db-54626e638925" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_234a83e6-1e86-467f-81e7-5d2a719a933c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0c960f7c-b185-435c-a8db-54626e638925" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_234a83e6-1e86-467f-81e7-5d2a719a933c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_3a668beb-9eaf-4088-b12f-fa73143135d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0c960f7c-b185-435c-a8db-54626e638925" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_3a668beb-9eaf-4088-b12f-fa73143135d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_88439e4b-3b12-4e59-98f2-78dced081519" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsOther_88439e4b-3b12-4e59-98f2-78dced081519" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_770a4794-6c9a-4d93-9125-8909d428251c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_770a4794-6c9a-4d93-9125-8909d428251c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DeferredTaxAssetCurrentExpectedCreditLossAllowance_37355095-8dc9-42d3-8138-45858f89bfaf" xlink:href="erie-20251231.xsd#erie_DeferredTaxAssetCurrentExpectedCreditLossAllowance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_erie_DeferredTaxAssetCurrentExpectedCreditLossAllowance_37355095-8dc9-42d3-8138-45858f89bfaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDeferredIncome_13d6b0c9-5142-46b0-afe7-496b9289a3f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsDeferredIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_us-gaap_DeferredTaxAssetsDeferredIncome_13d6b0c9-5142-46b0-afe7-496b9289a3f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DeferredTaxAssetsNetAllowanceForPremiumCancellations_e88fc2c6-f246-4f61-8c6f-ca58fe100d56" xlink:href="erie-20251231.xsd#erie_DeferredTaxAssetsNetAllowanceForPremiumCancellations"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_erie_DeferredTaxAssetsNetAllowanceForPremiumCancellations_e88fc2c6-f246-4f61-8c6f-ca58fe100d56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_fd3e1b27-3980-4f5b-b0a2-941e9441c318" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_fd3e1b27-3980-4f5b-b0a2-941e9441c318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards_019be137-4366-7ae6-ab15-0899eab03c79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_425e39d8-dad0-4621-9155-caa2e3ebf8c2" xlink:to="loc_us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards_019be137-4366-7ae6-ab15-0899eab03c79" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#AccumulatedOtherComprehensiveIncomeLossDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_a7614722-f7e4-4375-873e-ba7ce42de033" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_8456a129-9e5e-4e5b-9237-0ac37c3acb99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_a7614722-f7e4-4375-873e-ba7ce42de033" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_8456a129-9e5e-4e5b-9237-0ac37c3acb99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_0fd8370a-82a3-4cb1-bec0-f8467fc03e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_a7614722-f7e4-4375-873e-ba7ce42de033" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_0fd8370a-82a3-4cb1-bec0-f8467fc03e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_e6d92ebd-75cb-4323-b3ca-ca16af9c0dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_a7614722-f7e4-4375-873e-ba7ce42de033" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_e6d92ebd-75cb-4323-b3ca-ca16af9c0dc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_f1a69b43-2308-4c2a-b86f-2280254013e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquityAttributableToParentTax_9b73ad69-3ae7-4fa5-96b3-c2e4f95bd999" xlink:href="erie-20251231.xsd#erie_EquityAttributableToParentTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_f1a69b43-2308-4c2a-b86f-2280254013e9" xlink:to="loc_erie_EquityAttributableToParentTax_9b73ad69-3ae7-4fa5-96b3-c2e4f95bd999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquityAttributableToParentBeforeTax_646788a5-f659-4ae8-85b7-75adda7436b1" xlink:href="erie-20251231.xsd#erie_EquityAttributableToParentBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_f1a69b43-2308-4c2a-b86f-2280254013e9" xlink:to="loc_erie_EquityAttributableToParentBeforeTax_646788a5-f659-4ae8-85b7-75adda7436b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_25ecb22d-53f9-4911-b675-4e4d4ff2a507" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_81c87259-788f-4fde-937c-d1b72ff0d464" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_25ecb22d-53f9-4911-b675-4e4d4ff2a507" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_81c87259-788f-4fde-937c-d1b72ff0d464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_54b440c7-96ac-4002-9f10-b5662ff3f745" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_25ecb22d-53f9-4911-b675-4e4d4ff2a507" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_54b440c7-96ac-4002-9f10-b5662ff3f745" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_3936ab19-c0f0-4b90-b12e-917211701a77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_25ecb22d-53f9-4911-b675-4e4d4ff2a507" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_3936ab19-c0f0-4b90-b12e-917211701a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_a08de2b4-68bb-4252-b957-c2a821ba66eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_012f1e27-4e52-4995-8f90-e940c55a7466" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_a08de2b4-68bb-4252-b957-c2a821ba66eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_012f1e27-4e52-4995-8f90-e940c55a7466" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_2a60f841-a7f4-4b6a-b4e7-80de900e1581" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_a08de2b4-68bb-4252-b957-c2a821ba66eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_2a60f841-a7f4-4b6a-b4e7-80de900e1581" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_6da33933-b762-4009-9b3b-ec35b70aa3c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_d6c3f10e-8870-4772-acc6-0ec74b114600" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_6da33933-b762-4009-9b3b-ec35b70aa3c1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_d6c3f10e-8870-4772-acc6-0ec74b114600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_6f8b46bc-1e8e-4d7e-b48e-51ddec1109f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_6da33933-b762-4009-9b3b-ec35b70aa3c1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_6f8b46bc-1e8e-4d7e-b48e-51ddec1109f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_89ffc9d9-ab40-4856-b18a-9d00bb233059" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_6da33933-b762-4009-9b3b-ec35b70aa3c1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_89ffc9d9-ab40-4856-b18a-9d00bb233059" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_a99c751b-4530-4c0d-8d84-d0f5594fad3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_fe923a16-bfd3-493a-be24-9647c84f2ea3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_a99c751b-4530-4c0d-8d84-d0f5594fad3f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_fe923a16-bfd3-493a-be24-9647c84f2ea3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_01a8de36-5c1a-444e-b206-177d3b676d10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_a99c751b-4530-4c0d-8d84-d0f5594fad3f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_01a8de36-5c1a-444e-b206-177d3b676d10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_ad4a553b-c57d-41d8-a8b5-bb239ebbd0cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_38ea6727-a0c4-4c58-8a82-5c2d8db6c965" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_ad4a553b-c57d-41d8-a8b5-bb239ebbd0cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_38ea6727-a0c4-4c58-8a82-5c2d8db6c965" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_ab2c1a9b-3090-4d6a-afd3-268987452d03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_ad4a553b-c57d-41d8-a8b5-bb239ebbd0cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_ab2c1a9b-3090-4d6a-afd3-268987452d03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_e8120687-cc4b-4766-ad30-8b83a6c33a86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_ad4a553b-c57d-41d8-a8b5-bb239ebbd0cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_e8120687-cc4b-4766-ad30-8b83a6c33a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_dd674d8c-561d-4bbf-9831-73630ff73ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_ad4a553b-c57d-41d8-a8b5-bb239ebbd0cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_dd674d8c-561d-4bbf-9831-73630ff73ca3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_18c97b2f-fd79-4078-9007-1e81a144e84b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_3061b416-7b18-457e-b370-b70e886ecc40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_18c97b2f-fd79-4078-9007-1e81a144e84b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_3061b416-7b18-457e-b370-b70e886ecc40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_bfc077aa-93c9-48f6-8322-0910ae30834b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_18c97b2f-fd79-4078-9007-1e81a144e84b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_bfc077aa-93c9-48f6-8322-0910ae30834b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_d5949cc2-c3eb-4810-9741-fc8d9ab235e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_b5783099-d3b5-4a00-8303-aa7a8700be51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_d5949cc2-c3eb-4810-9741-fc8d9ab235e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_b5783099-d3b5-4a00-8303-aa7a8700be51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_9d1f10e6-bdc2-4e3c-9b80-82c2bcf8242a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_d5949cc2-c3eb-4810-9741-fc8d9ab235e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_9d1f10e6-bdc2-4e3c-9b80-82c2bcf8242a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_edcabf88-4a95-4aef-9fe1-056e75bcd3ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_d5949cc2-c3eb-4810-9741-fc8d9ab235e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_edcabf88-4a95-4aef-9fe1-056e75bcd3ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_f0fb2bec-cd80-47dd-917f-4d9828f086de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_d5949cc2-c3eb-4810-9741-fc8d9ab235e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_f0fb2bec-cd80-47dd-917f-4d9828f086de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_272ed48a-ac39-4beb-9cc7-4c97b0604396" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_5aaab9f5-c4ab-410c-a1c9-1a95d852a2b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_272ed48a-ac39-4beb-9cc7-4c97b0604396" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_5aaab9f5-c4ab-410c-a1c9-1a95d852a2b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_e01e7e7e-5e50-4ee9-b2f3-5b6cc864e2db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_272ed48a-ac39-4beb-9cc7-4c97b0604396" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_e01e7e7e-5e50-4ee9-b2f3-5b6cc864e2db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_c6933bb5-d19e-44f6-be61-479eb7494f0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_272ed48a-ac39-4beb-9cc7-4c97b0604396" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_c6933bb5-d19e-44f6-be61-479eb7494f0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_1dbf5876-7bfa-44f7-869e-f16e850df2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_272ed48a-ac39-4beb-9cc7-4c97b0604396" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_1dbf5876-7bfa-44f7-869e-f16e850df2a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/SupplementaryDataonCashFlowsDetails" xlink:type="simple" xlink:href="erie-20251231.xsd#SupplementaryDataonCashFlowsDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/SupplementaryDataonCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0b03c050-6482-48b2-bbe1-6134ce8322eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_NetIncomeLoss_0b03c050-6482-48b2-bbe1-6134ce8322eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_7f97d6f1-69cc-4423-b9ab-6853686ff581" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_7f97d6f1-69cc-4423-b9ab-6853686ff581" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_e2afcd4a-fa42-4017-90b1-0acd61ee371f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_e2afcd4a-fa42-4017-90b1-0acd61ee371f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_56ee29c2-6754-4be7-a20b-3174f8c26e5e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_56ee29c2-6754-4be7-a20b-3174f8c26e5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments_3e80aa58-e5fb-4359-abf6-13c04a513d45" xlink:href="erie-20251231.xsd#erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_erie_RealizedInvestmentGainsLossesAndImpairmentOfInvestments_3e80aa58-e5fb-4359-abf6-13c04a513d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_LossOnDisposalAndImpairmentsOfFixedAssets_e98df878-1850-4065-ad8d-8b12835cc7cf" xlink:href="erie-20251231.xsd#erie_LossOnDisposalAndImpairmentsOfFixedAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_erie_LossOnDisposalAndImpairmentsOfFixedAssets_e98df878-1850-4065-ad8d-8b12835cc7cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsAndIncomeLossFromEquityMethodInvestments_2f451d3e-c993-4532-bc0d-4475ec7e41ef" xlink:href="erie-20251231.xsd#erie_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_erie_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsAndIncomeLossFromEquityMethodInvestments_2f451d3e-c993-4532-bc0d-4475ec7e41ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_de28f681-85b0-48b7-8274-d5696ff05cb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredCompensation"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredCompensation_de28f681-85b0-48b7-8274-d5696ff05cb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_3595a47a-5a69-4874-b9a9-374cede042c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties_3595a47a-5a69-4874-b9a9-374cede042c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_e30cfd58-faaa-438a-b38d-0578b919bae8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_e30cfd58-faaa-438a-b38d-0578b919bae8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_43d2b365-010e-4c05-bc69-2b2b907411ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_43d2b365-010e-4c05-bc69-2b2b907411ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_2da62ae6-f522-4a2e-b9b3-068a3214f662" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_2da62ae6-f522-4a2e-b9b3-068a3214f662" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_IncreaseDecreaseInPensionAsset_bd954428-a3c3-4ba2-8beb-bf2986c4f666" xlink:href="erie-20251231.xsd#erie_IncreaseDecreaseInPensionAsset"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_erie_IncreaseDecreaseInPensionAsset_bd954428-a3c3-4ba2-8beb-bf2986c4f666" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes_296b019d-c310-49d6-85ce-95f8f061c77d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInReserveForCommissionsExpenseAndTaxes_296b019d-c310-49d6-85ce-95f8f061c77d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_IncreaseDecreaseInAccruedAgentIncentiveCompensation_79f89fb7-278a-41d1-9336-23ee3b3ae865" xlink:href="erie-20251231.xsd#erie_IncreaseDecreaseInAccruedAgentIncentiveCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_erie_IncreaseDecreaseInAccruedAgentIncentiveCompensation_79f89fb7-278a-41d1-9336-23ee3b3ae865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_3e8a6b36-6279-4320-a9df-64698c39329b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_3e8a6b36-6279-4320-a9df-64698c39329b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncome_019c57dc-b860-7e16-af77-ecad1d65c65a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncome"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23a3e2b2-31ad-4bb5-87e3-8803b2e9c301" xlink:to="loc_us-gaap_OtherNoncashIncome_019c57dc-b860-7e16-af77-ecad1d65c65a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
