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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:82b6ff66-b6b4-41f8-bc77-bc919799f627,g:1de6b5b5-aa2f-4618-960e-66bff7b16fd7-->
<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/BalanceSheets" xlink:type="simple" xlink:href="exdx-20211231.xsd#BalanceSheets"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/BalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9a4bae97-a058-446a-8412-af9696fe5172" 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_be14dd18-e95a-46f9-8865-df5dee748f1d" 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_9a4bae97-a058-446a-8412-af9696fe5172" xlink:to="loc_us-gaap_PreferredStockValue_be14dd18-e95a-46f9-8865-df5dee748f1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_3ccfe4ba-5b71-41cd-82c3-e0326d2197a2" 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_9a4bae97-a058-446a-8412-af9696fe5172" xlink:to="loc_us-gaap_AdditionalPaidInCapital_3ccfe4ba-5b71-41cd-82c3-e0326d2197a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0d047b77-299e-433d-b340-884eddf68f02" 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_9a4bae97-a058-446a-8412-af9696fe5172" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0d047b77-299e-433d-b340-884eddf68f02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_4f8cf033-edc1-41c4-b244-3596244d68f8" 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_9a4bae97-a058-446a-8412-af9696fe5172" xlink:to="loc_us-gaap_CommonStockValue_4f8cf033-edc1-41c4-b244-3596244d68f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_f44e0f06-a60b-4a0a-847d-96aae3ba4f7b" 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_2087bc87-3215-456f-84b7-51e4ecfd9979" 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_f44e0f06-a60b-4a0a-847d-96aae3ba4f7b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2087bc87-3215-456f-84b7-51e4ecfd9979" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_142ce20c-18ee-4692-8bd7-3330575412c4" 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_f44e0f06-a60b-4a0a-847d-96aae3ba4f7b" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_142ce20c-18ee-4692-8bd7-3330575412c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_b1acc9db-98f9-4f74-81b2-dbccf4f20a4f" 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_f44e0f06-a60b-4a0a-847d-96aae3ba4f7b" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_b1acc9db-98f9-4f74-81b2-dbccf4f20a4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_99f5052d-95f0-4ec0-ad1e-82648a376b13" 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_3336368f-66f2-4663-bd0c-5b092d2b14a8" 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_99f5052d-95f0-4ec0-ad1e-82648a376b13" xlink:to="loc_us-gaap_AccountsPayableCurrent_3336368f-66f2-4663-bd0c-5b092d2b14a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_d0af6ec0-1546-4cf2-9a6b-39746978ffcc" 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_99f5052d-95f0-4ec0-ad1e-82648a376b13" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_d0af6ec0-1546-4cf2-9a6b-39746978ffcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_00a2b807-4958-4c15-a79e-9abe4f47107a" 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_1899d21d-4fee-45fb-85d9-fdb2fc0bba0f" 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_00a2b807-4958-4c15-a79e-9abe4f47107a" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1899d21d-4fee-45fb-85d9-fdb2fc0bba0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_ecf9d213-3acf-431f-b6d6-2df90fb8cae1" 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_00a2b807-4958-4c15-a79e-9abe4f47107a" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_ecf9d213-3acf-431f-b6d6-2df90fb8cae1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_640739c1-19b0-4151-9e3c-63cda52af476" 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_00a2b807-4958-4c15-a79e-9abe4f47107a" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_640739c1-19b0-4151-9e3c-63cda52af476" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_a97affaf-2712-44c2-9024-57e87ae8304d" 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_00a2b807-4958-4c15-a79e-9abe4f47107a" xlink:to="loc_us-gaap_LiabilitiesCurrent_a97affaf-2712-44c2-9024-57e87ae8304d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_eb5a8672-88d2-406d-a218-1598a14e6eee" 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_89fd2143-2eab-42d2-8c4a-bb6e26a4aeba" 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_eb5a8672-88d2-406d-a218-1598a14e6eee" xlink:to="loc_us-gaap_StockholdersEquity_89fd2143-2eab-42d2-8c4a-bb6e26a4aeba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_67c9b65f-fbdb-4c25-8e73-2de20f913e0e" 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_eb5a8672-88d2-406d-a218-1598a14e6eee" xlink:to="loc_us-gaap_Liabilities_67c9b65f-fbdb-4c25-8e73-2de20f913e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_fde6a5b4-1032-4278-8afc-c369f400a3e6" 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_eb5a8672-88d2-406d-a218-1598a14e6eee" xlink:to="loc_us-gaap_CommitmentsAndContingencies_fde6a5b4-1032-4278-8afc-c369f400a3e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_5c75424d-40e1-498d-97cd-33eeaaf9f4cf" 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_875d87b8-beab-48db-8c91-553e60e2ae5d" 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_5c75424d-40e1-498d-97cd-33eeaaf9f4cf" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_875d87b8-beab-48db-8c91-553e60e2ae5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_b5492dd1-85a0-4506-ad71-66071bfd0c54" 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_5c75424d-40e1-498d-97cd-33eeaaf9f4cf" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_b5492dd1-85a0-4506-ad71-66071bfd0c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_15e4add3-da62-42d5-9c5c-f0a3ee550bba" 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_5c75424d-40e1-498d-97cd-33eeaaf9f4cf" xlink:to="loc_us-gaap_AssetsCurrent_15e4add3-da62-42d5-9c5c-f0a3ee550bba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_5a842f5b-b5ac-4b3b-89ad-d69a128943bf" 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_5c75424d-40e1-498d-97cd-33eeaaf9f4cf" xlink:to="loc_us-gaap_Goodwill_5a842f5b-b5ac-4b3b-89ad-d69a128943bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StatementsofOperations" xlink:type="simple" xlink:href="exdx-20211231.xsd#StatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/StatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_04af03da-734c-4f5f-9f27-d74b7128de95" 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_943c6ce0-3b20-494c-a651-def3b85bf23a" 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_04af03da-734c-4f5f-9f27-d74b7128de95" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_943c6ce0-3b20-494c-a651-def3b85bf23a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_9fafc60c-f159-44d3-9a1c-90297d3d1e5d" 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_04af03da-734c-4f5f-9f27-d74b7128de95" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_9fafc60c-f159-44d3-9a1c-90297d3d1e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_7695f29a-c7d3-49eb-b83a-d0fbe807ec81" 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_04af03da-734c-4f5f-9f27-d74b7128de95" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_7695f29a-c7d3-49eb-b83a-d0fbe807ec81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d9fcca88-5fae-434f-94a0-3245209b14a8" 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_IncomeTaxExpenseBenefit_864e62ba-b747-4e0e-b3c5-d386450e79e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d9fcca88-5fae-434f-94a0-3245209b14a8" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_864e62ba-b747-4e0e-b3c5-d386450e79e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_eebc3457-3551-4dcb-b73b-98fe23895364" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d9fcca88-5fae-434f-94a0-3245209b14a8" xlink:to="loc_us-gaap_IncomeLossAttributableToParent_eebc3457-3551-4dcb-b73b-98fe23895364" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_cd94595d-f7e0-4244-9048-84cdd3e04d0c" 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_OtherNonoperatingIncomeExpense_7a1fcd82-c580-4912-921e-092bb9d237f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_cd94595d-f7e0-4244-9048-84cdd3e04d0c" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7a1fcd82-c580-4912-921e-092bb9d237f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_5c1de94c-f7e6-435f-b9cd-49b744618a4a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_cd94595d-f7e0-4244-9048-84cdd3e04d0c" xlink:to="loc_us-gaap_InterestExpense_5c1de94c-f7e6-435f-b9cd-49b744618a4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_b9a69536-fe94-45dc-85fc-69e1c5158ff3" 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_cd94595d-f7e0-4244-9048-84cdd3e04d0c" xlink:to="loc_us-gaap_OperatingIncomeLoss_b9a69536-fe94-45dc-85fc-69e1c5158ff3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_058184d9-8846-4f68-bacd-99ae010f5bf9" 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_a19d397f-6545-49aa-9961-d0209e609437" 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_058184d9-8846-4f68-bacd-99ae010f5bf9" xlink:to="loc_us-gaap_CostsAndExpenses_a19d397f-6545-49aa-9961-d0209e609437" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_c79bb8c3-fbfe-4c9e-8550-5b77cc9d2b09" 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_058184d9-8846-4f68-bacd-99ae010f5bf9" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_c79bb8c3-fbfe-4c9e-8550-5b77cc9d2b09" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StatementsofCashFlows" xlink:type="simple" xlink:href="exdx-20211231.xsd#StatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/StatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aef59ec7-3406-416b-b243-489fc35d2eb6" 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_f0da03a3-a3ae-4b59-bab5-afbfad718e24" 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_aef59ec7-3406-416b-b243-489fc35d2eb6" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_f0da03a3-a3ae-4b59-bab5-afbfad718e24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherProductiveAssets_e147c257-5679-4e08-bd59-4c8674289454" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireOtherProductiveAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aef59ec7-3406-416b-b243-489fc35d2eb6" xlink:to="loc_us-gaap_PaymentsToAcquireOtherProductiveAssets_e147c257-5679-4e08-bd59-4c8674289454" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" 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_NetIncomeLoss_7f4b75a5-9ef4-4839-a2b1-3a78b40e5019" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_NetIncomeLoss_7f4b75a5-9ef4-4839-a2b1-3a78b40e5019" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_a0f085b6-efc7-41a8-8a46-15140537ab1a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_ShareBasedCompensation_a0f085b6-efc7-41a8-8a46-15140537ab1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_b47e81ef-c58c-414a-a9e0-dec236715eda" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_b47e81ef-c58c-414a-a9e0-dec236715eda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_8e684c22-d3a5-4493-af86-6bb1500247a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_8e684c22-d3a5-4493-af86-6bb1500247a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_90b1b3f1-baf4-4ead-aa9f-5c76b1b0a5aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_90b1b3f1-baf4-4ead-aa9f-5c76b1b0a5aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_62f23d5b-c64d-45d1-8959-13065d1d5c22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_62f23d5b-c64d-45d1-8959-13065d1d5c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_27648b3d-c6cb-44fd-acd1-46c1ed5a2eb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_27648b3d-c6cb-44fd-acd1-46c1ed5a2eb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_30ba7524-9bc1-432c-91c3-bb6b29132fef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaidInKindInterest"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_PaidInKindInterest_30ba7524-9bc1-432c-91c3-bb6b29132fef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_ef241706-f28a-4490-a321-78c3c115c6c7" xlink:href="exdx-20211231.xsd#exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_ef241706-f28a-4490-a321-78c3c115c6c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_2ee3c669-5b29-45d2-b57a-67e946aac47b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_2ee3c669-5b29-45d2-b57a-67e946aac47b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_5ddedbbd-0ece-4e2d-a62f-499680af9166" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e426aa06-424f-41fb-9bfb-bb7683fdb43b" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_5ddedbbd-0ece-4e2d-a62f-499680af9166" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" 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_ProceedsFromStockOptionsExercised_a7d236aa-fd51-46eb-b413-4a43d91c9264" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_a7d236aa-fd51-46eb-b413-4a43d91c9264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_99fe5e77-978f-4dd6-bbef-e0dc06c937f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_us-gaap_ProceedsFromStockPlans_99fe5e77-978f-4dd6-bbef-e0dc06c937f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_9a822493-03ff-4f90-95f7-bdb914f3ab01" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_9a822493-03ff-4f90-95f7-bdb914f3ab01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_589cf806-2b17-43c9-9a92-40517521d832" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromWarrantExercises"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_589cf806-2b17-43c9-9a92-40517521d832" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActRepaymentsOfLoan_7bc152e9-5fdb-4c27-b5df-04fb42eeb4e5" xlink:href="exdx-20211231.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActRepaymentsOfLoan"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActRepaymentsOfLoan_7bc152e9-5fdb-4c27-b5df-04fb42eeb4e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan_3ded355a-c3c0-4e99-ad93-ec86cf853f00" xlink:href="exdx-20211231.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan_3ded355a-c3c0-4e99-ad93-ec86cf853f00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_c00a6f73-3ea6-4baf-9960-60eaee437667" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_c00a6f73-3ea6-4baf-9960-60eaee437667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_879f3240-4196-499f-a5b4-6f7847b6572d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f2a60e7a-aeb0-44d2-b735-4cc9455c5e5b" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_879f3240-4196-499f-a5b4-6f7847b6572d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_8d3e1226-9d7f-40f8-876f-87fd6ca14259" 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_4868149a-9d99-4ecc-8654-9f5cc1224cab" 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_8d3e1226-9d7f-40f8-876f-87fd6ca14259" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4868149a-9d99-4ecc-8654-9f5cc1224cab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_14741db4-443e-4d85-803e-0a1cb0eded79" 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_8d3e1226-9d7f-40f8-876f-87fd6ca14259" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_14741db4-443e-4d85-803e-0a1cb0eded79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_7a1008ae-3a66-447b-b1a5-e8edaa07984c" 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_8d3e1226-9d7f-40f8-876f-87fd6ca14259" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_7a1008ae-3a66-447b-b1a5-e8edaa07984c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryofSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="simple" xlink:href="exdx-20211231.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_c974ba06-757e-4517-81e4-cba532700ec6" 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_c24efea4-29bb-4925-a574-0ff70251834f" 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_c974ba06-757e-4517-81e4-cba532700ec6" xlink:to="loc_us-gaap_RestrictedCash_c24efea4-29bb-4925-a574-0ff70251834f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5530ee0f-e468-45ee-9e12-ac62b0703eac" 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_c974ba06-757e-4517-81e4-cba532700ec6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5530ee0f-e468-45ee-9e12-ac62b0703eac" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPrepaidExpensesDetails" xlink:type="simple" xlink:href="exdx-20211231.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_380f933d-8e44-401b-abef-72a39979417b" 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_us-gaap_OtherAssetsCurrent_1ac41604-146b-4cda-8060-6063a440bd85" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_380f933d-8e44-401b-abef-72a39979417b" xlink:to="loc_us-gaap_OtherAssetsCurrent_1ac41604-146b-4cda-8060-6063a440bd85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidRoyalties_2c03b5f1-d7d3-4921-8624-0a14669de285" 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_380f933d-8e44-401b-abef-72a39979417b" xlink:to="loc_us-gaap_PrepaidRoyalties_2c03b5f1-d7d3-4921-8624-0a14669de285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_PrepaidMaintenanceAndInsuranceContracts_0a10ec7f-77da-48b2-8048-14dbea8d1fd4" xlink:href="exdx-20211231.xsd#exdx_PrepaidMaintenanceAndInsuranceContracts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_380f933d-8e44-401b-abef-72a39979417b" xlink:to="loc_exdx_PrepaidMaintenanceAndInsuranceContracts_0a10ec7f-77da-48b2-8048-14dbea8d1fd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPrepaidExpenseCurrent_51616f81-bd72-481d-b811-43aca23a45d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherPrepaidExpenseCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_380f933d-8e44-401b-abef-72a39979417b" xlink:to="loc_us-gaap_OtherPrepaidExpenseCurrent_51616f81-bd72-481d-b811-43aca23a45d6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPropertyandEquipmentDetails" xlink:type="simple" xlink:href="exdx-20211231.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_9c25a442-6e1f-4ece-97ab-a30ec99df188" 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_b03a2e10-c1b1-4e0f-b40c-21280608eaa2" 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_9c25a442-6e1f-4ece-97ab-a30ec99df188" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_b03a2e10-c1b1-4e0f-b40c-21280608eaa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_85b5502d-0664-4096-8e8d-b5c59f4a8d74" 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_9c25a442-6e1f-4ece-97ab-a30ec99df188" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_85b5502d-0664-4096-8e8d-b5c59f4a8d74" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="exdx-20211231.xsd#OtherFinancialInformationAccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationAccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_eb1f070a-ea5f-41fd-9631-457e24a4946a" 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_ceeb85be-e4bf-4625-bb1a-10d700a69a3f" 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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_us-gaap_AccruedSalariesCurrent_ceeb85be-e4bf-4625-bb1a-10d700a69a3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AccruedLiabilitiesClinicalStudyCurrent_df4d293d-2860-4e80-9ca1-d475d4786e88" xlink:href="exdx-20211231.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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_exdx_AccruedLiabilitiesClinicalStudyCurrent_df4d293d-2860-4e80-9ca1-d475d4786e88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeaseObligationsCurrent_7e60c261-e97a-4063-b591-ddc8906d3cba" 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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_us-gaap_CapitalLeaseObligationsCurrent_7e60c261-e97a-4063-b591-ddc8906d3cba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AccruedPurchaseGoodsAndServicesCurrent_7d25e551-753c-4f07-ae5a-7c07ea42b136" xlink:href="exdx-20211231.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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_exdx_AccruedPurchaseGoodsAndServicesCurrent_7d25e551-753c-4f07-ae5a-7c07ea42b136" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_1d3d414f-6340-4478-8cef-e78d90bd7356" 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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_us-gaap_InterestPayableCurrent_1d3d414f-6340-4478-8cef-e78d90bd7356" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRoyaltiesCurrent_fb213a4c-b54f-46ab-97f9-3c1662eb938e" 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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_us-gaap_AccruedRoyaltiesCurrent_fb213a4c-b54f-46ab-97f9-3c1662eb938e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_34f1db01-9760-450d-b623-7e99c4bbde96" 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_eb1f070a-ea5f-41fd-9631-457e24a4946a" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_34f1db01-9760-450d-b623-7e99c4bbde96" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="simple" xlink:href="exdx-20211231.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_31b45053-6be1-47c9-93a3-1676b7e21b6e" xlink:href="exdx-20211231.xsd#exdx_LongTermDebtIncludingUndiscountedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d88b27a5-8ca2-4ebc-9c0a-54481f6413c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_31b45053-6be1-47c9-93a3-1676b7e21b6e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d88b27a5-8ca2-4ebc-9c0a-54481f6413c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_5646a882-491a-4847-8bbc-f4926bf272ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_31b45053-6be1-47c9-93a3-1676b7e21b6e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_5646a882-491a-4847-8bbc-f4926bf272ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_47895c60-5083-4dab-8496-e0f228fb6a11" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_31b45053-6be1-47c9-93a3-1676b7e21b6e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_47895c60-5083-4dab-8496-e0f228fb6a11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_db34a9ba-3925-43ae-b241-3fddba855de6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_31b45053-6be1-47c9-93a3-1676b7e21b6e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_db34a9ba-3925-43ae-b241-3fddba855de6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_28f74419-abda-450b-9e78-f36e5c5e3c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_exdx_LongTermDebtIncludingUndiscountedInterest_31b45053-6be1-47c9-93a3-1676b7e21b6e" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_28f74419-abda-450b-9e78-f36e5c5e3c1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_b3139c7d-76b2-4e4b-8ab6-37b7c0bb4c68" 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_84f72fbc-7954-410b-bf53-4376fa1bbdbe" 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_b3139c7d-76b2-4e4b-8ab6-37b7c0bb4c68" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_84f72fbc-7954-410b-bf53-4376fa1bbdbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtUndiscountedInterestAmount_614622b0-ecdf-4c69-842b-f1b17ded4a00" xlink:href="exdx-20211231.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_b3139c7d-76b2-4e4b-8ab6-37b7c0bb4c68" xlink:to="loc_exdx_LongTermDebtUndiscountedInterestAmount_614622b0-ecdf-4c69-842b-f1b17ded4a00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LongTermDebtIncludingUndiscountedInterest_79c6d13e-fe7e-4233-a55e-3c1c4f39c4e9" xlink:href="exdx-20211231.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_b3139c7d-76b2-4e4b-8ab6-37b7c0bb4c68" xlink:to="loc_exdx_LongTermDebtIncludingUndiscountedInterest_79c6d13e-fe7e-4233-a55e-3c1c4f39c4e9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails" xlink:type="simple" xlink:href="exdx-20211231.xsd#CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_2bf37a26-a437-4f5a-91c2-db034827c337" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_2bf37a26-a437-4f5a-91c2-db034827c337" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_47f4c068-50a3-49cc-84cc-deb6523dd4b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_47f4c068-50a3-49cc-84cc-deb6523dd4b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_3a6628bf-f506-468b-9498-7d924ac5539b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_3a6628bf-f506-468b-9498-7d924ac5539b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_0fe0ed1a-edff-41c9-9a35-d9386de41feb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_0fe0ed1a-edff-41c9-9a35-d9386de41feb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_62922174-f72d-4222-aa4c-e2070f180185" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_62922174-f72d-4222-aa4c-e2070f180185" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_eaa64479-a51b-4061-8c6d-ae3c00717b23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_bc58dae7-e9f4-40aa-bd89-5b1c7d14c047" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_eaa64479-a51b-4061-8c6d-ae3c00717b23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_2112fbf1-86cb-434e-a4dd-86cfb0ec661a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_5e13cb49-4249-4e92-b8f6-53e6f0002cd0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_2112fbf1-86cb-434e-a4dd-86cfb0ec661a" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_5e13cb49-4249-4e92-b8f6-53e6f0002cd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_7aae514b-93b9-4e93-acab-243fad80531d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_2112fbf1-86cb-434e-a4dd-86cfb0ec661a" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_7aae514b-93b9-4e93-acab-243fad80531d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent_a2588858-4f00-4e13-a832-9090ccc9cc71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent_a2588858-4f00-4e13-a832-9090ccc9cc71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_c11d13d2-2b85-4f4a-9cca-430c3f553595" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_c11d13d2-2b85-4f4a-9cca-430c3f553595" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_662baf73-876e-4f64-9e53-575004be4bde" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_662baf73-876e-4f64-9e53-575004be4bde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_d6cafa50-1f45-4d1b-b552-1eb4f692b53a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_d6cafa50-1f45-4d1b-b552-1eb4f692b53a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_653f0e94-fda8-44cb-8e7d-1dc7a5742628" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_653f0e94-fda8-44cb-8e7d-1dc7a5742628" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_096eb6ff-5f9c-4d76-b1e5-794b09857f36" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_9cb2d73d-4a1e-4570-a45e-5ecd29086d44" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_096eb6ff-5f9c-4d76-b1e5-794b09857f36" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails_1" xlink:type="simple" xlink:href="exdx-20211231.xsd#CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails_1"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_dad92253-50e4-4c66-b305-ac65f9a66a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeaseObligationsCurrent_d66edc01-7512-4923-97ad-34d4a37abcb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_dad92253-50e4-4c66-b305-ac65f9a66a9a" xlink:to="loc_us-gaap_CapitalLeaseObligationsCurrent_d66edc01-7512-4923-97ad-34d4a37abcb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalLeaseObligationsNoncurrent_28504f8e-5143-4f37-a78a-521de0f0fa52" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalLeaseObligationsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_dad92253-50e4-4c66-b305-ac65f9a66a9a" xlink:to="loc_us-gaap_CapitalLeaseObligationsNoncurrent_28504f8e-5143-4f37-a78a-521de0f0fa52" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="exdx-20211231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e6f29863-ba2b-4d65-8eae-1568d8c4129f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_ed5140ea-efad-435d-b776-d7e6b3d1dfdf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e6f29863-ba2b-4d65-8eae-1568d8c4129f" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_ed5140ea-efad-435d-b776-d7e6b3d1dfdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_f8348724-407a-4bc2-81c6-d514e2056b4e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e6f29863-ba2b-4d65-8eae-1568d8c4129f" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_f8348724-407a-4bc2-81c6-d514e2056b4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9eae60a3-57e8-4efa-bef7-dedb2fdb40aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_45a32cb0-6218-42b8-b37e-c7c5ccab38c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9eae60a3-57e8-4efa-bef7-dedb2fdb40aa" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_45a32cb0-6218-42b8-b37e-c7c5ccab38c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_827b1acc-7b3e-440b-acad-ef7f3b1661e4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9eae60a3-57e8-4efa-bef7-dedb2fdb40aa" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_827b1acc-7b3e-440b-acad-ef7f3b1661e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3fb52b4f-dc02-4f8e-bd54-9d2da32f3460" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_26d77358-f968-4fc6-8134-56628551f982" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3fb52b4f-dc02-4f8e-bd54-9d2da32f3460" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_26d77358-f968-4fc6-8134-56628551f982" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_1adebd1a-198b-497d-8ad5-159a61bf1f73" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_3fb52b4f-dc02-4f8e-bd54-9d2da32f3460" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_1adebd1a-198b-497d-8ad5-159a61bf1f73" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="exdx-20211231.xsd#IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_65eae28e-732f-4946-9282-208891ced95c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_65eae28e-732f-4946-9282-208891ced95c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_0c24d6e4-77eb-4d8f-82bf-e256c7864d14" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_0c24d6e4-77eb-4d8f-82bf-e256c7864d14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_6af40db9-915a-42d8-9171-a55ad082e93c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_6af40db9-915a-42d8-9171-a55ad082e93c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_b5bd2cb6-06d8-4d99-89e4-b6ca03434888" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_b5bd2cb6-06d8-4d99-89e4-b6ca03434888" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_4a6757d8-e266-4a6f-b824-a15fa46a8181" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_4a6757d8-e266-4a6f-b824-a15fa46a8181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_bfb2bbaa-ec11-4f98-8872-1fa380c935e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_bfb2bbaa-ec11-4f98-8872-1fa380c935e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_5728f468-1659-4732-b04b-8654ed2fc5ad" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_a712e2b3-545a-4ef0-b7a1-b806645b43de" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_5728f468-1659-4732-b04b-8654ed2fc5ad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="exdx-20211231.xsd#IncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.exagen.com/role/IncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_7b9719f3-fbad-432d-ad5a-846077744db3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_633935a3-fb74-470d-8a82-4d7c2607dec5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_7b9719f3-fbad-432d-ad5a-846077744db3" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_633935a3-fb74-470d-8a82-4d7c2607dec5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_2769590a-48be-4e93-9d50-15c5a04cd6d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_7b9719f3-fbad-432d-ad5a-846077744db3" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_2769590a-48be-4e93-9d50-15c5a04cd6d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_b1e19d22-a9c9-49be-8b22-8b48de238a04" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesFinancingArrangements_70b6f4d4-d10f-483b-942b-85af2f60f52b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesFinancingArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_b1e19d22-a9c9-49be-8b22-8b48de238a04" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesFinancingArrangements_70b6f4d4-d10f-483b-942b-85af2f60f52b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DeferredTaxLiabilitiesFixedAssetsAndIntangibleAssets_aba1e8a8-c4de-4621-8c77-60c2049b43dc" xlink:href="exdx-20211231.xsd#exdx_DeferredTaxLiabilitiesFixedAssetsAndIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_b1e19d22-a9c9-49be-8b22-8b48de238a04" xlink:to="loc_exdx_DeferredTaxLiabilitiesFixedAssetsAndIntangibleAssets_aba1e8a8-c4de-4621-8c77-60c2049b43dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_bfb88788-4f53-471f-b679-eb795c0bfa80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_b1e19d22-a9c9-49be-8b22-8b48de238a04" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_bfb88788-4f53-471f-b679-eb795c0bfa80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_761e8a2d-c85f-45f9-ba5e-81fb435b9cd6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_761e8a2d-c85f-45f9-ba5e-81fb435b9cd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_29699b10-4b8a-4059-8adc-c43f48e3ac35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_29699b10-4b8a-4059-8adc-c43f48e3ac35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_50a9434b-c30e-4c3d-9ef4-fbccc7dc6ade" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_50a9434b-c30e-4c3d-9ef4-fbccc7dc6ade" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_ad977c31-cd22-45d7-aeae-27601e006bcb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_ad977c31-cd22-45d7-aeae-27601e006bcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLossReserves_07d4c5dd-b06a-440f-a50e-5ce0c397291d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLossReserves"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsLossReserves_07d4c5dd-b06a-440f-a50e-5ce0c397291d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_a5e92acb-268b-4c4b-ba11-8c659f91a638" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d69fc7bb-3ef6-4334-bbae-aaa9c27cf96e" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_a5e92acb-268b-4c4b-ba11-8c659f91a638" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_0b915158-0f02-484b-9a5b-fedb160eb36c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d1f16437-e988-408a-b86e-e93303f839b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_0b915158-0f02-484b-9a5b-fedb160eb36c" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_d1f16437-e988-408a-b86e-e93303f839b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_7fdd36fe-cb47-4d7a-902c-6c3ef752396e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_0b915158-0f02-484b-9a5b-fedb160eb36c" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_7fdd36fe-cb47-4d7a-902c-6c3ef752396e" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
