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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e2734-8dd3-7c2b-b0c4-c1802d21cf3a,g:e45373d8-9d55-48c0-92b7-384af2e89a4e-->
<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.americanpubliceducation.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="apei-20260630.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" 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_AccountsPayableCurrent_019e2734-8eb1-78b6-9013-6d5c630b7983" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e2734-8eb1-78b6-9013-6d5c630b7983" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e2734-8eb1-70b9-9e4c-3d0ed126aacb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e2734-8eb1-70b9-9e4c-3d0ed126aacb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019e2734-8eb1-71db-b7d2-5ee936930a60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019e2734-8eb1-71db-b7d2-5ee936930a60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e2734-8eb1-78d8-9b47-d3ca76e8d15f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e2734-8eb1-78d8-9b47-d3ca76e8d15f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apei_LeaseLiabilityCurrent_019e2734-8eb1-722b-b1dd-75c4cf070d1d" xlink:href="apei-20260630.xsd#apei_LeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" xlink:to="loc_apei_LeaseLiabilityCurrent_019e2734-8eb1-722b-b1dd-75c4cf070d1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019e2734-8eb1-70bb-9f0f-bdb10955ead6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7b3f-96b6-be9b4ac25354" xlink:to="loc_us-gaap_LongTermDebtCurrent_019e2734-8eb1-70bb-9f0f-bdb10955ead6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e2734-8eb1-786e-b4a6-4329db7986db" 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_019e2734-8eb1-73d3-91f5-8674c62ea8dc" 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_019e2734-8eb1-786e-b4a6-4329db7986db" xlink:to="loc_us-gaap_Liabilities_019e2734-8eb1-73d3-91f5-8674c62ea8dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2734-8eb1-7f11-be57-a8d1beeeefe6" 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_019e2734-8eb1-786e-b4a6-4329db7986db" xlink:to="loc_us-gaap_StockholdersEquity_019e2734-8eb1-7f11-be57-a8d1beeeefe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e2734-8eb1-7f9e-99cd-c22892ba3c73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e2734-8eb1-786e-b4a6-4329db7986db" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e2734-8eb1-7f9e-99cd-c22892ba3c73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e2734-8eb1-7a6f-86d4-9fa57c9c9ae3" 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_019e2734-8eb1-7df5-8cc7-9a165f68e3e8" 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_019e2734-8eb1-7a6f-86d4-9fa57c9c9ae3" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e2734-8eb1-7df5-8cc7-9a165f68e3e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apei_LeaseLiabilityNoncurrent_019e2734-8eb1-794d-bd31-3640e1248363" xlink:href="apei-20260630.xsd#apei_LeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e2734-8eb1-7a6f-86d4-9fa57c9c9ae3" xlink:to="loc_apei_LeaseLiabilityNoncurrent_019e2734-8eb1-794d-bd31-3640e1248363" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019e2734-8eb1-70e8-85a1-0eeb4f898744" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e2734-8eb1-7a6f-86d4-9fa57c9c9ae3" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019e2734-8eb1-70e8-85a1-0eeb4f898744" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e2734-8eb1-7312-b3e1-7bd636aa4122" 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_019e2734-8eb1-7355-92a6-24d8dfd90ea4" 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_019e2734-8eb1-7312-b3e1-7bd636aa4122" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e2734-8eb1-7355-92a6-24d8dfd90ea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e2734-8eb1-77c0-a55a-056bc8e8aabf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e2734-8eb1-7312-b3e1-7bd636aa4122" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e2734-8eb1-77c0-a55a-056bc8e8aabf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_019e2734-8eb1-74f7-8cef-e22a79cb157b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e2734-8eb1-7312-b3e1-7bd636aa4122" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_019e2734-8eb1-74f7-8cef-e22a79cb157b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_019e2734-8eb1-7612-95c1-a4fb07b8505b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxesReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e2734-8eb1-7312-b3e1-7bd636aa4122" xlink:to="loc_us-gaap_IncomeTaxesReceivable_019e2734-8eb1-7612-95c1-a4fb07b8505b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019ec917-8883-755a-b910-48246be6a0b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e2734-8eb1-7312-b3e1-7bd636aa4122" xlink:to="loc_us-gaap_ShortTermInvestments_019ec917-8883-755a-b910-48246be6a0b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2734-8eb1-7719-9936-0305500e267d" 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_CommonStockValue_019e2734-8eb1-703f-b325-c0c9f0e83cc2" 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_StockholdersEquity_019e2734-8eb1-7719-9936-0305500e267d" xlink:to="loc_us-gaap_CommonStockValue_019e2734-8eb1-703f-b325-c0c9f0e83cc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e2734-8eb1-7669-b8c6-aab1ff96103b" 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_StockholdersEquity_019e2734-8eb1-7719-9936-0305500e267d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e2734-8eb1-7669-b8c6-aab1ff96103b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e2734-8eb1-7972-9d87-746e31109148" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e2734-8eb1-7719-9936-0305500e267d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e2734-8eb1-7972-9d87-746e31109148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e2734-8eb1-7f85-ab1a-af2e1f15d6d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e2734-8eb1-7719-9936-0305500e267d" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e2734-8eb1-7f85-ab1a-af2e1f15d6d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" 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_AssetsCurrent_019e2734-8eb1-7f61-af75-7a51e74fba04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_AssetsCurrent_019e2734-8eb1-7f61-af75-7a51e74fba04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e2734-8eb1-7c89-8f3e-2d437d1ab6d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e2734-8eb1-7c89-8f3e-2d437d1ab6d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e2734-8eb1-7410-ba2a-d9e8d1bdeed8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e2734-8eb1-7410-ba2a-d9e8d1bdeed8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e2734-8eb1-7880-af6c-8b2519161ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e2734-8eb1-7880-af6c-8b2519161ea7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e2734-8eb1-7ee3-b022-132103f53e84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_Goodwill_019e2734-8eb1-7ee3-b022-132103f53e84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e2734-8eb1-7569-b765-10cbbfffadf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e2734-8eb1-7569-b765-10cbbfffadf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e2734-8eb1-7c61-b60e-5ac61b9da741" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e2734-8eb1-73d1-bc12-b1153cb69843" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e2734-8eb1-7c61-b60e-5ac61b9da741" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="apei-20260630.xsd#ConsolidatedStatementsofIncome"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/ConsolidatedStatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2734-8eb1-7dba-bdf9-035c1339b367" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_019e2734-8eb1-78c3-a7b5-846d790c8a81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemablePreferredStockDividends"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2734-8eb1-7dba-bdf9-035c1339b367" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_019e2734-8eb1-78c3-a7b5-846d790c8a81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-764e-809b-6a047cf8b891" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2734-8eb1-7dba-bdf9-035c1339b367" xlink:to="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-764e-809b-6a047cf8b891" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apei_LossOnRedemptionOfPreferredStock_019e72b6-108a-7ccd-adac-97cf107b782e" xlink:href="apei-20260630.xsd#apei_LossOnRedemptionOfPreferredStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2734-8eb1-7dba-bdf9-035c1339b367" xlink:to="loc_apei_LossOnRedemptionOfPreferredStock_019e72b6-108a-7ccd-adac-97cf107b782e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e2734-8eb1-7bb2-9349-83c1ff43c203" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e2734-8eb1-7bb2-9349-83c1ff43c203" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019e2734-8eb1-7203-b2e2-19f544ca03c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019e2734-8eb1-7203-b2e2-19f544ca03c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e2734-8eb1-7d40-a298-43f97fcca990" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e2734-8eb1-7d40-a298-43f97fcca990" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e2734-8eb1-73f0-bdfd-2d2dc8d93de5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e2734-8eb1-73f0-bdfd-2d2dc8d93de5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_019e2734-8eb1-76d4-962f-639f2696fe3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_019e2734-8eb1-76d4-962f-639f2696fe3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_019e2734-8eb1-7093-8ea1-f1e9b6c106a7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7613-859f-efbb0e8f1f10" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_019e2734-8eb1-7093-8ea1-f1e9b6c106a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e2734-8eb1-7007-ad63-09ff2b5a27b0" 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_019e2734-8eb1-7b9a-bcca-f386fbb10d0e" 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_019e2734-8eb1-7007-ad63-09ff2b5a27b0" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e2734-8eb1-7b9a-bcca-f386fbb10d0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2734-8eb1-7291-a7a8-c14afdcbab02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e2734-8eb1-7007-ad63-09ff2b5a27b0" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2734-8eb1-7291-a7a8-c14afdcbab02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019e2734-8eb1-7051-9532-7f618babc1b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e2734-8eb1-7007-ad63-09ff2b5a27b0" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019e2734-8eb1-7051-9532-7f618babc1b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2734-8eb1-7726-9e4f-2f4211effe47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-7a3e-9ff6-3487d53a44d5" 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_NetIncomeLossAvailableToCommonStockholdersBasic_019e2734-8eb1-7726-9e4f-2f4211effe47" xlink:to="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-7a3e-9ff6-3487d53a44d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_019e2734-8eb1-70e3-ae05-fcaf397c6b39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemablePreferredStockDividends"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2734-8eb1-7726-9e4f-2f4211effe47" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_019e2734-8eb1-70e3-ae05-fcaf397c6b39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apei_LossOnRedemptionOfPreferredStock_019e72b6-3867-7feb-8e54-e5cc4e3f5dc0" xlink:href="apei-20260630.xsd#apei_LossOnRedemptionOfPreferredStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2734-8eb1-7726-9e4f-2f4211effe47" xlink:to="loc_apei_LossOnRedemptionOfPreferredStock_019e72b6-3867-7feb-8e54-e5cc4e3f5dc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e2734-8eb1-78a5-93b9-faa920ae7926" 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_019e2734-8eb1-70f7-bd3e-3845ed6c05ee" 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_019e2734-8eb1-78a5-93b9-faa920ae7926" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2734-8eb1-70f7-bd3e-3845ed6c05ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7de8-978d-cb32928ec656" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e2734-8eb1-78a5-93b9-faa920ae7926" xlink:to="loc_us-gaap_CostsAndExpenses_019e2734-8eb1-7de8-978d-cb32928ec656" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-7e13-947c-ddd626ea1039" 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_019e2734-8eb1-7643-956f-1c3de80b15f8" 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_019e2734-8eb1-7e13-947c-ddd626ea1039" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e2734-8eb1-7643-956f-1c3de80b15f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e2734-8eb1-77fb-be0b-a095849f3358" 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_019e2734-8eb1-7e13-947c-ddd626ea1039" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e2734-8eb1-77fb-be0b-a095849f3358" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="apei-20260630.xsd#ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e2734-8eb1-7282-a0ac-fd5f45adecdc" 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_019e2734-8eb1-76e1-ba60-09e2f4215dde" 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_019e2734-8eb1-7282-a0ac-fd5f45adecdc" xlink:to="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-76e1-ba60-09e2f4215dde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2734-8eb1-78d1-906e-d8094f14fd6a" 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_019e2734-8eb1-7282-a0ac-fd5f45adecdc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2734-8eb1-78d1-906e-d8094f14fd6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2734-8eb1-765e-828b-bf5da64ac002" 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_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019e2734-8eb1-7132-bb52-702d38d61da5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2734-8eb1-765e-828b-bf5da64ac002" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019e2734-8eb1-7132-bb52-702d38d61da5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019e2734-8eb1-7f66-a285-7412ca289687" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2734-8eb1-765e-828b-bf5da64ac002" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019e2734-8eb1-7f66-a285-7412ca289687" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019e2734-8eb1-7656-b7bc-ddfec3655a8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019fdd74-a11e-7360-b6be-65ffc742638a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019e2734-8eb1-7656-b7bc-ddfec3655a8a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019fdd74-a11e-7360-b6be-65ffc742638a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019fdd75-54fe-72d3-9c08-3ba2f7ebe8e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019fdd75-54fe-78a6-ac94-03dd9db67a06" 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_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019fdd75-54fe-72d3-9c08-3ba2f7ebe8e8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019fdd75-54fe-78a6-ac94-03dd9db67a06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019fdd75-54fe-7142-a40f-442fc03b63c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019fdd75-54fe-72d3-9c08-3ba2f7ebe8e8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019fdd75-54fe-7142-a40f-442fc03b63c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="apei-20260630.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2734-8eb1-7015-ab27-632cdddfbf2e" 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_ProceedsFromSaleOfBuildings_019e2734-8eb1-7920-870c-182fcf10f6c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfBuildings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2734-8eb1-7015-ab27-632cdddfbf2e" xlink:to="loc_us-gaap_ProceedsFromSaleOfBuildings_019e2734-8eb1-7920-870c-182fcf10f6c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e2734-8eb1-7b73-8054-31503c8cefed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2734-8eb1-7015-ab27-632cdddfbf2e" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e2734-8eb1-7b73-8054-31503c8cefed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019ec95a-67bd-76a2-ab2a-e8b2a640cb00" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2734-8eb1-7015-ab27-632cdddfbf2e" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019ec95a-67bd-76a2-ab2a-e8b2a640cb00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" 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_us-gaap_NetIncomeLoss_019e2734-8eb1-720a-8b6c-c66f884588e7" 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_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_NetIncomeLoss_019e2734-8eb1-720a-8b6c-c66f884588e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e2734-8eb1-74af-b068-ca2bceda0283" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e2734-8eb1-74af-b068-ca2bceda0283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e2734-8eb1-7d64-a178-000ca8e3a9a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e2734-8eb1-7d64-a178-000ca8e3a9a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e2734-8eb1-7c59-94ff-a60c0505a60e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_ShareBasedCompensation_019e2734-8eb1-7c59-94ff-a60c0505a60e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_019e2734-8eb1-77a1-aa7a-3b99ea4c11c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_019e2734-8eb1-77a1-aa7a-3b99ea4c11c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_019e2734-8eb1-795a-924a-3d7c03a00f70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_019e2734-8eb1-795a-924a-3d7c03a00f70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_019e2734-8eb1-7923-8b8a-fd49dd2217c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_019e2734-8eb1-7923-8b8a-fd49dd2217c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apei_GainLossOnExtinguishmentOfDebtCashImpact_019e2734-8eb1-7067-b0c6-01f8c0f3a15b" xlink:href="apei-20260630.xsd#apei_GainLossOnExtinguishmentOfDebtCashImpact"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_apei_GainLossOnExtinguishmentOfDebtCashImpact_019e2734-8eb1-7067-b0c6-01f8c0f3a15b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e2734-8eb1-73e0-8701-bd8490a54c51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e2734-8eb1-73e0-8701-bd8490a54c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e2734-8eb1-7b79-b1c6-86a7d2a83fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e2734-8eb1-7b79-b1c6-86a7d2a83fe9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_019e2734-8eb1-78de-8de1-aa0c51402688" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_019e2734-8eb1-78de-8de1-aa0c51402688" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apei_IncreaseDecreaseInOperatingLeasesNet_019e2734-8eb1-7d05-983a-ab698af8b0dd" xlink:href="apei-20260630.xsd#apei_IncreaseDecreaseInOperatingLeasesNet"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_apei_IncreaseDecreaseInOperatingLeasesNet_019e2734-8eb1-7d05-983a-ab698af8b0dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e2734-8eb1-7cf2-8933-a40dc3ff790d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e2734-8eb1-7cf2-8933-a40dc3ff790d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e2734-8eb1-7fec-8850-2cacf22fe1de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e2734-8eb1-7fec-8850-2cacf22fe1de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_019e2734-8eb1-7fe1-b9d0-84ff6ce69783" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_019e2734-8eb1-7fe1-b9d0-84ff6ce69783" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e2734-8eb1-71c7-8d8d-1d35f8a09051" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e2734-8eb1-71c7-8d8d-1d35f8a09051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019e2734-8eb1-7ac6-a47b-abed90a9b6b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019e2734-8eb1-7ac6-a47b-abed90a9b6b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019f6055-d8a5-7bd0-8932-85b6c6ede755" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7581-930a-885d7a35e42f" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019f6055-d8a5-7bd0-8932-85b6c6ede755" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" 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_PaymentsForRepurchaseOfCommonStock_019e2734-8eb1-73e5-8324-4a3c7f9c6813" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e2734-8eb1-73e5-8324-4a3c7f9c6813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_019e2734-8eb1-7d83-a899-9b256650c263" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_019e2734-8eb1-7d83-a899-9b256650c263" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_019e2734-8eb1-7566-8c85-f5b47335ccf7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_019e2734-8eb1-7566-8c85-f5b47335ccf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019e2734-8eb1-782c-8c01-7c892ce2b9a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019e2734-8eb1-782c-8c01-7c892ce2b9a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019e2734-8eb1-7e71-98c9-bd5949044b20" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019e2734-8eb1-7e71-98c9-bd5949044b20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e2734-8eb1-7cb5-b16e-5dbfba61b6b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e2734-8eb1-7cb5-b16e-5dbfba61b6b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_019e815c-ec9d-7957-aea0-2aba14289db8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7760-9350-dc5c01147064" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_019e815c-ec9d-7957-aea0-2aba14289db8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e2734-8eb1-7be5-a832-d5ad0f1a1262" 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_019e2734-8eb1-7b27-9788-df43ea573e65" 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_019e2734-8eb1-7be5-a832-d5ad0f1a1262" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2734-8eb1-7b27-9788-df43ea573e65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2734-8eb1-7ac5-8131-a17163c9a977" 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_019e2734-8eb1-7be5-a832-d5ad0f1a1262" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2734-8eb1-7ac5-8131-a17163c9a977" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7300-ae30-d7cf6ed58cfd" 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_019e2734-8eb1-7be5-a832-d5ad0f1a1262" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2734-8eb1-7300-ae30-d7cf6ed58cfd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/ShortTermInvestmentsScheduleOfShortTermInvestmentsDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#ShortTermInvestmentsScheduleOfShortTermInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/ShortTermInvestmentsScheduleOfShortTermInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_019f610c-efc8-7aa1-a709-488250408ce1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019f610c-efc8-7032-9883-80e44670ebea" 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_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_019f610c-efc8-7aa1-a709-488250408ce1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019f610c-efc8-7032-9883-80e44670ebea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019f610c-efc8-7088-8d76-77be8e9152a7" 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_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_019f610c-efc8-7aa1-a709-488250408ce1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019f610c-efc8-7088-8d76-77be8e9152a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019f610c-efc8-770b-a281-61c104f53d11" 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_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_019f610c-efc8-7aa1-a709-488250408ce1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019f610c-efc8-770b-a281-61c104f53d11" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/LeasesScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#LeasesScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/LeasesScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7e71-a774-29c2154bd629" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019e2734-8eb2-75fe-bc0e-1656e048bec0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7e71-a774-29c2154bd629" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019e2734-8eb2-75fe-bc0e-1656e048bec0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019e2734-8eb2-7289-b3f1-3cd74299e5ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7e71-a774-29c2154bd629" xlink:to="loc_us-gaap_FinanceLeaseLiability_019e2734-8eb2-7289-b3f1-3cd74299e5ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e2734-8eb2-7d72-ad5e-3e1a9d980878" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e2734-8eb2-715f-81ae-931ebd975ee4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_019e2734-8eb2-7d72-ad5e-3e1a9d980878" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e2734-8eb2-715f-81ae-931ebd975ee4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e2734-8eb2-7a19-af4d-8313ba38c2c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_019e2734-8eb2-7d72-ad5e-3e1a9d980878" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e2734-8eb2-7a19-af4d-8313ba38c2c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019e2734-8eb2-712d-9a17-1eebf4a47613" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019e2734-8eb2-712d-9a17-1eebf4a47613" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e2734-8eb2-761f-bc70-432adf98b8c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e2734-8eb2-761f-bc70-432adf98b8c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e2734-8eb2-7603-ba32-d14a23c3486d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e2734-8eb2-7603-ba32-d14a23c3486d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e2734-8eb2-7aad-a1fe-5a5667e7b2cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e2734-8eb2-7aad-a1fe-5a5667e7b2cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019e2734-8eb2-7ca3-838d-be3bf5d9f576" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019e2734-8eb2-7ca3-838d-be3bf5d9f576" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2734-8eb2-7689-a975-4481fee2f780" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2734-8eb2-7689-a975-4481fee2f780" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2734-8eb2-77c4-9b68-e9632defbb91" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-73da-b068-3b4b98c30d7c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2734-8eb2-77c4-9b68-e9632defbb91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019e2734-8eb2-718b-8583-78424a004c79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e2734-8eb2-7a51-b8da-f50591000435" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_019e2734-8eb2-718b-8583-78424a004c79" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e2734-8eb2-7a51-b8da-f50591000435" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e2734-8eb2-7e03-a7bd-a1f92bff19ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_019e2734-8eb2-718b-8583-78424a004c79" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e2734-8eb2-7e03-a7bd-a1f92bff19ec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/LeasesScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="apei-20260630.xsd#LeasesScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/LeasesScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019e2734-8eb2-7f46-977a-9393d6b28f4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019e2734-8eb2-7f46-977a-9393d6b28f4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019e2734-8eb2-770c-b136-7d039166570e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019e2734-8eb2-770c-b136-7d039166570e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019e2734-8eb2-7790-bb29-24f9382e8ae7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019e2734-8eb2-7790-bb29-24f9382e8ae7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019e2734-8eb2-791a-afd2-30c7ae09b757" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019e2734-8eb2-791a-afd2-30c7ae09b757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019e2734-8eb2-7960-8ca5-56d312764600" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019e2734-8eb2-7960-8ca5-56d312764600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019e2734-8eb2-7a95-8690-da379f206ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019e2734-8eb2-7a95-8690-da379f206ae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2734-8eb2-76a6-bf6d-4505807979e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019e2734-8eb2-7ec0-87fd-1a97cf6236bb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2734-8eb2-76a6-bf6d-4505807979e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-7fdf-897c-cb53e42c1ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e2734-8eb2-7bfb-a0d0-9f7c05633eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-7fdf-897c-cb53e42c1ab7" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e2734-8eb2-7bfb-a0d0-9f7c05633eb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e2734-8eb2-776b-ac0d-c1843062c7d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2734-8eb2-7fdf-897c-cb53e42c1ab7" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e2734-8eb2-776b-ac0d-c1843062c7d1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/LeasesScheduleofInformationRelatedtoLeasesDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#LeasesScheduleofInformationRelatedtoLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/LeasesScheduleofInformationRelatedtoLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_apei_LeaseLiability_019e2734-8eb2-7342-99bb-f3fd4b60d5a1" xlink:href="apei-20260630.xsd#apei_LeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e2734-8eb2-7dde-86de-6534612aecd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_apei_LeaseLiability_019e2734-8eb2-7342-99bb-f3fd4b60d5a1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e2734-8eb2-7dde-86de-6534612aecd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e2734-8eb2-7f5f-ba42-2f9b7d7c12a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_apei_LeaseLiability_019e2734-8eb2-7342-99bb-f3fd4b60d5a1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e2734-8eb2-7f5f-ba42-2f9b7d7c12a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e2734-8eb2-7b54-94df-11da757a14fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_apei_LeaseLiability_019e2734-8eb2-7342-99bb-f3fd4b60d5a1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e2734-8eb2-7b54-94df-11da757a14fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e2734-8eb2-78aa-be85-2b9ed8902efe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_apei_LeaseLiability_019e2734-8eb2-7342-99bb-f3fd4b60d5a1" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e2734-8eb2-78aa-be85-2b9ed8902efe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/IncomePerCommonShareScheduleofIncomePerShareDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#IncomePerCommonShareScheduleofIncomePerShareDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/IncomePerCommonShareScheduleofIncomePerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e2734-8f99-76ed-93b5-c213edb8ed1b" 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_019e2734-8f99-7c64-a8c0-15babd705bc2" 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_019e2734-8f99-76ed-93b5-c213edb8ed1b" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e2734-8f99-7c64-a8c0-15babd705bc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e2734-8f99-7766-847c-15f4180e630f" 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_019e2734-8f99-76ed-93b5-c213edb8ed1b" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e2734-8f99-7766-847c-15f4180e630f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/LongTermDebtScheduleofLongtermDebtInstrumentsDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#LongTermDebtScheduleofLongtermDebtInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/LongTermDebtScheduleofLongtermDebtInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e2734-8f99-7528-b0e5-d57b6286d610" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019e2734-8f99-7b6c-b88a-49336d8c92d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e2734-8f99-7528-b0e5-d57b6286d610" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019e2734-8f99-7b6c-b88a-49336d8c92d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019e2734-8f99-7641-b2eb-a28d674a5ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e2734-8f99-7528-b0e5-d57b6286d610" xlink:to="loc_us-gaap_LongTermDebtCurrent_019e2734-8f99-7641-b2eb-a28d674a5ae6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/LongTermDebtScheduleofLongtermDebtInstrumentsDetails_1" xlink:type="simple" xlink:href="apei-20260630.xsd#LongTermDebtScheduleofLongtermDebtInstrumentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/LongTermDebtScheduleofLongtermDebtInstrumentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e2734-8f99-7d25-a292-7da7c01d9858" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-7b80-8e63-2452938eaebb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e2734-8f99-7d25-a292-7da7c01d9858" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-7b80-8e63-2452938eaebb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_019e2734-8f99-75c2-adf1-fe684c3c2c9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e2734-8f99-7d25-a292-7da7c01d9858" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_019e2734-8f99-75c2-adf1-fe684c3c2c9e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/LongTermDebtScheduleofMaturitiesofLongtermDebtDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#LongTermDebtScheduleofMaturitiesofLongtermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/LongTermDebtScheduleofMaturitiesofLongtermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019e2734-8f99-7fd9-bfe3-c86fadcc62a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019e2734-8f99-7fd9-bfe3-c86fadcc62a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019e2734-8f99-774d-8029-04bc074a2c05" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019e2734-8f99-774d-8029-04bc074a2c05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019e2734-8f99-79bf-9043-8c0eae5942c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019e2734-8f99-79bf-9043-8c0eae5942c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019e2734-8f99-7849-bd14-d729cd4cc74e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019e2734-8f99-7849-bd14-d729cd4cc74e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019e2734-8f99-709c-9bbf-5f1f4dfcec74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019e2734-8f99-709c-9bbf-5f1f4dfcec74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019e2734-8f99-7f7a-a54b-249e6f81d91f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e2734-8f99-737f-b5b6-f3b85c452051" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019e2734-8f99-7f7a-a54b-249e6f81d91f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.americanpubliceducation.com/role/SegmentInformationScheduleofFinancialInformationbyReportableSegmentDetails" xlink:type="simple" xlink:href="apei-20260630.xsd#SegmentInformationScheduleofFinancialInformationbyReportableSegmentDetails"/>
  <link:calculationLink xlink:role="http://www.americanpubliceducation.com/role/SegmentInformationScheduleofFinancialInformationbyReportableSegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e2734-8f99-7c61-9d99-2b60761c46bd" 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_SegmentReportingOtherItemAmount_019e2734-8f99-7915-963a-4fbf264ffc58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e2734-8f99-7c61-9d99-2b60761c46bd" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_019e2734-8f99-7915-963a-4fbf264ffc58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2734-8f99-7c32-b24e-54295de799f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e2734-8f99-7c61-9d99-2b60761c46bd" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2734-8f99-7c32-b24e-54295de799f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019e2734-8f99-733d-82a5-07fc5feba49c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e2734-8f99-7c61-9d99-2b60761c46bd" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019e2734-8f99-733d-82a5-07fc5feba49c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e2734-8f99-73f7-90ee-6fb1428050ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e2734-8f99-7c61-9d99-2b60761c46bd" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e2734-8f99-73f7-90ee-6fb1428050ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e2734-8f99-7241-8060-546482132651" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e2734-8f99-7c61-9d99-2b60761c46bd" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e2734-8f99-7241-8060-546482132651" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
