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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e3b81-d258-743b-b735-e0f1fd9cb48f,g:e34af595-6244-428a-b3fe-416a0f61ecc7-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED" xlink:type="simple" xlink:href="erie-20260630.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_NetIncomeLoss_019e3b81-d562-7583-b615-c06422997298" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e3b81-d562-702a-aede-bdf320a93647" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e3b81-d562-7583-b615-c06422997298" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e3b81-d562-702a-aede-bdf320a93647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e3b81-d562-7381-b52e-356665222fd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e3b81-d562-7583-b615-c06422997298" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e3b81-d562-7381-b52e-356665222fd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e3b81-d562-702e-af85-8c996e065b2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e3b81-d562-704e-9a37-b1f90d2b2d62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e3b81-d562-702e-af85-8c996e065b2d" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e3b81-d562-704e-9a37-b1f90d2b2d62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_019e3b81-d562-7836-a2ca-f5c6b035cb52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeNonoperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e3b81-d562-702e-af85-8c996e065b2d" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_019e3b81-d562-7836-a2ca-f5c6b035cb52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e3b81-d562-7f35-a8d3-f653ae040891" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e3b81-d562-702e-af85-8c996e065b2d" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e3b81-d562-7f35-a8d3-f653ae040891" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e3b81-d562-7463-a239-bfbe564d4ca1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e3b81-d562-7665-80b2-74cc7afffb5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e3b81-d562-7463-a239-bfbe564d4ca1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e3b81-d562-7665-80b2-74cc7afffb5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e3b81-d562-7264-846c-70a134813088" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e3b81-d562-7463-a239-bfbe564d4ca1" xlink:to="loc_us-gaap_OperatingExpenses_019e3b81-d562-7264-846c-70a134813088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_019e3b81-d562-7e1b-a150-b845c7993199" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeNonoperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_019e3b81-d562-738c-85bf-87c37cb549fd" xlink:href="erie-20260630.xsd#erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_019e3b81-d562-7e1b-a150-b845c7993199" xlink:to="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_019e3b81-d562-738c-85bf-87c37cb549fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e3b81-d562-7e15-be92-146b2b56b932" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_019e3b81-d562-7e1b-a150-b845c7993199" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e3b81-d562-7e15-be92-146b2b56b932" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries_019e3b81-d562-76bc-81c9-3ccfb79d8995" xlink:href="erie-20260630.xsd#erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNonoperating_019e3b81-d562-7e1b-a150-b845c7993199" xlink:to="loc_erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries_019e3b81-d562-76bc-81c9-3ccfb79d8995" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="simple" xlink:href="erie-20260630.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_ComprehensiveIncomeNetOfTax_019e3b81-d562-7a8e-85ec-55635e01c69d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e3b81-d562-715c-a486-65974392e3b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e3b81-d562-7a8e-85ec-55635e01c69d" xlink:to="loc_us-gaap_NetIncomeLoss_019e3b81-d562-715c-a486-65974392e3b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e3b81-d562-7756-9688-b164eff65ad6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e3b81-d562-7a8e-85ec-55635e01c69d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e3b81-d562-7756-9688-b164eff65ad6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e3b81-d562-776c-a475-44c0d52874bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d562-7eb8-bc4e-f2588dc736d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e3b81-d562-776c-a475-44c0d52874bc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d562-7eb8-bc4e-f2588dc736d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d562-733b-8da3-d085360f2e2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e3b81-d562-776c-a475-44c0d52874bc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d562-733b-8da3-d085360f2e2b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION" xlink:type="simple" xlink:href="erie-20260630.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_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7952-b10b-4e65efec189c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e3b81-d563-78b0-8482-ba9c27449cdd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7952-b10b-4e65efec189c" xlink:to="loc_us-gaap_CommonStockValue_019e3b81-d563-78b0-8482-ba9c27449cdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e3b81-d563-7636-b93c-1e5d92ee4c88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7952-b10b-4e65efec189c" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e3b81-d563-7636-b93c-1e5d92ee4c88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e3b81-d563-77af-b70d-6aab385308f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7952-b10b-4e65efec189c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e3b81-d563-77af-b70d-6aab385308f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e3b81-d563-75d1-bb51-9e3a89a3e2ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7952-b10b-4e65efec189c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e3b81-d563-75d1-bb51-9e3a89a3e2ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e3b81-d563-791c-bcde-a66df5f710a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e3b81-d563-791c-bcde-a66df5f710a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e3b81-d563-7ce0-90cd-ae334c02af59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e3b81-d563-7ce0-90cd-ae334c02af59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestmentsCurrent_019e3b81-d563-7e54-b2bd-81087feed31b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedInvestmentsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:to="loc_us-gaap_RestrictedInvestmentsCurrent_019e3b81-d563-7e54-b2bd-81087feed31b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e3b81-d563-7319-b81f-21e47b0330a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e3b81-d563-7319-b81f-21e47b0330a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e3b81-d563-7bcf-a81f-dfee10bf9f4c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e3b81-d563-7bcf-a81f-dfee10bf9f4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_019e3b81-d563-781e-852d-0c85653d7da9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e3b81-d563-79c6-abf2-9fbb36a5cdf6" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_019e3b81-d563-781e-852d-0c85653d7da9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e3b81-d563-77d2-ad4d-5e8cf6ac7c7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e3b81-d563-7005-96dd-229b2280248c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e3b81-d563-77d2-ad4d-5e8cf6ac7c7f" xlink:to="loc_us-gaap_Liabilities_019e3b81-d563-7005-96dd-229b2280248c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e3b81-d563-7d1b-ac42-6856797da538" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e3b81-d563-77d2-ad4d-5e8cf6ac7c7f" xlink:to="loc_us-gaap_StockholdersEquity_019e3b81-d563-7d1b-ac42-6856797da538" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e3b81-d563-71f8-a62d-85e89ccd116f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7851-8be4-51248bb90e83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityBeforeTreasuryStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e3b81-d563-71f8-a62d-85e89ccd116f" xlink:to="loc_us-gaap_StockholdersEquityBeforeTreasuryStock_019e3b81-d563-7851-8be4-51248bb90e83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019e3b81-d563-77e6-a2c9-bab424441425" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e3b81-d563-71f8-a62d-85e89ccd116f" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019e3b81-d563-77e6-a2c9-bab424441425" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_CommonStockIssuedStockTrust_019e3b81-d563-7495-a801-862a78ea1043" xlink:href="erie-20260630.xsd#erie_CommonStockIssuedStockTrust"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e3b81-d563-71f8-a62d-85e89ccd116f" xlink:to="loc_erie_CommonStockIssuedStockTrust_019e3b81-d563-7495-a801-862a78ea1043" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrent_019e3b81-d563-7e1e-a955-5090fa55c1c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrent_019e3b81-d563-7e1e-a955-5090fa55c1c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AgentIncentiveCompensationPayableCurrent_019e3b81-d563-7639-a515-5e9d7e84cc6c" xlink:href="erie-20260630.xsd#erie_AgentIncentiveCompensationPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_erie_AgentIncentiveCompensationPayableCurrent_019e3b81-d563-7639-a515-5e9d7e84cc6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue_019e3b81-d563-7453-8b3f-78cf8a896174" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_us-gaap_DepositsReceivedForSecuritiesLoanedAtCarryingValue_019e3b81-d563-7453-8b3f-78cf8a896174" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalesCommissionCurrent_019e3b81-d563-7d1e-ba4d-45045a4d7a13" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedSalesCommissionCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_us-gaap_AccruedSalesCommissionCurrent_019e3b81-d563-7d1e-ba4d-45045a4d7a13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_019e3b81-d563-7894-86c3-2ca8c2f7479d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_us-gaap_DividendsPayableCurrent_019e3b81-d563-7894-86c3-2ca8c2f7479d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e3b81-d563-704a-b93d-9ea2cfc8fd12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e3b81-d563-704a-b93d-9ea2cfc8fd12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e3b81-d563-7aaf-840b-011611ea9d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-7186-b670-da79d1450965" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e3b81-d563-7aaf-840b-011611ea9d3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFVNINoncurrent_019e3b81-d563-7912-ba1f-c7f71d91a553" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFVNINoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_EquitySecuritiesFVNINoncurrent_019e3b81-d563-7912-ba1f-c7f71d91a553" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e3b81-d563-7e41-baae-71c106d81271" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_AssetsCurrent_019e3b81-d563-7e41-baae-71c106d81271" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019e3b81-d563-70d2-8e5b-932711713597" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019e3b81-d563-70d2-8e5b-932711713597" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_019e3b81-d563-7c3f-9f57-69dbad60c39d" xlink:href="erie-20260630.xsd#erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet_019e3b81-d563-7c3f-9f57-69dbad60c39d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestmentsNoncurrent_019e3b81-d563-70a8-821e-d206b36a0789" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedInvestmentsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_RestrictedInvestmentsNoncurrent_019e3b81-d563-70a8-821e-d206b36a0789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_019e3b81-d563-7471-b19f-184ff3d74c51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_019e3b81-d563-7471-b19f-184ff3d74c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019e3b81-d563-7c59-abc3-c165919c11b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019e3b81-d563-7c59-abc3-c165919c11b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e3b81-d563-7b55-8f65-6525f56ff611" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e3b81-d563-769a-b765-042fc332bd2e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e3b81-d563-7b55-8f65-6525f56ff611" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-75dd-8010-f62ad5e1986d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e3b81-d563-75dd-8010-f62ad5e1986d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_019e3b81-d563-7314-b091-70fdd2e6ff57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_019e3b81-d563-7314-b091-70fdd2e6ff57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019e3b81-d563-7d0a-adb3-a3cba1bedd54" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019e3b81-d563-7d0a-adb3-a3cba1bedd54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019e3b81-d563-7468-950a-0a9af84c61b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019e3b81-d563-7468-950a-0a9af84c61b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e3b81-d563-7056-84df-cf9487a5b0a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e3b81-d563-7056-84df-cf9487a5b0a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e3b81-d563-764e-93c7-76a54eeac75a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e3b81-d563-7629-a690-a33fb99ec781" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e3b81-d563-764e-93c7-76a54eeac75a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="simple" xlink:href="erie-20260630.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e3b81-d563-70b7-beb4-cdc87617a3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7b08-ab8e-24af6f992e43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e3b81-d563-70b7-beb4-cdc87617a3b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7b08-ab8e-24af6f992e43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-7903-a8a6-cc92f9755ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e3b81-d563-70b7-beb4-cdc87617a3b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-7903-a8a6-cc92f9755ae0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e3b81-d563-72a4-b491-1806bb207794" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e3b81-d563-70b7-beb4-cdc87617a3b8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e3b81-d563-72a4-b491-1806bb207794" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e3b81-d563-7085-8e3b-b459fe389242" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInSecuritiesLendingPayable_019e3b81-d563-7257-b9f1-a0f623078ea4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInSecuritiesLendingPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e3b81-d563-7085-8e3b-b459fe389242" xlink:to="loc_us-gaap_IncreaseDecreaseInSecuritiesLendingPayable_019e3b81-d563-7257-b9f1-a0f623078ea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019e3b81-d563-7de0-b306-80cf559d40fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e3b81-d563-7085-8e3b-b459fe389242" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e3b81-d563-7de0-b306-80cf559d40fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019e3b81-d563-7a69-9ff4-3b0d1ba892f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019e3b81-d563-7a69-9ff4-3b0d1ba892f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_019e3b81-d563-7c03-bdfb-b60f251d8f64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquitySecuritiesFvNi"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_019e3b81-d563-7c03-bdfb-b60f251d8f64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019e3b81-d563-7a37-969c-66ba9edb623e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019e3b81-d563-7a37-969c-66ba9edb623e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019e3b81-d563-7557-bea5-965995ea18dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019e3b81-d563-7557-bea5-965995ea18dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_019e3b81-d563-79b6-8064-10d94bf4ecb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_019e3b81-d563-79b6-8064-10d94bf4ecb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_019e3b81-d563-71f3-b842-7ab560b3e84e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_019e3b81-d563-71f3-b842-7ab560b3e84e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansReceivable_019e3b81-d563-77a4-a193-44d63ce0e49b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireLoansReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_PaymentsToAcquireLoansReceivable_019e3b81-d563-77a4-a193-44d63ce0e49b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_019f7da8-4270-7205-8f87-7de4e828b361" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_019f7da8-4270-7205-8f87-7de4e828b361" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_019e3b81-d563-7ad4-b8c7-8317915df5c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromCollectionOfLoansReceivable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e3b81-d563-711a-bf01-422eb562a36b" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLoansReceivable_019e3b81-d563-7ad4-b8c7-8317915df5c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_019e3b81-d563-7219-8782-f1caf4d905a2" xlink:href="erie-20260630.xsd#erie_ProceedsFromInsuranceAgencyManagementFeesReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_erie_ProceedsFromInsuranceAgencyManagementFeesReceived_019e3b81-d563-7219-8782-f1caf4d905a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AdministrativeServicesReimbursementsReceived_019e3b81-d563-72de-989e-ac6c8b9e2093" xlink:href="erie-20260630.xsd#erie_AdministrativeServicesReimbursementsReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_erie_AdministrativeServicesReimbursementsReceived_019e3b81-d563-72de-989e-ac6c8b9e2093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFeesReceived_019e3b81-d563-713b-9cf0-06fe8728a818" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromFeesReceived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_us-gaap_ProceedsFromFeesReceived_019e3b81-d563-713b-9cf0-06fe8728a818" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions_019e3b81-d563-758b-b4f7-e8f8ee6456e9" xlink:href="erie-20260630.xsd#erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions_019e3b81-d563-758b-b4f7-e8f8ee6456e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_019e3b81-d563-72d5-a75b-3bcb65c64ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForCommissions"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_us-gaap_PaymentsForCommissions_019e3b81-d563-72d5-a75b-3bcb65c64ea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PaymentForAgentIncentiveCompensation_019e3b81-d563-7f12-a451-af0f92b008d1" xlink:href="erie-20260630.xsd#erie_PaymentForAgentIncentiveCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_erie_PaymentForAgentIncentiveCompensation_019e3b81-d563-7f12-a451-af0f92b008d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToEmployees_019e3b81-d563-7496-a9c7-8b838c8edb14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToEmployees"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_us-gaap_PaymentsToEmployees_019e3b81-d563-7496-a9c7-8b838c8edb14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses_019e3b81-d563-7ba3-86a9-83ee193fcf55" xlink:href="erie-20260630.xsd#erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses_019e3b81-d563-7ba3-86a9-83ee193fcf55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOtherOperatingActivities_019e3b81-d563-7b6a-833f-4bb56f023b43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForOtherOperatingActivities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_us-gaap_PaymentsForOtherOperatingActivities_019e3b81-d563-7b6a-833f-4bb56f023b43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_AdministrativeServicesExpensesPaid_019e3b81-d563-7db8-a03b-b07c052e3801" xlink:href="erie-20260630.xsd#erie_AdministrativeServicesExpensesPaid"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_erie_AdministrativeServicesExpensesPaid_019e3b81-d563-7db8-a03b-b07c052e3801" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019e3b81-d563-711f-975c-4f1bc74ab226" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e3b81-d563-7f70-b181-a006e9601517" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_019e3b81-d563-711f-975c-4f1bc74ab226" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/EarningsPerShareReconciliationoftheNumeratorsandDenominatorsUsedintheBasicandDilutedPerShareComputationsDetails" xlink:type="simple" xlink:href="erie-20260630.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_NetIncomeLossAttributableToParentDiluted_019e3b81-d563-73d7-b1a3-031aeb10db59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e3b81-d563-7377-bc9e-b6b066bbce19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019e3b81-d563-73d7-b1a3-031aeb10db59" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e3b81-d563-7377-bc9e-b6b066bbce19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_019e3b81-d563-770f-a75c-c14e07dbe77e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019e3b81-d563-73d7-b1a3-031aeb10db59" xlink:to="loc_us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits_019e3b81-d563-770f-a75c-c14e07dbe77e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019e3b81-d563-79fa-90be-073270243082" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019e3b81-d563-73d7-b1a3-031aeb10db59" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019e3b81-d563-79fa-90be-073270243082" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e3b81-d563-7604-b9fa-a35784baa971" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e3b81-d563-7ec7-877b-7436b153d6cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e3b81-d563-7604-b9fa-a35784baa971" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e3b81-d563-7ec7-877b-7436b153d6cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e3b81-d563-7889-9a59-9db4c0eccacc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e3b81-d563-7604-b9fa-a35784baa971" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e3b81-d563-7889-9a59-9db4c0eccacc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_019e3b81-d563-7b0e-941e-4821e0ba7ba3" xlink:href="erie-20260630.xsd#erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e3b81-d563-7604-b9fa-a35784baa971" xlink:to="loc_erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock_019e3b81-d563-7b0e-941e-4821e0ba7ba3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails" xlink:type="simple" xlink:href="erie-20260630.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_019e3b81-d563-7c0a-a6f2-be1064adafb8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-72c1-819c-01e5c53e68d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_019e3b81-d563-7c0a-a6f2-be1064adafb8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-72c1-819c-01e5c53e68d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquitySecuritiesFVNITotal_019e3b81-d563-76fd-be12-91cf2c912409" xlink:href="erie-20260630.xsd#erie_EquitySecuritiesFVNITotal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_019e3b81-d563-7c0a-a6f2-be1064adafb8" xlink:to="loc_erie_EquitySecuritiesFVNITotal_019e3b81-d563-76fd-be12-91cf2c912409" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails" xlink:type="simple" xlink:href="erie-20260630.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_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-770f-a8cd-348a35d8b0f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e3b81-d563-79ce-86e5-9c8325b256ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-770f-a8cd-348a35d8b0f8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e3b81-d563-79ce-86e5-9c8325b256ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e3b81-d563-7333-a568-99d667b2e150" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-770f-a8cd-348a35d8b0f8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e3b81-d563-7333-a568-99d667b2e150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-71fd-9271-b06efda1631d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-770f-a8cd-348a35d8b0f8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-71fd-9271-b06efda1631d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7e5e-9576-89e37566bf38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain_019e3b81-d563-7ee2-9f47-af33be5441ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7e5e-9576-89e37566bf38" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain_019e3b81-d563-7ee2-9f47-af33be5441ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss_019e3b81-d563-78d8-aa0e-1df366081a86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7e5e-9576-89e37566bf38" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss_019e3b81-d563-78d8-aa0e-1df366081a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_019e3b81-d563-798f-9adf-b3d5a9297144" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7e5e-9576-89e37566bf38" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_019e3b81-d563-798f-9adf-b3d5a9297144" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7b05-98ad-3ecfb6dab5c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_019e3b81-d563-730d-877d-d65c4d6ed6af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7b05-98ad-3ecfb6dab5c4" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_019e3b81-d563-730d-877d-d65c4d6ed6af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_019e3b81-d563-74fc-82d7-fcb93614cf1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7b05-98ad-3ecfb6dab5c4" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_019e3b81-d563-74fc-82d7-fcb93614cf1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019e3b81-d563-7112-bdd0-8061bb9fda0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7b05-98ad-3ecfb6dab5c4" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019e3b81-d563-7112-bdd0-8061bb9fda0d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyRemainingContractualTermtoMaturityDetails" xlink:type="simple" xlink:href="erie-20260630.xsd#InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyRemainingContractualTermtoMaturityDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyRemainingContractualTermtoMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_019e3b81-d563-7504-8790-5aba4d4e4341" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7d3f-9bfd-29645b0ec185" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_019e3b81-d563-7504-8790-5aba4d4e4341" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7d3f-9bfd-29645b0ec185" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_019e3b81-d563-72e6-b46b-2e62157d5258" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue_019e3b81-d563-7504-8790-5aba4d4e4341" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_019e3b81-d563-72e6-b46b-2e62157d5258" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-7916-926c-414853bd1378" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019e3b81-d563-75ef-bdd4-e0ca8e697d98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-7916-926c-414853bd1378" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019e3b81-d563-75ef-bdd4-e0ca8e697d98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019e3b81-d563-788b-9c6a-c3fed475d620" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-7916-926c-414853bd1378" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019e3b81-d563-788b-9c6a-c3fed475d620" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_019e3b81-d563-7237-929d-eb08d9a66008" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-7916-926c-414853bd1378" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_019e3b81-d563-7237-929d-eb08d9a66008" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_019e3b81-d563-7449-9565-d589d6be2e30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-7916-926c-414853bd1378" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_019e3b81-d563-7449-9565-d589d6be2e30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7a8f-8bd7-f5857027fb71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019e3b81-d563-7d09-a0f0-6ad491f2f815" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7a8f-8bd7-f5857027fb71" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019e3b81-d563-7d09-a0f0-6ad491f2f815" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019e3b81-d563-77aa-a9dc-4f26fe842640" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7a8f-8bd7-f5857027fb71" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019e3b81-d563-77aa-a9dc-4f26fe842640" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019e3b81-d563-718a-9314-0e646ced425e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7a8f-8bd7-f5857027fb71" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019e3b81-d563-718a-9314-0e646ced425e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019e3b81-d563-7fdf-9e78-d1135b78db8d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e3b81-d563-7a8f-8bd7-f5857027fb71" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019e3b81-d563-7fdf-9e78-d1135b78db8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7af9-99f5-d642d4b3fa77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-72a1-99b8-78f8cb8a9ab0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7af9-99f5-d642d4b3fa77" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e3b81-d563-72a1-99b8-78f8cb8a9ab0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_019e3b81-d563-78b4-891c-deb820b8d429" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_019e3b81-d563-7af9-99f5-d642d4b3fa77" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_019e3b81-d563-78b4-891c-deb820b8d429" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsAvailableForSaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails" xlink:type="simple" xlink:href="erie-20260630.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_019e3b81-d563-75d8-ae6d-b6147c098e6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019e3b81-d563-77df-acba-4ea684207236" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e3b81-d563-75d8-ae6d-b6147c098e6d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019e3b81-d563-77df-acba-4ea684207236" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019e3b81-d563-7228-939c-2f726ab1bd01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e3b81-d563-75d8-ae6d-b6147c098e6d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019e3b81-d563-7228-939c-2f726ab1bd01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e3b81-d563-74c6-aa88-a242b8bb114e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e3b81-d563-7bab-80d9-6d1a09b44887" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e3b81-d563-74c6-aa88-a242b8bb114e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e3b81-d563-7bab-80d9-6d1a09b44887" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e3b81-d563-7213-a4bb-678b53049f8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e3b81-d563-74c6-aa88-a242b8bb114e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e3b81-d563-7213-a4bb-678b53049f8e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomelossDetails" xlink:type="simple" xlink:href="erie-20260630.xsd#InvestmentsNetInvestmentIncomelossDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomelossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-72b9-b790-eea1b867ef6f" xlink:href="erie-20260630.xsd#erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019e3b81-d563-7811-844b-b04f5ca2bb35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-72b9-b790-eea1b867ef6f" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_019e3b81-d563-7811-844b-b04f5ca2bb35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e3b81-d563-72e7-af02-85694c83067e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-72b9-b790-eea1b867ef6f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e3b81-d563-72e7-af02-85694c83067e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-76b0-908a-da3f31ec44be" xlink:href="erie-20260630.xsd#erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-7f7d-bc88-733686892820" xlink:href="erie-20260630.xsd#erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-76b0-908a-da3f31ec44be" xlink:to="loc_erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-7f7d-bc88-733686892820" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e3b81-d563-77fb-800b-2006eed02ebe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments_019e3b81-d563-76b0-908a-da3f31ec44be" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e3b81-d563-77fb-800b-2006eed02ebe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsLossesDetails" xlink:type="simple" xlink:href="erie-20260630.xsd#InvestmentsNetRealizedandUnrealizedInvestmentGainsLossesDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e3b81-d563-7f7c-964f-ab7db7a3aa8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_019e3b81-d563-7214-bc40-5ff372593a70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e3b81-d563-7f7c-964f-ab7db7a3aa8f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_019e3b81-d563-7214-bc40-5ff372593a70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_019e3b81-d563-79b9-8a2f-88a881526a86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e3b81-d563-7f7c-964f-ab7db7a3aa8f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_019e3b81-d563-79b9-8a2f-88a881526a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e3b81-d563-731e-8af5-a4dc68553494" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e3b81-d563-76d7-aa54-60df2f93ed55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e3b81-d563-731e-8af5-a4dc68553494" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e3b81-d563-76d7-aa54-60df2f93ed55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherInvestments_019e3b81-d563-7dc9-a6cf-12c568843374" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfOtherInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e3b81-d563-731e-8af5-a4dc68553494" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherInvestments_019e3b81-d563-7dc9-a6cf-12c568843374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiGainLoss_019e3b81-d563-7c86-8ae1-c188e09f53c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019e3b81-d563-731e-8af5-a4dc68553494" xlink:to="loc_us-gaap_EquitySecuritiesFvNiGainLoss_019e3b81-d563-7c86-8ae1-c188e09f53c4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDuringtheReportingPeriodDetails" xlink:type="simple" xlink:href="erie-20260630.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_019e3b81-d563-747f-9665-4258caaccef8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_019e3b81-d563-7030-b993-d5defee2f0c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_019e3b81-d563-747f-9665-4258caaccef8" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_019e3b81-d563-7030-b993-d5defee2f0c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_019e3b81-d563-7da9-9163-0e7aeb435b66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiGainLoss_019e3b81-d563-747f-9665-4258caaccef8" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_019e3b81-d563-7da9-9163-0e7aeb435b66" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/InvestmentsImpairmentsonInvestmentsDetails" xlink:type="simple" xlink:href="erie-20260630.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_019e3b81-d563-74c1-99d6-6d031fa25f6a" xlink:href="erie-20260630.xsd#erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery_019e3b81-d563-7b9e-bc6d-b36960bf9908" xlink:href="erie-20260630.xsd#erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery_019e3b81-d563-74c1-99d6-6d031fa25f6a" xlink:to="loc_erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery_019e3b81-d563-7b9e-bc6d-b36960bf9908" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment_019e3b81-d563-755c-a5dd-4f5f5b014ca8" xlink:href="erie-20260630.xsd#erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery_019e3b81-d563-74c1-99d6-6d031fa25f6a" xlink:to="loc_erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment_019e3b81-d563-755c-a5dd-4f5f5b014ca8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsPensionPlanCostDetails" xlink:type="simple" xlink:href="erie-20260630.xsd#PostretirementBenefitsPensionPlanCostDetails"/>
  <link:calculationLink xlink:role="http://www.erieinsurance.com/role/PostretirementBenefitsPensionPlanCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019e3b81-d563-72d6-93f1-41074c602b18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019e3b81-d563-72d6-93f1-41074c602b18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019e3b81-d563-79e3-aa04-21edadccb9c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019e3b81-d563-79e3-aa04-21edadccb9c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019e3b81-d563-7796-b6e2-4f771cfcb9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019e3b81-d563-7796-b6e2-4f771cfcb9dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019e3b81-d563-7ea7-b58c-63d4fa6c0258" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019e3b81-d563-7ea7-b58c-63d4fa6c0258" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019e3b81-d563-7e50-a94e-c859c5cadcd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019e3b81-d563-7e50-a94e-c859c5cadcd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_019e3b81-d563-7992-a1b5-57a13b44b3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e3b81-d563-7210-9fac-752f86d4dca4" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_019e3b81-d563-7992-a1b5-57a13b44b3a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="erie-20260630.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_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7d51-94ea-0a90d54891f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e3b81-d63a-7fd4-ae19-31dd9d68f89c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7d51-94ea-0a90d54891f5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e3b81-d63a-7fd4-ae19-31dd9d68f89c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_019e3b81-d63a-7c78-84c8-80c7d8ebbeaf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7d51-94ea-0a90d54891f5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_019e3b81-d63a-7c78-84c8-80c7d8ebbeaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_019e3b81-d63a-7b43-80ee-a65d41732b01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7d51-94ea-0a90d54891f5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_019e3b81-d63a-7b43-80ee-a65d41732b01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7c45-b376-d5e3dc8ef6ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019e3b81-d63a-79d4-96f6-a73f41570a15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7c45-b376-d5e3dc8ef6ae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019e3b81-d63a-79d4-96f6-a73f41570a15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019e3b81-d63a-7f27-8805-fae23e20c4fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7c45-b376-d5e3dc8ef6ae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019e3b81-d63a-7f27-8805-fae23e20c4fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_019e3b81-d63a-78c4-8f25-a8d49699c959" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_019e3b81-d63a-7c45-b376-d5e3dc8ef6ae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_019e3b81-d63a-78c4-8f25-a8d49699c959" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019e3b81-d63a-7cf9-9cd0-c9539cb615a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_019e3b81-d63a-7f56-ab1f-d563ff701cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019e3b81-d63a-7cf9-9cd0-c9539cb615a3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_019e3b81-d63a-7f56-ab1f-d563ff701cbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_019e3b81-d63a-7c2a-b42f-3d3e818ab5cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019e3b81-d63a-7cf9-9cd0-c9539cb615a3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_019e3b81-d63a-7c2a-b42f-3d3e818ab5cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_019e3b81-d63a-703f-bc4c-cee104eeb270" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_019e3b81-d63a-748d-973d-82fbcea3bcab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_019e3b81-d63a-703f-bc4c-cee104eeb270" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditTax_019e3b81-d63a-748d-973d-82fbcea3bcab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_019e3b81-d63a-7f4f-8129-ef82b44893fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_019e3b81-d63a-703f-bc4c-cee104eeb270" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_019e3b81-d63a-7f4f-8129-ef82b44893fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_019e3b81-d63a-7c8b-a4bc-d81228d64765" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_019e3b81-d63a-703f-bc4c-cee104eeb270" xlink:to="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_019e3b81-d63a-7c8b-a4bc-d81228d64765" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_019e3b81-d63a-72ff-9bbe-c1f82e1900ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_019e3b81-d63a-77a9-8419-d5d52b8185e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_019e3b81-d63a-72ff-9bbe-c1f82e1900ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesBeforeTax_019e3b81-d63a-77a9-8419-d5d52b8185e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_019e3b81-d63a-7672-a7bc-f21d3e556704" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_019e3b81-d63a-72ff-9bbe-c1f82e1900ed" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_019e3b81-d63a-7672-a7bc-f21d3e556704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e3b81-d63a-7db4-8029-8ff2b0119227" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquityAttributableToParentTax_019e3b81-d63a-7052-a5a6-bcbc3d473cf1" xlink:href="erie-20260630.xsd#erie_EquityAttributableToParentTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e3b81-d63a-7db4-8029-8ff2b0119227" xlink:to="loc_erie_EquityAttributableToParentTax_019e3b81-d63a-7052-a5a6-bcbc3d473cf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erie_EquityAttributableToParentBeforeTax_019e3b81-d63a-740f-84e0-388f2f2a1157" xlink:href="erie-20260630.xsd#erie_EquityAttributableToParentBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e3b81-d63a-7db4-8029-8ff2b0119227" xlink:to="loc_erie_EquityAttributableToParentBeforeTax_019e3b81-d63a-740f-84e0-388f2f2a1157" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e3b81-d63a-763d-ab72-581dbb8788fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e3b81-d63a-7b24-bf98-3c2535c04ddd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e3b81-d63a-763d-ab72-581dbb8788fa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_019e3b81-d63a-7b24-bf98-3c2535c04ddd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019e3b81-d63a-7578-8fa8-03ca7e9b5733" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e3b81-d63a-763d-ab72-581dbb8788fa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019e3b81-d63a-7578-8fa8-03ca7e9b5733" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-7363-9630-114675742434" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_019e3b81-d63a-746d-8479-aa02ed6e967e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-7363-9630-114675742434" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_019e3b81-d63a-746d-8479-aa02ed6e967e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_019e3b81-d63a-7169-aeab-f2d319ad192f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-7363-9630-114675742434" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_019e3b81-d63a-7169-aeab-f2d319ad192f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_019e3b81-d63a-7f44-8e8a-5b1762183ca2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-7363-9630-114675742434" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_019e3b81-d63a-7f44-8e8a-5b1762183ca2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-78f4-8815-460836b4edd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e3b81-d63a-749d-ab0a-4b60f68cdc29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-78f4-8815-460836b4edd6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e3b81-d63a-749d-ab0a-4b60f68cdc29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019e3b81-d63a-7ae9-8e1f-d8c90a5fefcc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-78f4-8815-460836b4edd6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_019e3b81-d63a-7ae9-8e1f-d8c90a5fefcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_019e3b81-d63a-701d-aef1-3a891ce5bf9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019e3b81-d63a-78f4-8815-460836b4edd6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesNetOfTax_019e3b81-d63a-701d-aef1-3a891ce5bf9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_019e3b81-d63a-752d-ae7b-45fd8fb8e750" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019e3b81-d63a-74cd-9f47-9cf4d0219503" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_019e3b81-d63a-752d-ae7b-45fd8fb8e750" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019e3b81-d63a-74cd-9f47-9cf4d0219503" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_019e3b81-d63a-7e8e-a705-5b8dd8f3549b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_019e3b81-d63a-752d-ae7b-45fd8fb8e750" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_019e3b81-d63a-7e8e-a705-5b8dd8f3549b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_019e3b81-d63a-7481-b9dc-eedb3cfe5c5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_019e3b81-d63a-752d-ae7b-45fd8fb8e750" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForWritedownOfSecuritiesTax_019e3b81-d63a-7481-b9dc-eedb3cfe5c5f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
