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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:ab422953-f81a-45a2-9ba6-da22ddc8863a,g:2151f0ea-3dc0-4012-aea6-c5ece4500e8f-->
<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/CONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED" xlink:type="simple" xlink:href="erie-20250630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d4b98bc2-a96c-403f-b40c-44a16c2a28c5" 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_94572827-8d11-4896-9623-f22d11c7d040" 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_d4b98bc2-a96c-403f-b40c-44a16c2a28c5" xlink:to="loc_us-gaap_OperatingIncomeLoss_94572827-8d11-4896-9623-f22d11c7d040" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_99136fdc-f662-410e-bdcc-0e35d70c8017" 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_d4b98bc2-a96c-403f-b40c-44a16c2a28c5" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_99136fdc-f662-410e-bdcc-0e35d70c8017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_b8f08a98-e8a6-489e-8227-f67cb03001f7" 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_d4b98bc2-a96c-403f-b40c-44a16c2a28c5" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_b8f08a98-e8a6-489e-8227-f67cb03001f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_7cc97177-af8e-4c73-87eb-249c87be9498" 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_30944253-9590-4550-921f-bd2a692cf311" 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_7cc97177-af8e-4c73-87eb-249c87be9498" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_30944253-9590-4550-921f-bd2a692cf311" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_9b594f72-c687-4c80-bda3-ac8c706c230d" 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_7cc97177-af8e-4c73-87eb-249c87be9498" xlink:to="loc_us-gaap_OperatingExpenses_9b594f72-c687-4c80-bda3-ac8c706c230d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f28528f3-a104-4cff-8f6e-fae1fc8a396e" 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_4d110cfa-d2db-4dc4-bd32-0befcd7b260d" 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_f28528f3-a104-4cff-8f6e-fae1fc8a396e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d110cfa-d2db-4dc4-bd32-0befcd7b260d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d15b2669-e6c3-43c0-baef-ca40f5729563" 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_f28528f3-a104-4cff-8f6e-fae1fc8a396e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d15b2669-e6c3-43c0-baef-ca40f5729563" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_e16bab21-5b8a-4618-b0a5-ea3d66cc81ee" 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_9672e682-d5b0-4a25-b39b-618170aad878" xlink:href="erie-20250630.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_e16bab21-5b8a-4618-b0a5-ea3d66cc81ee" xlink:to="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_9672e682-d5b0-4a25-b39b-618170aad878" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_bf94052b-9c4f-4867-9635-068df0a0904d" 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_e16bab21-5b8a-4618-b0a5-ea3d66cc81ee" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_bf94052b-9c4f-4867-9635-068df0a0904d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries_673e6af7-faaa-4a9c-ad4f-44d14bf41101" xlink:href="erie-20250630.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_e16bab21-5b8a-4618-b0a5-ea3d66cc81ee" xlink:to="loc_erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries_673e6af7-faaa-4a9c-ad4f-44d14bf41101" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="simple" xlink:href="erie-20250630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_b6ab5b75-ac2e-4407-a91a-c1a1ebc6c047" 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_ab0a1df2-abf4-4581-8ab0-2ed693ddf17b" 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_b6ab5b75-ac2e-4407-a91a-c1a1ebc6c047" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_ab0a1df2-abf4-4581-8ab0-2ed693ddf17b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_59661c55-f661-45ff-9c6b-f24a563ed3b7" 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_b6ab5b75-ac2e-4407-a91a-c1a1ebc6c047" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_59661c55-f661-45ff-9c6b-f24a563ed3b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_e2b33f08-8975-49d3-8ddb-d67e221a5ad3" 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_4b35508c-6616-466a-b0cc-33d5c1ea6faf" 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_e2b33f08-8975-49d3-8ddb-d67e221a5ad3" xlink:to="loc_us-gaap_NetIncomeLoss_4b35508c-6616-466a-b0cc-33d5c1ea6faf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5914a177-a4fa-42d7-b367-1b4f63a81c85" 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_e2b33f08-8975-49d3-8ddb-d67e221a5ad3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5914a177-a4fa-42d7-b367-1b4f63a81c85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION" xlink:type="simple" xlink:href="erie-20250630.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_LiabilitiesAndStockholdersEquity_9dfc9324-62ec-4346-92db-958700dbda74" 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_3895e0f5-f60d-4e90-9f8a-23d05b9fd8bd" 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_9dfc9324-62ec-4346-92db-958700dbda74" xlink:to="loc_us-gaap_Liabilities_3895e0f5-f60d-4e90-9f8a-23d05b9fd8bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e93f3ed0-785a-404d-a075-ca7ed1bcc996" 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_9dfc9324-62ec-4346-92db-958700dbda74" xlink:to="loc_us-gaap_StockholdersEquity_e93f3ed0-785a-404d-a075-ca7ed1bcc996" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" 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_EquitySecuritiesFVNINoncurrent_d6832ee1-731e-4e05-841a-49c8f1ef73b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFVNINoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_EquitySecuritiesFVNINoncurrent_d6832ee1-731e-4e05-841a-49c8f1ef73b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_e73dad34-7de4-4991-b17f-64186d1f7773" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_AssetsCurrent_e73dad34-7de4-4991-b17f-64186d1f7773" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_f9ef46f5-92dc-4b0d-9e92-ffd53abb832a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_f9ef46f5-92dc-4b0d-9e92-ffd53abb832a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_a853bafd-1d29-464c-8ac7-332ed25ca307" xlink:href="erie-20250630.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_a853bafd-1d29-464c-8ac7-332ed25ca307" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestmentsAtFairValue_966ea43c-8c2b-43ad-b72a-7ab8a5bb3c16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedInvestmentsAtFairValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_RestrictedInvestmentsAtFairValue_966ea43c-8c2b-43ad-b72a-7ab8a5bb3c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_da14ddb2-c1a6-47d3-a2e0-a00de9f46e38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_da14ddb2-c1a6-47d3-a2e0-a00de9f46e38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_a6db4757-0c06-4927-95d7-0c7fc1d51722" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_a6db4757-0c06-4927-95d7-0c7fc1d51722" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_a005cc62-4859-4b7a-bc26-7c3f4a491d71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d2b5e8fd-ef22-44b2-b69a-d07c2c74ec67" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_a005cc62-4859-4b7a-bc26-7c3f4a491d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3c2a8cdd-1dee-4a45-a587-5b9c170a06ed" 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_70c540fa-19a6-4b2a-8ddc-25b90bb9fa9b" 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_3c2a8cdd-1dee-4a45-a587-5b9c170a06ed" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_70c540fa-19a6-4b2a-8ddc-25b90bb9fa9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_1d374b29-117f-4851-8e0f-359db9a4ccc2" 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_3c2a8cdd-1dee-4a45-a587-5b9c170a06ed" xlink:to="loc_us-gaap_TreasuryStockCommonValue_1d374b29-117f-4851-8e0f-359db9a4ccc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_CommonStockIssuedStockTrust_c5cebd66-3c48-4c66-88c5-cc06d8298922" xlink:href="erie-20250630.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_3c2a8cdd-1dee-4a45-a587-5b9c170a06ed" xlink:to="loc_erie_CommonStockIssuedStockTrust_c5cebd66-3c48-4c66-88c5-cc06d8298922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" 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_32c1b455-79be-40eb-8c45-3e4a65fd0faa" 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_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" xlink:to="loc_us-gaap_LiabilitiesCurrent_32c1b455-79be-40eb-8c45-3e4a65fd0faa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_07b613b0-9a81-4d4b-b055-6de4ebbb95cb" 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_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_07b613b0-9a81-4d4b-b055-6de4ebbb95cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_0c23d0f5-b81b-4740-958e-a7b6d75aa371" 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_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_0c23d0f5-b81b-4740-958e-a7b6d75aa371" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_fba3e95e-8e3b-4337-bf09-db675c5a04a4" 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_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_fba3e95e-8e3b-4337-bf09-db675c5a04a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_7e45ef80-4c69-4117-ab46-bb46030718ff" 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_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_7e45ef80-4c69-4117-ab46-bb46030718ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_0ef5244d-da66-4d4f-b67a-23306f757aa5" 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_55d6a937-5069-4e5b-8a7f-7a5f9b5a0e08" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_0ef5244d-da66-4d4f-b67a-23306f757aa5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_1afcaf31-e15b-427b-afce-936fa73d283f" 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_9da99444-decf-4824-b36d-fe299fad851d" 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_1afcaf31-e15b-427b-afce-936fa73d283f" xlink:to="loc_us-gaap_CommonStockValue_9da99444-decf-4824-b36d-fe299fad851d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8fe38099-9a66-49ab-97d0-9c3e0c5194c0" 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_1afcaf31-e15b-427b-afce-936fa73d283f" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8fe38099-9a66-49ab-97d0-9c3e0c5194c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_58390a2b-a605-44c1-86bb-ca62f030899e" 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_1afcaf31-e15b-427b-afce-936fa73d283f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_58390a2b-a605-44c1-86bb-ca62f030899e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_eb253009-c206-4d71-8e71-6ba1b11e6f49" 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_1afcaf31-e15b-427b-afce-936fa73d283f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_eb253009-c206-4d71-8e71-6ba1b11e6f49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a0109ccb-2c23-4373-a4a8-9effb5eb98cc" 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_b0a6912d-38f7-4b50-9eaa-9e1f31b78921" 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_a0109ccb-2c23-4373-a4a8-9effb5eb98cc" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a6912d-38f7-4b50-9eaa-9e1f31b78921" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_04a3f297-92d9-4f8f-8c17-c413f22f2f66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a0109ccb-2c23-4373-a4a8-9effb5eb98cc" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_04a3f297-92d9-4f8f-8c17-c413f22f2f66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d5ea1acf-0ce8-4a16-89ee-7bd3052f4b3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a0109ccb-2c23-4373-a4a8-9effb5eb98cc" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d5ea1acf-0ce8-4a16-89ee-7bd3052f4b3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_6438e8c8-aaf1-4a01-91d3-5235fb7b59de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_a0109ccb-2c23-4373-a4a8-9effb5eb98cc" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_6438e8c8-aaf1-4a01-91d3-5235fb7b59de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_211984da-3939-48db-a960-ed7de7077205" 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_a0109ccb-2c23-4373-a4a8-9effb5eb98cc" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_211984da-3939-48db-a960-ed7de7077205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" 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_DeferredCompensationLiabilityCurrent_567df588-280f-4602-9fbd-94ef9743764e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredCompensationLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_567df588-280f-4602-9fbd-94ef9743764e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AgentIncentiveCompensationPayableCurrent_307c8e1f-29c2-449e-b05f-a3ffbde8e313" xlink:href="erie-20250630.xsd#erie_AgentIncentiveCompensationPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_erie_AgentIncentiveCompensationPayableCurrent_307c8e1f-29c2-449e-b05f-a3ffbde8e313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue_206f1aa3-b735-4429-8cc1-e5ea121ae01a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue_206f1aa3-b735-4429-8cc1-e5ea121ae01a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalesCommissionCurrent_e1709e34-1375-4975-9350-25ce6455d311" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedSalesCommissionCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_us-gaap_AccruedSalesCommissionCurrent_e1709e34-1375-4975-9350-25ce6455d311" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_4f0f3492-af3d-4311-aebd-08b6187b9c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_us-gaap_DividendsPayableCurrent_4f0f3492-af3d-4311-aebd-08b6187b9c8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_a41b9d4b-038f-4a28-94f2-6c2d0adf900d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_a41b9d4b-038f-4a28-94f2-6c2d0adf900d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_f6325826-7c94-4cf8-8fa1-00f1df1f7c09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b0dd27cb-a285-4f3d-a6ba-72420198faed" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_f6325826-7c94-4cf8-8fa1-00f1df1f7c09" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="simple" xlink:href="erie-20250630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_24afbcdb-7722-4a9d-a296-86271df703dc" 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_55df36a4-111b-4b3f-892c-5ba9cdb002de" 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_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_55df36a4-111b-4b3f-892c-5ba9cdb002de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_b6e6ad3c-9bc3-4ab3-9fab-e12b8707d08b" 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_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_b6e6ad3c-9bc3-4ab3-9fab-e12b8707d08b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_5a821432-4cd5-4d25-bd64-8d411a234ade" 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_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_5a821432-4cd5-4d25-bd64-8d411a234ade" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_0e50817d-151b-4a16-b5c9-dabc12cf9a68" 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_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_0e50817d-151b-4a16-b5c9-dabc12cf9a68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_883270f5-1cbf-4f2c-961e-d6b0425dd16f" 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_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_883270f5-1cbf-4f2c-961e-d6b0425dd16f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_4c3b3f15-846a-468a-9834-dba893d083de" 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_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_4c3b3f15-846a-468a-9834-dba893d083de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_5311a0b3-81d3-4570-9b36-71ccef91c9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_5311a0b3-81d3-4570-9b36-71ccef91c9dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansReceivable_57af9a92-6fa3-4b3d-830b-04177dcf295f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLoansReceivable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_PaymentsToAcquireLoansReceivable_57af9a92-6fa3-4b3d-830b-04177dcf295f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_16f4a3c7-9e7f-4288-8a36-6ee10180e0a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromCollectionOfLoansReceivable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_24afbcdb-7722-4a9d-a296-86271df703dc" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_16f4a3c7-9e7f-4288-8a36-6ee10180e0a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ad2e4440-83ec-4e31-9ab3-531ee0ca4b11" 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_8e82561c-5474-438e-a704-8a431912b74e" 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_ad2e4440-83ec-4e31-9ab3-531ee0ca4b11" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8e82561c-5474-438e-a704-8a431912b74e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8cb68ee-15e3-47a1-94b0-a3668d5a6ab4" 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_ad2e4440-83ec-4e31-9ab3-531ee0ca4b11" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b8cb68ee-15e3-47a1-94b0-a3668d5a6ab4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e195b40f-c663-4751-b438-c0c26c631fa1" 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_ad2e4440-83ec-4e31-9ab3-531ee0ca4b11" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e195b40f-c663-4751-b438-c0c26c631fa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_59a0a9c9-37dd-485e-a672-9ae648766be3" 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_33147574-d7e8-42df-83f2-017d7edffbac" 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_59a0a9c9-37dd-485e-a672-9ae648766be3" xlink:to="loc_us-gaap_IncreaseDecreaseInSecuritiesLendingPayable_33147574-d7e8-42df-83f2-017d7edffbac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_e2fc60a7-40aa-4b9a-b48c-eec31c677327" 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_59a0a9c9-37dd-485e-a672-9ae648766be3" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_e2fc60a7-40aa-4b9a-b48c-eec31c677327" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" 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_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_da3bfb15-49cd-4c0c-9d29-a5645708167f" xlink:href="erie-20250630.xsd#erie_ProceedsFromInsuranceAgencyManagementFeesReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_da3bfb15-49cd-4c0c-9d29-a5645708167f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AdministrativeServicesReimbursementsReceived_914371aa-1ccc-45e4-8bc0-02b735897442" xlink:href="erie-20250630.xsd#erie_AdministrativeServicesReimbursementsReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_erie_AdministrativeServicesReimbursementsReceived_914371aa-1ccc-45e4-8bc0-02b735897442" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFeesReceived_03083407-79b1-49d3-aa10-c9c76468ba47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromFeesReceived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_us-gaap_ProceedsFromFeesReceived_03083407-79b1-49d3-aa10-c9c76468ba47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions_7ca738b1-6d17-4a21-b6f3-555b9d97f053" xlink:href="erie-20250630.xsd#erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions_7ca738b1-6d17-4a21-b6f3-555b9d97f053" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_49a0c13d-828e-43ff-81f4-2e13af7ddb18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForCommissions"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_us-gaap_PaymentsForCommissions_49a0c13d-828e-43ff-81f4-2e13af7ddb18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PaymentForAgentIncentiveCompensation_0e95c089-e652-42e4-82eb-95c9991bafd3" xlink:href="erie-20250630.xsd#erie_PaymentForAgentIncentiveCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_erie_PaymentForAgentIncentiveCompensation_0e95c089-e652-42e4-82eb-95c9991bafd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToEmployees_5febad68-49f0-4207-aa1a-28ed2c923ef4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToEmployees"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_us-gaap_PaymentsToEmployees_5febad68-49f0-4207-aa1a-28ed2c923ef4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses_84716be0-7470-44e2-af9b-a392131ca306" xlink:href="erie-20250630.xsd#erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses_84716be0-7470-44e2-af9b-a392131ca306" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOtherOperatingActivities_9c856b76-b57b-4b06-9a56-28ea03e2d2da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOtherOperatingActivities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_us-gaap_PaymentsForOtherOperatingActivities_9c856b76-b57b-4b06-9a56-28ea03e2d2da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AdministrativeServicesExpensesPaid_2a23891e-0f69-4d19-8312-8bb05ba26d03" xlink:href="erie-20250630.xsd#erie_AdministrativeServicesExpensesPaid"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_erie_AdministrativeServicesExpensesPaid_2a23891e-0f69-4d19-8312-8bb05ba26d03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_001c3ada-e959-4470-8bd4-4fa1762990e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_865668ee-5b09-450e-9cd1-7367cfaad5ba" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_001c3ada-e959-4470-8bd4-4fa1762990e7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareReconciliationoftheNumeratorsandDenominatorsUsedintheBasicandDilutedPerShareComputationsDetails" xlink:type="simple" xlink:href="erie-20250630.xsd#EarningsPerShareReconciliationoftheNumeratorsandDenominatorsUsedintheBasicandDilutedPerShareComputationsDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/EarningsPerShareReconciliationoftheNumeratorsandDenominatorsUsedintheBasicandDilutedPerShareComputationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_06a97482-37fe-470e-b142-ac36d8e466f5" 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_64128e8d-9529-4233-b507-f6f7d97c2de3" 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_06a97482-37fe-470e-b142-ac36d8e466f5" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_64128e8d-9529-4233-b507-f6f7d97c2de3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_a7bd1f42-c265-43fd-bd82-64c0759a7325" 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_06a97482-37fe-470e-b142-ac36d8e466f5" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_a7bd1f42-c265-43fd-bd82-64c0759a7325" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_7d8af507-a75f-4ce6-b23f-a8cbb323de8f" xlink:href="erie-20250630.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_06a97482-37fe-470e-b142-ac36d8e466f5" xlink:to="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_7d8af507-a75f-4ce6-b23f-a8cbb323de8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_f5759d7e-e2c2-4137-966d-7e703089cf64" 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_33be575b-2148-4dc9-9944-6a1a8427fbce" 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_f5759d7e-e2c2-4137-966d-7e703089cf64" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_33be575b-2148-4dc9-9944-6a1a8427fbce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_a8d95d83-6e2f-4e02-8ddb-e1c8842f130c" 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_f5759d7e-e2c2-4137-966d-7e703089cf64" xlink:to="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_a8d95d83-6e2f-4e02-8ddb-e1c8842f130c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_34dc132f-9842-4b58-98a4-a5b959d77f92" 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_f5759d7e-e2c2-4137-966d-7e703089cf64" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_34dc132f-9842-4b58-98a4-a5b959d77f92" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails" xlink:type="simple" xlink:href="erie-20250630.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_36fa83c5-71a7-4f33-a1f2-07bd1cdd75b6" 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_63a88845-d3ce-4f24-ab9d-080f0f7b9718" 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_36fa83c5-71a7-4f33-a1f2-07bd1cdd75b6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_63a88845-d3ce-4f24-ab9d-080f0f7b9718" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquitySecuritiesFVNITotal_e9dfa159-032b-4b21-979d-c3260ca31953" xlink:href="erie-20250630.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_36fa83c5-71a7-4f33-a1f2-07bd1cdd75b6" xlink:to="loc_erie_EquitySecuritiesFVNITotal_e9dfa159-032b-4b21-979d-c3260ca31953" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails" xlink:type="simple" xlink:href="erie-20250630.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_3a198a39-7af4-402a-8615-4e08b2b1af47" 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_e2518f39-e9db-4677-beb8-6dc347ca3c4c" 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_3a198a39-7af4-402a-8615-4e08b2b1af47" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain_e2518f39-e9db-4677-beb8-6dc347ca3c4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss_d6193830-0c6a-4b30-9b8b-68f1fc669025" 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_3a198a39-7af4-402a-8615-4e08b2b1af47" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss_d6193830-0c6a-4b30-9b8b-68f1fc669025" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_e707ab40-7b87-40b7-a087-6da884adaaba" 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_3a198a39-7af4-402a-8615-4e08b2b1af47" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_e707ab40-7b87-40b7-a087-6da884adaaba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_16663268-c483-4b15-95a2-307a392f33b6" 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_62b397ac-fa6b-4111-bb16-3ecbcd08d3fe" 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_16663268-c483-4b15-95a2-307a392f33b6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_62b397ac-fa6b-4111-bb16-3ecbcd08d3fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_b9286b95-5ff7-4339-ab33-78478850f9f6" 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_16663268-c483-4b15-95a2-307a392f33b6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_b9286b95-5ff7-4339-ab33-78478850f9f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_7cc0ee6f-187c-49df-be79-b08301c68bbc" 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_16663268-c483-4b15-95a2-307a392f33b6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_7cc0ee6f-187c-49df-be79-b08301c68bbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_6ef6c74f-e59f-404a-909d-d555c33200ab" 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_1200f21b-c301-4970-a3d4-78a5d36ef83f" 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_6ef6c74f-e59f-404a-909d-d555c33200ab" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_1200f21b-c301-4970-a3d4-78a5d36ef83f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_a814fd1b-8ad7-4f64-a442-0cc148bce107" 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_6ef6c74f-e59f-404a-909d-d555c33200ab" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_a814fd1b-8ad7-4f64-a442-0cc148bce107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_8aa74974-5a57-431e-8eb9-af32439bc805" 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_6ef6c74f-e59f-404a-909d-d555c33200ab" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_8aa74974-5a57-431e-8eb9-af32439bc805" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyContractualMaturityDetails" xlink:type="simple" xlink:href="erie-20250630.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_AvailableForSaleDebtSecuritiesAmortizedCostBasis_c3390fd1-0788-43cb-bcae-bd49e3138819" 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_7a1250d6-98ff-4cc7-922f-124279d263d7" 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_c3390fd1-0788-43cb-bcae-bd49e3138819" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_7a1250d6-98ff-4cc7-922f-124279d263d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_fdc97b05-0164-4eae-b37d-2753db7e936a" 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_c3390fd1-0788-43cb-bcae-bd49e3138819" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_fdc97b05-0164-4eae-b37d-2753db7e936a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_be34fe87-16e0-4713-b37c-7d93de9aa69b" 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_c3390fd1-0788-43cb-bcae-bd49e3138819" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_be34fe87-16e0-4713-b37c-7d93de9aa69b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_58f1760b-9322-4876-a364-74d37c4e7f64" 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_c3390fd1-0788-43cb-bcae-bd49e3138819" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_58f1760b-9322-4876-a364-74d37c4e7f64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_bb5ece03-88e2-4267-ac37-876ab3925c14" 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_53a2ae33-ffc0-46f7-8386-db99ac2a3e53" 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_bb5ece03-88e2-4267-ac37-876ab3925c14" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_53a2ae33-ffc0-46f7-8386-db99ac2a3e53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_152de47a-f41d-418c-b67c-ac54f7633af6" 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_bb5ece03-88e2-4267-ac37-876ab3925c14" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_152de47a-f41d-418c-b67c-ac54f7633af6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_2ce283d5-23ea-4e1e-95d6-0801d3d52c5a" 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_AvailableForSaleSecuritiesDebtSecurities_e15b2c11-4aa7-400e-8d02-b6ea6b6b6978" 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_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_2ce283d5-23ea-4e1e-95d6-0801d3d52c5a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e15b2c11-4aa7-400e-8d02-b6ea6b6b6978" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_d023e45c-291c-4292-af74-7975d6ed702b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_2ce283d5-23ea-4e1e-95d6-0801d3d52c5a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_d023e45c-291c-4292-af74-7975d6ed702b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_97ee0469-f740-488d-9909-e91191c7a4e7" 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_66ccc365-b03b-4233-abae-81fb530841c9" 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_97ee0469-f740-488d-9909-e91191c7a4e7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_66ccc365-b03b-4233-abae-81fb530841c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_245c365a-84c5-4269-9d5a-a46b92f76100" 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_97ee0469-f740-488d-9909-e91191c7a4e7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_245c365a-84c5-4269-9d5a-a46b92f76100" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_bf0b90f8-dff1-41e7-98e8-95affd1973d6" 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_97ee0469-f740-488d-9909-e91191c7a4e7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_bf0b90f8-dff1-41e7-98e8-95affd1973d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_2fb6e910-580f-42f8-bc4b-9e657c3ed08d" 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_97ee0469-f740-488d-9909-e91191c7a4e7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_2fb6e910-580f-42f8-bc4b-9e657c3ed08d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAvailableForSaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails" xlink:type="simple" xlink:href="erie-20250630.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_5621987e-ba84-4faa-a233-3316f20e8ea3" 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_a25877cd-31e8-47a7-ab3d-3ac84d18f61e" 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_5621987e-ba84-4faa-a233-3316f20e8ea3" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_a25877cd-31e8-47a7-ab3d-3ac84d18f61e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_d0c4039e-9776-4fe6-a5b7-8914010f113e" 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_5621987e-ba84-4faa-a233-3316f20e8ea3" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_d0c4039e-9776-4fe6-a5b7-8914010f113e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_78ee5029-0197-4226-8ffd-471f8b58fe9d" 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_def2fe31-7c29-421c-b796-0fc5a14f21eb" 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_78ee5029-0197-4226-8ffd-471f8b58fe9d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_def2fe31-7c29-421c-b796-0fc5a14f21eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_f06654b4-348e-4df2-8dab-b0cd3d77a4de" 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_78ee5029-0197-4226-8ffd-471f8b58fe9d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_f06654b4-348e-4df2-8dab-b0cd3d77a4de" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:type="simple" xlink:href="erie-20250630.xsd#InvestmentsNetInvestmentIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_832acb6a-a70c-4173-8179-e9b872e120ec" xlink:href="erie-20250630.xsd#erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_fdbcf362-3ec2-487f-b79f-2dd3823b881b" xlink:href="erie-20250630.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_832acb6a-a70c-4173-8179-e9b872e120ec" xlink:to="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_fdbcf362-3ec2-487f-b79f-2dd3823b881b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_e54e0b3c-2d09-47d5-9ea8-dcde71f9017d" 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_832acb6a-a70c-4173-8179-e9b872e120ec" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_e54e0b3c-2d09-47d5-9ea8-dcde71f9017d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_ff143019-5b53-438c-a0f9-685cf67a8ed7" xlink:href="erie-20250630.xsd#erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_7224e7e4-ec23-4ee9-b623-fb9335b1cf36" 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_ff143019-5b53-438c-a0f9-685cf67a8ed7" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_7224e7e4-ec23-4ee9-b623-fb9335b1cf36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_628024b5-413e-4505-b5a9-90037fe005c6" 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_ff143019-5b53-438c-a0f9-685cf67a8ed7" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_628024b5-413e-4505-b5a9-90037fe005c6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsDetails" xlink:type="simple" xlink:href="erie-20250630.xsd#InvestmentsNetRealizedandUnrealizedInvestmentGainsDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_37565ae9-3ca4-48d0-aaeb-dc642f5c7d7f" 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_0307917a-ae2c-4ee4-9213-cf37babeba1a" 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_37565ae9-3ca4-48d0-aaeb-dc642f5c7d7f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_0307917a-ae2c-4ee4-9213-cf37babeba1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_d4cf550c-aac7-4886-93cd-cb899912e24b" 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_37565ae9-3ca4-48d0-aaeb-dc642f5c7d7f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_d4cf550c-aac7-4886-93cd-cb899912e24b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_b1001362-cdc2-471d-9111-30f5d495c9bc" 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_278b1101-0c98-45d5-ac76-318483b5b54d" 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_b1001362-cdc2-471d-9111-30f5d495c9bc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_278b1101-0c98-45d5-ac76-318483b5b54d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherInvestments_9d13212f-0b21-4787-8359-309a81677619" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfOtherInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_b1001362-cdc2-471d-9111-30f5d495c9bc" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherInvestments_9d13212f-0b21-4787-8359-309a81677619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_a35435fd-a727-46d5-9ca0-eb1f8ab1723e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_b1001362-cdc2-471d-9111-30f5d495c9bc" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_a35435fd-a727-46d5-9ca0-eb1f8ab1723e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDuringtheReportingPeriodDetails" xlink:type="simple" xlink:href="erie-20250630.xsd#InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDuringtheReportingPeriodDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDuringtheReportingPeriodDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_47fee6f3-c3f9-4466-a3d7-fb5db18d3ef2" 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_e81d71c8-d2fa-4fad-9fd5-a2c208304627" 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_47fee6f3-c3f9-4466-a3d7-fb5db18d3ef2" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_e81d71c8-d2fa-4fad-9fd5-a2c208304627" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_db49dd84-ab81-4dd3-bdf2-291c0006c79f" 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_47fee6f3-c3f9-4466-a3d7-fb5db18d3ef2" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_db49dd84-ab81-4dd3-bdf2-291c0006c79f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsImpairmentsonInvestmentsDetails" xlink:type="simple" xlink:href="erie-20250630.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_dba98088-7c39-42aa-ab8f-8dbfb4a65baf" xlink:href="erie-20250630.xsd#erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery_c11be9b2-4f54-4486-ab41-cebfdb06135c" xlink:href="erie-20250630.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_dba98088-7c39-42aa-ab8f-8dbfb4a65baf" xlink:to="loc_erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery_c11be9b2-4f54-4486-ab41-cebfdb06135c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment_c05c45fe-1409-44a3-a556-f6d764bd2020" xlink:href="erie-20250630.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_dba98088-7c39-42aa-ab8f-8dbfb4a65baf" xlink:to="loc_erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment_c05c45fe-1409-44a3-a556-f6d764bd2020" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsPensionPlanCostIncomeDetails" xlink:type="simple" xlink:href="erie-20250630.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_e571786b-c49c-40e2-baed-b695261970eb" 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_5c125c3b-80ca-4637-bf1d-cb697f9d1c9f" 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_e571786b-c49c-40e2-baed-b695261970eb" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_5c125c3b-80ca-4637-bf1d-cb697f9d1c9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_e4a3a5a1-e433-409c-aaa2-c3962b4847f1" 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_e571786b-c49c-40e2-baed-b695261970eb" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_e4a3a5a1-e433-409c-aaa2-c3962b4847f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_ca3a75e6-3db8-4e7c-b27b-7de7675a1bb1" 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_e571786b-c49c-40e2-baed-b695261970eb" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_ca3a75e6-3db8-4e7c-b27b-7de7675a1bb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_e3d7d160-3704-478a-b228-40ddea728d0b" 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_e571786b-c49c-40e2-baed-b695261970eb" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_e3d7d160-3704-478a-b228-40ddea728d0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_7c7c7fe5-b902-4963-826d-48ba1fc2cb57" 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_e571786b-c49c-40e2-baed-b695261970eb" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_7c7c7fe5-b902-4963-826d-48ba1fc2cb57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_d0c52d1b-733c-407a-a595-b84545d182d4" 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_e571786b-c49c-40e2-baed-b695261970eb" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_d0c52d1b-733c-407a-a595-b84545d182d4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="erie-20250630.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_StockholdersEquity_ffd4c62b-a439-4135-b50a-9be6d3300955" 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_078e2c17-201b-4f18-8eb5-90df950a9458" xlink:href="erie-20250630.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_ffd4c62b-a439-4135-b50a-9be6d3300955" xlink:to="loc_erie_EquityAttributableToParentTax_078e2c17-201b-4f18-8eb5-90df950a9458" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquityAttributableToParentBeforeTax_e241c6bc-4658-48f0-a8e3-b223137580c5" xlink:href="erie-20250630.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_ffd4c62b-a439-4135-b50a-9be6d3300955" xlink:to="loc_erie_EquityAttributableToParentBeforeTax_e241c6bc-4658-48f0-a8e3-b223137580c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_0f022972-0e8a-4053-9fd0-5806b1abce51" 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_64483a67-07be-4b46-ab45-714189fc15fe" 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_0f022972-0e8a-4053-9fd0-5806b1abce51" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_64483a67-07be-4b46-ab45-714189fc15fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_b9937e48-3842-45c9-84d0-42a0c4ae8c2e" 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_0f022972-0e8a-4053-9fd0-5806b1abce51" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_b9937e48-3842-45c9-84d0-42a0c4ae8c2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_774bece1-fa0d-411f-9399-9f1a081f6d27" 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_23e3785c-8748-4502-8c9d-27d0830a7a2b" 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_774bece1-fa0d-411f-9399-9f1a081f6d27" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansBeforeReclassificationAdjustmentsTax_23e3785c-8748-4502-8c9d-27d0830a7a2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_b04d4568-9cfb-4acf-bf57-a153bfc3ba9c" 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_774bece1-fa0d-411f-9399-9f1a081f6d27" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_b04d4568-9cfb-4acf-bf57-a153bfc3ba9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_81b3b65f-4412-4414-8d22-df3cab85dedd" 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_774bece1-fa0d-411f-9399-9f1a081f6d27" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_81b3b65f-4412-4414-8d22-df3cab85dedd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_975cf242-8988-4dd9-a1fd-783785ae456b" 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_774bece1-fa0d-411f-9399-9f1a081f6d27" xlink:to="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_975cf242-8988-4dd9-a1fd-783785ae456b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_a2cd8854-d1cb-4ecb-8ed6-c4b4a076f04b" 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_28626913-56eb-49f3-8a69-70a974158c89" 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_a2cd8854-d1cb-4ecb-8ed6-c4b4a076f04b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_28626913-56eb-49f3-8a69-70a974158c89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_b5f6511c-ee02-4114-b42c-7dc208677dc2" 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_a2cd8854-d1cb-4ecb-8ed6-c4b4a076f04b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_b5f6511c-ee02-4114-b42c-7dc208677dc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_303dfe22-5285-4f36-ac41-bab0883d39cc" 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_a2cd8854-d1cb-4ecb-8ed6-c4b4a076f04b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_303dfe22-5285-4f36-ac41-bab0883d39cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_c4053a41-6dde-4873-96c9-ce13e5d76dc5" 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_afa8c83f-50e7-44a4-804a-f466410f5c0a" 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_c4053a41-6dde-4873-96c9-ce13e5d76dc5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_afa8c83f-50e7-44a4-804a-f466410f5c0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_0a18399a-71c9-4f47-bdae-6f1120dce112" 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_c4053a41-6dde-4873-96c9-ce13e5d76dc5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_0a18399a-71c9-4f47-bdae-6f1120dce112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_a21e9ae0-395d-418f-90e1-51652f7e5cdc" 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_c4053a41-6dde-4873-96c9-ce13e5d76dc5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_a21e9ae0-395d-418f-90e1-51652f7e5cdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_2c923142-cdfb-4d43-ba30-c6f20aca4095" 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_bc7770ed-5047-49fc-9a39-0fe4972cad68" 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_2c923142-cdfb-4d43-ba30-c6f20aca4095" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_bc7770ed-5047-49fc-9a39-0fe4972cad68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_a52fceaf-8178-4e70-91fd-746d8275500b" 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_2c923142-cdfb-4d43-ba30-c6f20aca4095" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_a52fceaf-8178-4e70-91fd-746d8275500b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_085ab339-45ae-4895-a3e0-3294b9a58fa1" 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_2c923142-cdfb-4d43-ba30-c6f20aca4095" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_085ab339-45ae-4895-a3e0-3294b9a58fa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_5dc0a827-ec8b-4265-ac2c-4f03b2c38298" 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_2c923142-cdfb-4d43-ba30-c6f20aca4095" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_5dc0a827-ec8b-4265-ac2c-4f03b2c38298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_ba49ea2a-08ff-4f2a-b762-c653553008ed" 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_bb4941a1-0e72-4976-b4ce-15de81b85cc4" 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_ba49ea2a-08ff-4f2a-b762-c653553008ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_bb4941a1-0e72-4976-b4ce-15de81b85cc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_63cb1be2-7ff2-461b-b18e-31e27f5ad838" 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_ba49ea2a-08ff-4f2a-b762-c653553008ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_63cb1be2-7ff2-461b-b18e-31e27f5ad838" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_8c1a05a5-5b0a-4397-8233-68a4811ca553" 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_ba49ea2a-08ff-4f2a-b762-c653553008ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_8c1a05a5-5b0a-4397-8233-68a4811ca553" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_4aba9aa4-1831-4e54-823b-f0c413392dcb" 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_ba49ea2a-08ff-4f2a-b762-c653553008ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_4aba9aa4-1831-4e54-823b-f0c413392dcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_8ba88161-fb91-4742-915b-06352dcee940" 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_c2f0c768-0509-409b-ba79-1c022ae824fd" 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_8ba88161-fb91-4742-915b-06352dcee940" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_c2f0c768-0509-409b-ba79-1c022ae824fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_857775be-7b1a-4eb8-b56c-400aea35f6b7" 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_8ba88161-fb91-4742-915b-06352dcee940" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_857775be-7b1a-4eb8-b56c-400aea35f6b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_dbde8098-825a-4299-a5a7-96d891009571" 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_52c3a774-0d13-4975-9769-4d118ab5f023" 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_dbde8098-825a-4299-a5a7-96d891009571" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_52c3a774-0d13-4975-9769-4d118ab5f023" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_3d0a933b-35ff-4e03-a73d-aee1e7a24ec9" 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_dbde8098-825a-4299-a5a7-96d891009571" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_3d0a933b-35ff-4e03-a73d-aee1e7a24ec9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_31caf2bd-4148-4619-b418-853b538e4df7" 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_e718ac15-ec74-4134-99a2-d440959375cc" 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_31caf2bd-4148-4619-b418-853b538e4df7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_e718ac15-ec74-4134-99a2-d440959375cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_582d59e2-c658-4a10-9b5a-d85863d9e49f" 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_31caf2bd-4148-4619-b418-853b538e4df7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_582d59e2-c658-4a10-9b5a-d85863d9e49f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_7085a870-7b57-4cfe-a1f6-e4ba32c9a89d" 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_31caf2bd-4148-4619-b418-853b538e4df7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_7085a870-7b57-4cfe-a1f6-e4ba32c9a89d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
