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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:6018f8ea-fa05-452a-adea-254786192c77,g:68b7dde8-2230-495d-984a-015fcac6c60d-->
<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/CondensedBalanceSheets" xlink:type="simple" xlink:href="exdx-20210630.xsd#CondensedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_daf82f61-5507-4097-adc8-f074d839f315" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c80c24e3-011c-4472-b872-6c9200d7e91e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_daf82f61-5507-4097-adc8-f074d839f315" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c80c24e3-011c-4472-b872-6c9200d7e91e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_1acab5c3-f4bc-4c09-9afa-8396997c8ec6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_daf82f61-5507-4097-adc8-f074d839f315" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_1acab5c3-f4bc-4c09-9afa-8396997c8ec6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_be48c8eb-a74e-4c37-b5ac-64d2de54bf11" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_daf82f61-5507-4097-adc8-f074d839f315" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_be48c8eb-a74e-4c37-b5ac-64d2de54bf11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_b2f306b1-612f-4367-98a8-5c52cec5cc81" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_2d81b697-d66c-43f2-8c63-0074c8342f19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b2f306b1-612f-4367-98a8-5c52cec5cc81" xlink:to="loc_us-gaap_AccountsPayableCurrent_2d81b697-d66c-43f2-8c63-0074c8342f19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_5aa63251-9785-4bb7-9d2d-5a1a1a035fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b2f306b1-612f-4367-98a8-5c52cec5cc81" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_5aa63251-9785-4bb7-9d2d-5a1a1a035fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_61a52d57-44d9-41b7-8dd7-34e500719b17" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_264c13e2-7ec7-4e46-b7df-3a3d9fedc5bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_61a52d57-44d9-41b7-8dd7-34e500719b17" xlink:to="loc_us-gaap_PreferredStockValue_264c13e2-7ec7-4e46-b7df-3a3d9fedc5bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_ef1f437d-b944-414e-bcce-6bad1f4a2aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_61a52d57-44d9-41b7-8dd7-34e500719b17" xlink:to="loc_us-gaap_AdditionalPaidInCapital_ef1f437d-b944-414e-bcce-6bad1f4a2aa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e01ceb94-513b-4f33-94fb-19757f76f8e4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_61a52d57-44d9-41b7-8dd7-34e500719b17" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e01ceb94-513b-4f33-94fb-19757f76f8e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_f024ffcf-4cf9-4219-85c3-b17178125d0e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_61a52d57-44d9-41b7-8dd7-34e500719b17" xlink:to="loc_us-gaap_CommonStockValue_f024ffcf-4cf9-4219-85c3-b17178125d0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f45eb317-495b-4ffe-9f18-f857dee7e4c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7aab08aa-3c27-4859-89cb-0fa660a10e9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f45eb317-495b-4ffe-9f18-f857dee7e4c9" xlink:to="loc_us-gaap_StockholdersEquity_7aab08aa-3c27-4859-89cb-0fa660a10e9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_6283df39-d12b-4349-88a7-31e905b1734a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f45eb317-495b-4ffe-9f18-f857dee7e4c9" xlink:to="loc_us-gaap_Liabilities_6283df39-d12b-4349-88a7-31e905b1734a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_fd5cc9eb-c438-4ccc-916e-99a794380a1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f45eb317-495b-4ffe-9f18-f857dee7e4c9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_fd5cc9eb-c438-4ccc-916e-99a794380a1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e39e08eb-e38a-4dd6-8b57-c7cb0845887d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_beaae450-ede9-4b78-9463-6562047f1a72" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e39e08eb-e38a-4dd6-8b57-c7cb0845887d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_beaae450-ede9-4b78-9463-6562047f1a72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_8af95d6c-1a8d-4681-999f-85d68d903873" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e39e08eb-e38a-4dd6-8b57-c7cb0845887d" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_8af95d6c-1a8d-4681-999f-85d68d903873" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_9adc7170-c958-444e-9d27-e4123e2561f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e39e08eb-e38a-4dd6-8b57-c7cb0845887d" xlink:to="loc_us-gaap_AssetsCurrent_9adc7170-c958-444e-9d27-e4123e2561f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_0ff0f767-dbaa-4269-9200-02eb5011bf1f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e39e08eb-e38a-4dd6-8b57-c7cb0845887d" xlink:to="loc_us-gaap_Goodwill_0ff0f767-dbaa-4269-9200-02eb5011bf1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d1cd682b-1763-438c-a72f-764c39b05c21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_08bb2e8e-b47a-4bbe-9a7f-46ec00007680" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d1cd682b-1763-438c-a72f-764c39b05c21" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_08bb2e8e-b47a-4bbe-9a7f-46ec00007680" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_e96ccc17-0246-4bf1-8a3d-18951f2310b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d1cd682b-1763-438c-a72f-764c39b05c21" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_e96ccc17-0246-4bf1-8a3d-18951f2310b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_c6501e8b-9952-4fec-adc7-f8d08a0d434d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_d1cd682b-1763-438c-a72f-764c39b05c21" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_c6501e8b-9952-4fec-adc7-f8d08a0d434d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_8e618393-c053-45c2-8d58-33a9851f73a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_d1cd682b-1763-438c-a72f-764c39b05c21" xlink:to="loc_us-gaap_LiabilitiesCurrent_8e618393-c053-45c2-8d58-33a9851f73a8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="simple" xlink:href="exdx-20210630.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_NetIncomeLossAvailableToCommonStockholdersDiluted_83b3c75f-e71e-48bb-9677-ec1d8bf15536" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_4c813730-9cb7-4b2b-a529-b2408bbd3bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_a58d30a2-d947-4f0e-80f0-7b8f3451df85" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_4c813730-9cb7-4b2b-a529-b2408bbd3bb1" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_a58d30a2-d947-4f0e-80f0-7b8f3451df85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_59ce9c05-c70f-4bf6-ba1c-c075cc0d632c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_4c813730-9cb7-4b2b-a529-b2408bbd3bb1" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_59ce9c05-c70f-4bf6-ba1c-c075cc0d632c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_6908cdeb-4c8e-4823-bd1d-ef7fb7e473c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_4c813730-9cb7-4b2b-a529-b2408bbd3bb1" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_6908cdeb-4c8e-4823-bd1d-ef7fb7e473c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_76f5d3d4-7780-47a9-915c-ae657fffeaea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_ed286210-2472-4e94-841c-793723878765" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_76f5d3d4-7780-47a9-915c-ae657fffeaea" xlink:to="loc_us-gaap_CostsAndExpenses_ed286210-2472-4e94-841c-793723878765" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_46f85d28-99b3-4139-bc27-4aafa4f15021" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_76f5d3d4-7780-47a9-915c-ae657fffeaea" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_46f85d28-99b3-4139-bc27-4aafa4f15021" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_14ea5824-8e8e-4014-ab20-8018c2c09b84" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_a93b7f9a-92ed-4375-aeae-481e9a443df3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_14ea5824-8e8e-4014-ab20-8018c2c09b84" xlink:to="loc_us-gaap_InterestExpense_a93b7f9a-92ed-4375-aeae-481e9a443df3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_25851593-6429-44e8-843f-77e62b9f71aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_14ea5824-8e8e-4014-ab20-8018c2c09b84" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_25851593-6429-44e8-843f-77e62b9f71aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_2778eb5d-df93-4ce6-a063-c6a905231892" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_14ea5824-8e8e-4014-ab20-8018c2c09b84" xlink:to="loc_us-gaap_OperatingIncomeLoss_2778eb5d-df93-4ce6-a063-c6a905231892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_2ba130f1-30fb-43f3-b5d1-4f87131b360e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_7d147442-7fa5-46f1-9ddb-95cd30a92b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_2ba130f1-30fb-43f3-b5d1-4f87131b360e" xlink:to="loc_us-gaap_IncomeLossAttributableToParent_7d147442-7fa5-46f1-9ddb-95cd30a92b7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6e73e718-e340-41db-a665-52d62483677b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_2ba130f1-30fb-43f3-b5d1-4f87131b360e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6e73e718-e340-41db-a665-52d62483677b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedStatementsofCashFlows" xlink:type="simple" xlink:href="exdx-20210630.xsd#UnauditedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/UnauditedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bcbbd7d8-d4b4-42ee-867a-e7f3e0dd6bbd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb96a292-1add-470a-9854-085d8d0edc21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_bcbbd7d8-d4b4-42ee-867a-e7f3e0dd6bbd" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb96a292-1add-470a-9854-085d8d0edc21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d18bb72-8327-452f-9139-6609e2096dec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_bcbbd7d8-d4b4-42ee-867a-e7f3e0dd6bbd" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d18bb72-8327-452f-9139-6609e2096dec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b59a03a3-c1ef-471b-974f-2880d3e95fd4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_bcbbd7d8-d4b4-42ee-867a-e7f3e0dd6bbd" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b59a03a3-c1ef-471b-974f-2880d3e95fd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e26b5a40-bed4-4ad4-9a02-ae235c0b4135" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_4dd405d7-7452-4e2f-8586-a5288ce515ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e26b5a40-bed4-4ad4-9a02-ae235c0b4135" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_4dd405d7-7452-4e2f-8586-a5288ce515ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6bcb161c-f0fe-4eeb-bc60-604e187f670a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6bcb161c-f0fe-4eeb-bc60-604e187f670a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_fc2a22d1-26ac-49d5-81f4-06511bd7248f" xlink:href="exdx-20210630.xsd#exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_fc2a22d1-26ac-49d5-81f4-06511bd7248f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_60d57b1c-b082-4b5e-970f-7c9c619f80cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_NetIncomeLoss_60d57b1c-b082-4b5e-970f-7c9c619f80cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_0ecc05da-5923-4b92-92f1-f4ca00427c8e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaidInKindInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_PaidInKindInterest_0ecc05da-5923-4b92-92f1-f4ca00427c8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_476425fd-5982-4ea3-9641-fd51a9b054d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_476425fd-5982-4ea3-9641-fd51a9b054d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_bf328a36-f8f7-4c8a-b4fc-9e466ae3ee17" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_ShareBasedCompensation_bf328a36-f8f7-4c8a-b4fc-9e466ae3ee17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_aabb2e26-b689-4521-9bab-53d482e7c2f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_aabb2e26-b689-4521-9bab-53d482e7c2f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_6b5f866a-2905-4a9d-a72c-4076524a3087" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_6b5f866a-2905-4a9d-a72c-4076524a3087" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_37a0d6c8-54d2-4214-8fd7-13e9df13cc8f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_37a0d6c8-54d2-4214-8fd7-13e9df13cc8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_d4bd0e32-2358-44ad-b8a7-7efe8e8b2b88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_d4bd0e32-2358-44ad-b8a7-7efe8e8b2b88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_e2df092c-5390-4a6a-a9ad-a215558e3b76" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77926c3f-3b42-4966-bb9f-c789e6345ae0" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_e2df092c-5390-4a6a-a9ad-a215558e3b76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_d9618028-7a48-47a4-9088-0bbfbb5c576e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_d9618028-7a48-47a4-9088-0bbfbb5c576e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfBankDebt_a2e08ff7-f890-42a7-8119-6ff52a041900" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfBankDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_RepaymentsOfBankDebt_a2e08ff7-f890-42a7-8119-6ff52a041900" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_c074344d-cdf3-4312-b1ce-1cba003f1452" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromWarrantExercises"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_c074344d-cdf3-4312-b1ce-1cba003f1452" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_d187b0d6-2a0f-4b4f-926e-3db4b7719d1b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_d187b0d6-2a0f-4b4f-926e-3db4b7719d1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_5c702af6-8f31-4acc-aad5-e6e9642d6c35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_5c702af6-8f31-4acc-aad5-e6e9642d6c35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_230667c0-332e-45e2-b4bb-d27f05e72213" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_230667c0-332e-45e2-b4bb-d27f05e72213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_277fa6f6-61fb-4f10-9c22-a281c6bd5c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_ProceedsFromStockPlans_277fa6f6-61fb-4f10-9c22-a281c6bd5c1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_e240559b-dd3d-467c-aa3e-fa6239fee4a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromBankDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_984f9981-c9a4-42d4-9c27-72b36f7057c0" xlink:to="loc_us-gaap_ProceedsFromBankDebt_e240559b-dd3d-467c-aa3e-fa6239fee4a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryofSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="simple" xlink:href="exdx-20210630.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_e908533b-0f87-49db-a065-c930b8449708" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_3c70f0e5-2224-485d-90e8-1128d1b99fa1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e908533b-0f87-49db-a065-c930b8449708" xlink:to="loc_us-gaap_RestrictedCash_3c70f0e5-2224-485d-90e8-1128d1b99fa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_7e060c05-ac44-49ff-a63e-fc1f8b25c3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e908533b-0f87-49db-a065-c930b8449708" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_7e060c05-ac44-49ff-a63e-fc1f8b25c3b8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="simple" xlink:href="exdx-20210630.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_7d40f21a-ff26-41f2-9cb3-85cd7e6c2427" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_PrepaidMaintenanceAndInsuranceContracts_10358f01-0ccf-4e93-a958-ff3ca7db5b33" xlink:href="exdx-20210630.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_7d40f21a-ff26-41f2-9cb3-85cd7e6c2427" xlink:to="loc_exdx_PrepaidMaintenanceAndInsuranceContracts_10358f01-0ccf-4e93-a958-ff3ca7db5b33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidRoyalties_c29c47d5-7bdb-4eb1-a1b9-fc40442f60d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_7d40f21a-ff26-41f2-9cb3-85cd7e6c2427" xlink:to="loc_us-gaap_PrepaidRoyalties_c29c47d5-7bdb-4eb1-a1b9-fc40442f60d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_15af8dcf-049a-47a8-8f43-08061d127c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_7d40f21a-ff26-41f2-9cb3-85cd7e6c2427" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_15af8dcf-049a-47a8-8f43-08061d127c1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_29b5d0d0-f316-4778-87c1-3fc5eedd4ddd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_7d40f21a-ff26-41f2-9cb3-85cd7e6c2427" xlink:to="loc_us-gaap_OtherAssetsCurrent_29b5d0d0-f316-4778-87c1-3fc5eedd4ddd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="simple" xlink:href="exdx-20210630.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_PropertyPlantAndEquipmentNet_1a788737-f62f-4f6d-8794-9aca8953a98f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_b217ea98-548a-45d6-a540-a4d9ceed61e0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_1a788737-f62f-4f6d-8794-9aca8953a98f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_b217ea98-548a-45d6-a540-a4d9ceed61e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_176aa3fc-63f5-4f84-b1aa-f805e7049dcf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_1a788737-f62f-4f6d-8794-9aca8953a98f" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_176aa3fc-63f5-4f84-b1aa-f805e7049dcf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationAccruedandothercurrentliabilitiesDetails" xlink:type="simple" xlink:href="exdx-20210630.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalariesCurrent_0daea102-04da-4037-9d4d-1f967da94bce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_us-gaap_AccruedSalariesCurrent_0daea102-04da-4037-9d4d-1f967da94bce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AccruedLiabilitiesClinicalStudyCurrent_3154f53f-9942-4e7d-a0ae-9ffd4b2e6114" xlink:href="exdx-20210630.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_exdx_AccruedLiabilitiesClinicalStudyCurrent_3154f53f-9942-4e7d-a0ae-9ffd4b2e6114" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeaseObligationsCurrent_625429e8-aac2-4ecf-bd17-b01af253ffc6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_us-gaap_CapitalLeaseObligationsCurrent_625429e8-aac2-4ecf-bd17-b01af253ffc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AccruedPurchaseGoodsAndServicesCurrent_6f091dbf-cc2e-4e21-809d-14a747263634" xlink:href="exdx-20210630.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_exdx_AccruedPurchaseGoodsAndServicesCurrent_6f091dbf-cc2e-4e21-809d-14a747263634" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_4fb6a8b1-d7fe-4314-9648-1046434d4d9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_us-gaap_InterestPayableCurrent_4fb6a8b1-d7fe-4314-9648-1046434d4d9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRoyaltiesCurrent_1431dae1-5c35-431e-946e-9e60b1a110df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_us-gaap_AccruedRoyaltiesCurrent_1431dae1-5c35-431e-946e-9e60b1a110df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_3471072b-6811-4416-a7b1-967a1cb6226d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_48593c86-b883-419b-a6a6-8a1124ec5471" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_3471072b-6811-4416-a7b1-967a1cb6226d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="simple" xlink:href="exdx-20210630.xsd#BorrowingsFutureminimumpaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1faf82d0-45d3-4b92-ab7a-b7cfb4264d77" xlink:href="exdx-20210630.xsd#exdx_LongTermDebtIncludingUndiscountedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_514edcab-740e-4496-81e5-1b411acb7421" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1faf82d0-45d3-4b92-ab7a-b7cfb4264d77" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_514edcab-740e-4496-81e5-1b411acb7421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_65f184a8-a78c-49ce-9904-5633e79c84a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1faf82d0-45d3-4b92-ab7a-b7cfb4264d77" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_65f184a8-a78c-49ce-9904-5633e79c84a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_cb9c10b9-9b92-40a6-8cc1-7fe50b4c7f3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1faf82d0-45d3-4b92-ab7a-b7cfb4264d77" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_cb9c10b9-9b92-40a6-8cc1-7fe50b4c7f3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_98df54e3-3ef4-4a0a-bae4-e5b5d0c2c507" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_1faf82d0-45d3-4b92-ab7a-b7cfb4264d77" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_98df54e3-3ef4-4a0a-bae4-e5b5d0c2c507" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_f3395110-319c-4dc4-b905-9de7a712820a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_ef917605-10a9-47c3-aafe-94fba276dae5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f3395110-319c-4dc4-b905-9de7a712820a" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_ef917605-10a9-47c3-aafe-94fba276dae5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtUndiscountedInterestAmount_5e7b6011-64f1-498f-b38e-adb263219f9d" xlink:href="exdx-20210630.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_f3395110-319c-4dc4-b905-9de7a712820a" xlink:to="loc_exdx_LongTermDebtUndiscountedInterestAmount_5e7b6011-64f1-498f-b38e-adb263219f9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtIncludingUndiscountedInterest_6da515e0-9608-4788-b937-2f6071b166c3" xlink:href="exdx-20210630.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_f3395110-319c-4dc4-b905-9de7a712820a" xlink:to="loc_exdx_LongTermDebtIncludingUndiscountedInterest_6da515e0-9608-4788-b937-2f6071b166c3" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
