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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:fc43388f-fa02-40e0-9a3c-953843989b99,g:88b4dbb2-293f-4ff2-8927-01455d6538d9-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedBalanceSheets" xlink:type="simple" xlink:href="exdx-20240630.xsd#UnauditedCondensedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/UnauditedCondensedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_d408ee0a-b678-449c-9b0c-5f5d5babf880" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4fe32440-5c91-47f8-b0e9-24883540d043" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d408ee0a-b678-449c-9b0c-5f5d5babf880" xlink:to="loc_us-gaap_StockholdersEquity_4fe32440-5c91-47f8-b0e9-24883540d043" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_0e689d3b-3a64-429b-922c-a869da6c3d90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d408ee0a-b678-449c-9b0c-5f5d5babf880" xlink:to="loc_us-gaap_Liabilities_0e689d3b-3a64-429b-922c-a869da6c3d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_a4bc67ea-50d6-4091-b1f0-4da113879485" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d408ee0a-b678-449c-9b0c-5f5d5babf880" xlink:to="loc_us-gaap_CommitmentsAndContingencies_a4bc67ea-50d6-4091-b1f0-4da113879485" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_2d945ef5-fe1d-47f5-97a4-d13a41cbcd94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_abf6de99-5258-40e6-8a67-6f9018f9c32b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2d945ef5-fe1d-47f5-97a4-d13a41cbcd94" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_abf6de99-5258-40e6-8a67-6f9018f9c32b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_70541ef5-9045-42e7-a353-92259ffb9f60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2d945ef5-fe1d-47f5-97a4-d13a41cbcd94" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_70541ef5-9045-42e7-a353-92259ffb9f60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_dc0c930e-3007-4e9f-939b-6afdbe81c781" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2d945ef5-fe1d-47f5-97a4-d13a41cbcd94" xlink:to="loc_us-gaap_AssetsCurrent_dc0c930e-3007-4e9f-939b-6afdbe81c781" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_24bec0d4-9a91-425a-882f-6e2932683b03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2d945ef5-fe1d-47f5-97a4-d13a41cbcd94" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_24bec0d4-9a91-425a-882f-6e2932683b03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_6e4987fd-6ec3-46c0-a3b0-2ec09ddb0961" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_909226c8-4edf-4475-9f62-1e183ac1857c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6e4987fd-6ec3-46c0-a3b0-2ec09ddb0961" xlink:to="loc_us-gaap_AdditionalPaidInCapital_909226c8-4edf-4475-9f62-1e183ac1857c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_99c7355b-c05e-490b-a06c-25c9b6e358c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6e4987fd-6ec3-46c0-a3b0-2ec09ddb0961" xlink:to="loc_us-gaap_CommonStockValue_99c7355b-c05e-490b-a06c-25c9b6e358c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_13d8914a-8c1a-4e94-ac06-b9cd96a196a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6e4987fd-6ec3-46c0-a3b0-2ec09ddb0961" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_13d8914a-8c1a-4e94-ac06-b9cd96a196a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_f75b3abf-4eab-48d1-a205-48bebbd5991c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6e4987fd-6ec3-46c0-a3b0-2ec09ddb0961" xlink:to="loc_us-gaap_PreferredStockValue_f75b3abf-4eab-48d1-a205-48bebbd5991c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_f8a6c506-1e90-49b1-b971-fe82c5201273" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_3139424e-c40b-40b9-be75-b694bdf91bea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f8a6c506-1e90-49b1-b971-fe82c5201273" xlink:to="loc_us-gaap_LongTermDebtCurrent_3139424e-c40b-40b9-be75-b694bdf91bea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_bc11f216-414d-469e-9041-c38f5d3a9a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f8a6c506-1e90-49b1-b971-fe82c5201273" xlink:to="loc_us-gaap_AccountsPayableCurrent_bc11f216-414d-469e-9041-c38f5d3a9a1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_d820d541-d1a7-4b3a-b771-9c557d1067bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f8a6c506-1e90-49b1-b971-fe82c5201273" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_d820d541-d1a7-4b3a-b771-9c557d1067bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_a50b0158-1e08-471b-95b7-8ee169ed0c54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_f8a6c506-1e90-49b1-b971-fe82c5201273" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_a50b0158-1e08-471b-95b7-8ee169ed0c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_370ed6a0-3608-4aff-a20e-d54982b51c6f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9ad677e5-9d27-44e0-858d-f5b1407b1ff8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_370ed6a0-3608-4aff-a20e-d54982b51c6f" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9ad677e5-9d27-44e0-858d-f5b1407b1ff8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_b88529db-0d0c-4828-990d-1107291301bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_370ed6a0-3608-4aff-a20e-d54982b51c6f" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_b88529db-0d0c-4828-990d-1107291301bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_8ec4872b-59ff-4848-8a03-1c810f73848a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_370ed6a0-3608-4aff-a20e-d54982b51c6f" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_8ec4872b-59ff-4848-8a03-1c810f73848a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b9ea92e2-36d0-41e3-9ae5-6af8f475c5a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_6a90caa2-05ee-4382-876d-10cbafc820ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b9ea92e2-36d0-41e3-9ae5-6af8f475c5a6" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_6a90caa2-05ee-4382-876d-10cbafc820ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_1a73d4c8-91e9-4263-a50b-47e57bc2af74" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b9ea92e2-36d0-41e3-9ae5-6af8f475c5a6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_1a73d4c8-91e9-4263-a50b-47e57bc2af74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_86867600-e29c-4b4f-b43f-360c6566d9bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b9ea92e2-36d0-41e3-9ae5-6af8f475c5a6" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_86867600-e29c-4b4f-b43f-360c6566d9bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_89fd1a2b-a55b-4566-a73a-b849ef0d517b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b9ea92e2-36d0-41e3-9ae5-6af8f475c5a6" xlink:to="loc_us-gaap_LiabilitiesCurrent_89fd1a2b-a55b-4566-a73a-b849ef0d517b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="simple" xlink:href="exdx-20240630.xsd#UnauditedCondensedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d579e20d-8a38-4f63-a821-2852037f4083" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c53081d6-dbf2-425d-a616-9e22c4d49ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d579e20d-8a38-4f63-a821-2852037f4083" xlink:to="loc_us-gaap_OperatingIncomeLoss_c53081d6-dbf2-425d-a616-9e22c4d49ee3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_f4931488-bd77-4e20-82b3-b304e86128cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d579e20d-8a38-4f63-a821-2852037f4083" xlink:to="loc_us-gaap_InterestExpenseNonoperating_f4931488-bd77-4e20-82b3-b304e86128cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_fcfaa2ca-cf3c-417c-a713-58552d446a21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d579e20d-8a38-4f63-a821-2852037f4083" xlink:to="loc_us-gaap_InvestmentIncomeInterest_fcfaa2ca-cf3c-417c-a713-58552d446a21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_a12ecba4-8426-45a8-a4dc-9ae265d125a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_29a6fdff-317c-4dbd-905c-1071f124dd6a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_a12ecba4-8426-45a8-a4dc-9ae265d125a1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_29a6fdff-317c-4dbd-905c-1071f124dd6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_3ec94e11-9ec6-4980-9465-5a49637204b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_a12ecba4-8426-45a8-a4dc-9ae265d125a1" xlink:to="loc_us-gaap_CostsAndExpenses_3ec94e11-9ec6-4980-9465-5a49637204b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_cfbdfb61-d19b-4c49-ba2b-0f4d6ea99a16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_6ef1703b-6af8-455c-937a-ad9c9d8a16a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cfbdfb61-d19b-4c49-ba2b-0f4d6ea99a16" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_6ef1703b-6af8-455c-937a-ad9c9d8a16a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_96ceb306-7494-4325-bbf3-fbe4136c8aaf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cfbdfb61-d19b-4c49-ba2b-0f4d6ea99a16" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_96ceb306-7494-4325-bbf3-fbe4136c8aaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_5b780827-30a6-4081-987f-f0df46d4a343" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_cfbdfb61-d19b-4c49-ba2b-0f4d6ea99a16" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_5b780827-30a6-4081-987f-f0df46d4a343" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofCashFlows" xlink:type="simple" xlink:href="exdx-20240630.xsd#UnauditedCondensedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_145f0780-4463-4ec0-ba28-d8c53b41ef05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_118bb8eb-a327-4631-91c6-6df121811e37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_145f0780-4463-4ec0-ba28-d8c53b41ef05" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_118bb8eb-a327-4631-91c6-6df121811e37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_41fdba4f-0c08-496f-b17a-a2aaa3854ab9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_145f0780-4463-4ec0-ba28-d8c53b41ef05" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_41fdba4f-0c08-496f-b17a-a2aaa3854ab9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_df3de2d2-2a6a-47a1-a674-3e601ea01720" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_145f0780-4463-4ec0-ba28-d8c53b41ef05" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_df3de2d2-2a6a-47a1-a674-3e601ea01720" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_NonCashLeaseExpense_a806cb3a-7de7-4713-9a84-9c01b1e03ab7" xlink:href="exdx-20240630.xsd#exdx_NonCashLeaseExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_exdx_NonCashLeaseExpense_a806cb3a-7de7-4713-9a84-9c01b1e03ab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_53374acb-8437-4052-880e-9be893dd4fc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaidInKindInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_PaidInKindInterest_53374acb-8437-4052-880e-9be893dd4fc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_04e76765-fe7c-4f6b-b019-604792a21d5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_04e76765-fe7c-4f6b-b019-604792a21d5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_9897f7dc-8d22-4875-93df-611899fff9a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_9897f7dc-8d22-4875-93df-611899fff9a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_bd74a220-ffea-4d8e-ac64-b476287b72dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_bd74a220-ffea-4d8e-ac64-b476287b72dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_7e8a5097-e5e5-4772-9c93-b7cf8b426e39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_7e8a5097-e5e5-4772-9c93-b7cf8b426e39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_91fc15e6-8c58-4c8f-b25e-01cd99e7eabf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_91fc15e6-8c58-4c8f-b25e-01cd99e7eabf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_9223e0ed-22f7-477d-af25-e5aedd4828ed" xlink:href="exdx-20240630.xsd#exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_9223e0ed-22f7-477d-af25-e5aedd4828ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4ac4d466-7c82-4e34-997a-c2f33a4b055c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_NetIncomeLoss_4ac4d466-7c82-4e34-997a-c2f33a4b055c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_ee6546d8-7d20-475c-b847-1bffcad48822" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_ee6546d8-7d20-475c-b847-1bffcad48822" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_294635f9-190f-4cec-bbcc-958d08e90186" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_294635f9-190f-4cec-bbcc-958d08e90186" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_6b9f18f0-df47-4d50-be93-da667922f353" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_ShareBasedCompensation_6b9f18f0-df47-4d50-be93-da667922f353" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_dff671d7-bc4a-4258-822e-bfefd40ca7b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0720b271-da95-423d-9306-16e43d767741" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_dff671d7-bc4a-4258-822e-bfefd40ca7b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1a9d8bc5-75c6-47b4-ad6e-10fb3ba13286" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_71312aab-71a9-442b-b7e1-a3464ab306bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1a9d8bc5-75c6-47b4-ad6e-10fb3ba13286" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_71312aab-71a9-442b-b7e1-a3464ab306bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_6939f952-04ea-494c-8df4-9132c5feb7f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1a9d8bc5-75c6-47b4-ad6e-10fb3ba13286" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_6939f952-04ea-494c-8df4-9132c5feb7f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfNotesPayable_630110b1-2063-4ebf-b6a6-38f57f1b3989" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfNotesPayable"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1a9d8bc5-75c6-47b4-ad6e-10fb3ba13286" xlink:to="loc_us-gaap_RepaymentsOfNotesPayable_630110b1-2063-4ebf-b6a6-38f57f1b3989" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_787a67fe-3b92-4a4a-b482-e42947ca7ac3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1a9d8bc5-75c6-47b4-ad6e-10fb3ba13286" xlink:to="loc_us-gaap_ProceedsFromStockPlans_787a67fe-3b92-4a4a-b482-e42947ca7ac3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_fb766b54-4faf-49b9-9c2c-c99ed7eb232a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1a9d8bc5-75c6-47b4-ad6e-10fb3ba13286" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_fb766b54-4faf-49b9-9c2c-c99ed7eb232a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8c5d562c-23da-406f-8899-999a22aae6a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_4ddab63e-e14d-4f7c-8e02-9d4b0a85f3b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8c5d562c-23da-406f-8899-999a22aae6a8" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_4ddab63e-e14d-4f7c-8e02-9d4b0a85f3b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_aa04bb09-28ad-4d94-88cd-5892c1bb1410" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8c5d562c-23da-406f-8899-999a22aae6a8" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_aa04bb09-28ad-4d94-88cd-5892c1bb1410" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryofSignificantAccountingPoliciesCashCashEquivalentsandRestrictedCashDetails" xlink:type="simple" xlink:href="exdx-20240630.xsd#SummaryofSignificantAccountingPoliciesCashCashEquivalentsandRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/SummaryofSignificantAccountingPoliciesCashCashEquivalentsandRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_4b84558f-134d-40f9-b710-60f80a282d47" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_36af145b-779f-4cd0-9b4b-53a8dff8187e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_4b84558f-134d-40f9-b710-60f80a282d47" xlink:to="loc_us-gaap_RestrictedCash_36af145b-779f-4cd0-9b4b-53a8dff8187e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_38cf446d-1cda-44e8-b355-08e87aa54352" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_4b84558f-134d-40f9-b710-60f80a282d47" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_38cf446d-1cda-44e8-b355-08e87aa54352" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPrepaidExpensesDetails" xlink:type="simple" xlink:href="exdx-20240630.xsd#OtherFinancialInformationPrepaidExpensesDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPrepaidExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_edd468aa-6532-46fb-8df3-e08a8cbaa870" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_PrepaidMaintenanceAndInsuranceContracts_c66c09d7-1642-4433-b82e-23db6be50321" xlink:href="exdx-20240630.xsd#exdx_PrepaidMaintenanceAndInsuranceContracts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_edd468aa-6532-46fb-8df3-e08a8cbaa870" xlink:to="loc_exdx_PrepaidMaintenanceAndInsuranceContracts_c66c09d7-1642-4433-b82e-23db6be50321" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidRoyalties_14c64223-3079-422b-a558-b1064e2d4f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidRoyalties"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_edd468aa-6532-46fb-8df3-e08a8cbaa870" xlink:to="loc_us-gaap_PrepaidRoyalties_14c64223-3079-422b-a558-b1064e2d4f2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_d126f3e4-089f-4289-b553-aea74e5dc9d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_edd468aa-6532-46fb-8df3-e08a8cbaa870" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_d126f3e4-089f-4289-b553-aea74e5dc9d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_d7221504-95e5-4dfd-b1d2-d5fd56264ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_edd468aa-6532-46fb-8df3-e08a8cbaa870" xlink:to="loc_us-gaap_OtherAssetsCurrent_d7221504-95e5-4dfd-b1d2-d5fd56264ebf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPropertyandEquipmentDetails" xlink:type="simple" xlink:href="exdx-20240630.xsd#OtherFinancialInformationPropertyandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_d292f1db-043c-422f-8687-9fc0fcc90d66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_cade551b-ddc7-4f07-98a6-2455f700034e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_d292f1db-043c-422f-8687-9fc0fcc90d66" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_cade551b-ddc7-4f07-98a6-2455f700034e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_c58ccf87-84bb-4e3a-929c-c906ee562e51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_d292f1db-043c-422f-8687-9fc0fcc90d66" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_c58ccf87-84bb-4e3a-929c-c906ee562e51" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationAccruedandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="exdx-20240630.xsd#OtherFinancialInformationAccruedandOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationAccruedandOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalariesCurrent_aaf5232f-7ded-48da-b03f-637d17de68be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedSalariesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_us-gaap_AccruedSalariesCurrent_aaf5232f-7ded-48da-b03f-637d17de68be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AccruedLiabilitiesClinicalStudyCurrent_eff845f6-661c-43ef-b65a-6645f9529b8d" xlink:href="exdx-20240630.xsd#exdx_AccruedLiabilitiesClinicalStudyCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_exdx_AccruedLiabilitiesClinicalStudyCurrent_eff845f6-661c-43ef-b65a-6645f9529b8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_65c431a2-1f0d-458b-bc56-4c05f48c128b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_65c431a2-1f0d-458b-bc56-4c05f48c128b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AccruedPurchaseGoodsAndServicesCurrent_676aef50-fdd7-449e-b15a-53c0bda5f214" xlink:href="exdx-20240630.xsd#exdx_AccruedPurchaseGoodsAndServicesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_exdx_AccruedPurchaseGoodsAndServicesCurrent_676aef50-fdd7-449e-b15a-53c0bda5f214" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_b91b3809-b12c-4d9f-81f3-49a38c485bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_us-gaap_InterestPayableCurrent_b91b3809-b12c-4d9f-81f3-49a38c485bd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRoyaltiesCurrent_f548cf84-bc68-4b4b-bb9f-ac8b4f3ae94e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedRoyaltiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_us-gaap_AccruedRoyaltiesCurrent_f548cf84-bc68-4b4b-bb9f-ac8b4f3ae94e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_2c4ce0d0-51dc-405a-8a34-315eaf55509c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_2c4ce0d0-51dc-405a-8a34-315eaf55509c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRefundLiabilityCurrent_ec7cb08e-1302-4f4b-8a75-bfbe90e1a70a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CustomerRefundLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_f49a1acb-c123-44ea-8606-58b20e3af54a" xlink:to="loc_us-gaap_CustomerRefundLiabilityCurrent_ec7cb08e-1302-4f4b-8a75-bfbe90e1a70a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsFutureMinimumPaymentsDetails" xlink:type="simple" xlink:href="exdx-20240630.xsd#BorrowingsFutureMinimumPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/BorrowingsFutureMinimumPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_7b24637e-f852-43e2-8d79-82d6899db5d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_69950e82-a6de-4747-8ae1-90f7444bb291" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_7b24637e-f852-43e2-8d79-82d6899db5d1" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_69950e82-a6de-4747-8ae1-90f7444bb291" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtUndiscountedInterestAmount_90bd4948-2018-492f-a711-2fa05f8149fb" xlink:href="exdx-20240630.xsd#exdx_LongTermDebtUndiscountedInterestAmount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_7b24637e-f852-43e2-8d79-82d6899db5d1" xlink:to="loc_exdx_LongTermDebtUndiscountedInterestAmount_90bd4948-2018-492f-a711-2fa05f8149fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtIncludingUndiscountedInterest_a48d5f02-00ab-4d08-b9bc-269543fe6887" xlink:href="exdx-20240630.xsd#exdx_LongTermDebtIncludingUndiscountedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_7b24637e-f852-43e2-8d79-82d6899db5d1" xlink:to="loc_exdx_LongTermDebtIncludingUndiscountedInterest_a48d5f02-00ab-4d08-b9bc-269543fe6887" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1cea3454-8c9d-466a-8f93-9355ad619018" xlink:href="exdx-20240630.xsd#exdx_LongTermDebtIncludingUndiscountedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_65c16649-9b22-407b-ae01-6bfa4e442d84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1cea3454-8c9d-466a-8f93-9355ad619018" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_65c16649-9b22-407b-ae01-6bfa4e442d84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_382ae39b-971e-4823-977b-d84342a6a0f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1cea3454-8c9d-466a-8f93-9355ad619018" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_382ae39b-971e-4823-977b-d84342a6a0f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_7059bf57-64b2-46af-b74d-dfe068cc0287" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1cea3454-8c9d-466a-8f93-9355ad619018" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_7059bf57-64b2-46af-b74d-dfe068cc0287" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_65b8b67a-4cb7-4fd9-bf19-7863cd4f42be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1cea3454-8c9d-466a-8f93-9355ad619018" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_65b8b67a-4cb7-4fd9-bf19-7863cd4f42be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_8d0d7544-ce3c-4ee0-a29a-b6d43520ae73" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1cea3454-8c9d-466a-8f93-9355ad619018" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_8d0d7544-ce3c-4ee0-a29a-b6d43520ae73" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
