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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e1ddd-82df-77aa-b7b4-0542aefc9531,g:61235a56-fdcf-40a7-bba5-d655936cd20f-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="dnli-20260630.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7afa-b0c0-44363243e5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValueOutstanding_019e1ddd-8488-7245-ab26-d968e73de8e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7afa-b0c0-44363243e5f5" xlink:to="loc_us-gaap_PreferredStockValueOutstanding_019e1ddd-8488-7245-ab26-d968e73de8e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_019e1ddd-8488-72b4-961c-0d325924a156" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7afa-b0c0-44363243e5f5" xlink:to="loc_us-gaap_CommonStockValueOutstanding_019e1ddd-8488-72b4-961c-0d325924a156" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e1ddd-8488-74e0-a61a-8989fee78002" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7afa-b0c0-44363243e5f5" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e1ddd-8488-74e0-a61a-8989fee78002" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e1ddd-8488-7245-8791-3f662b33c170" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7afa-b0c0-44363243e5f5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e1ddd-8488-7245-8791-3f662b33c170" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e1ddd-8488-7b2e-978e-c79487f489fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7afa-b0c0-44363243e5f5" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e1ddd-8488-7b2e-978e-c79487f489fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e1ddd-8488-7128-9968-4b26c9b73c5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019e1ddd-8488-7586-937c-a26b670afb98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e1ddd-8488-7128-9968-4b26c9b73c5c" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e1ddd-8488-7586-937c-a26b670afb98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8488-765f-8ad3-0aa7d3a62210" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e1ddd-8488-7128-9968-4b26c9b73c5c" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8488-765f-8ad3-0aa7d3a62210" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e1ddd-8488-738a-bfa7-f72cf42edfa6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e1ddd-8488-7021-b692-3dafce8afc61" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e1ddd-8488-738a-bfa7-f72cf42edfa6" xlink:to="loc_us-gaap_Liabilities_019e1ddd-8488-7021-b692-3dafce8afc61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e1ddd-8488-77b0-a35b-24ba542dbd85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e1ddd-8488-738a-bfa7-f72cf42edfa6" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e1ddd-8488-77b0-a35b-24ba542dbd85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7400-bcb7-52f904936bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e1ddd-8488-738a-bfa7-f72cf42edfa6" xlink:to="loc_us-gaap_StockholdersEquity_019e1ddd-8488-7400-bcb7-52f904936bf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e1ddd-8488-76c0-92c8-383b2788bf1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e1ddd-8488-78c2-86aa-aa777b6b1d9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e1ddd-8488-76c0-92c8-383b2788bf1c" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e1ddd-8488-78c2-86aa-aa777b6b1d9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_019e1ddd-8488-747d-9881-d81107cc1f16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e1ddd-8488-76c0-92c8-383b2788bf1c" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_019e1ddd-8488-747d-9881-d81107cc1f16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e1ddd-8488-71aa-a820-6be16f081c24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e1ddd-8488-76c0-92c8-383b2788bf1c" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e1ddd-8488-71aa-a820-6be16f081c24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019f3a26-4065-7c51-bc9c-d176f1fa4a1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e1ddd-8488-76c0-92c8-383b2788bf1c" xlink:to="loc_us-gaap_InventoryNet_019f3a26-4065-7c51-bc9c-d176f1fa4a1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019f3a26-4065-73ca-877d-b1c03159ba03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e1ddd-8488-76c0-92c8-383b2788bf1c" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019f3a26-4065-73ca-877d-b1c03159ba03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e1ddd-8488-7f56-b825-c351dc9a34fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_AssetsCurrent_019e1ddd-8488-7f56-b825-c351dc9a34fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_019e1ddd-8488-7917-9f9f-0e68ccc48721" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_019e1ddd-8488-7917-9f9f-0e68ccc48721" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e1ddd-8488-7d02-8f3f-110562bcff5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e1ddd-8488-7d02-8f3f-110562bcff5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_019e1ddd-8488-750b-b05e-dd5c56e24de5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_019e1ddd-8488-750b-b05e-dd5c56e24de5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e1ddd-8488-7d87-a1e0-883463210cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e1ddd-8488-7d87-a1e0-883463210cb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e1ddd-8488-7433-b5f2-f947b8436dac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e1ddd-8488-7433-b5f2-f947b8436dac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e1ddd-8488-7102-8f97-7b170d670355" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e1ddd-8488-78e1-887c-423dfa405474" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e1ddd-8488-7102-8f97-7b170d670355" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e1ddd-8488-7f11-b495-4fb61692d240" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e1ddd-8488-7df8-a3ab-91465c6f108c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e1ddd-8488-7f11-b495-4fb61692d240" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e1ddd-8488-7df8-a3ab-91465c6f108c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e1ddd-8488-74ae-94d0-1b2ec1a2258e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e1ddd-8488-7f11-b495-4fb61692d240" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e1ddd-8488-74ae-94d0-1b2ec1a2258e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e1ddd-8488-7433-aef2-ffa9aa6d592a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e1ddd-8488-7f11-b495-4fb61692d240" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e1ddd-8488-7433-aef2-ffa9aa6d592a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_RoyaltyFundingArrangementLiabilityNoncurrent_019e1ddd-8488-7b9b-8843-f66ace610036" xlink:href="dnli-20260630.xsd#dnli_RoyaltyFundingArrangementLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e1ddd-8488-7f11-b495-4fb61692d240" xlink:to="loc_dnli_RoyaltyFundingArrangementLiabilityNoncurrent_019e1ddd-8488-7b9b-8843-f66ace610036" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveLossUnaudited" xlink:type="simple" xlink:href="dnli-20260630.xsd#CondensedConsolidatedStatementsofOperationsandComprehensiveLossUnaudited"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveLossUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8488-7f3a-9854-558f8b87586b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019f3a2d-1430-7a8e-9df8-02705ca752fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8488-7f3a-9854-558f8b87586b" xlink:to="loc_us-gaap_CostsAndExpenses_019f3a2d-1430-7a8e-9df8-02705ca752fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e1ddd-8488-7558-9ed2-cb792ae3885a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8488-7f3a-9854-558f8b87586b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e1ddd-8488-7558-9ed2-cb792ae3885a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e1ddd-8488-713e-86bc-28c910e31c19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e1ddd-8488-7f0d-b4b9-1edc3a23c81d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e1ddd-8488-713e-86bc-28c910e31c19" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e1ddd-8488-7f0d-b4b9-1edc3a23c81d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e1ddd-8488-7d65-a0dc-2ab6e99c2ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e1ddd-8488-713e-86bc-28c910e31c19" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e1ddd-8488-7d65-a0dc-2ab6e99c2ae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019f3a2c-e089-777c-915b-f5f065d523a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e1ddd-8488-713e-86bc-28c910e31c19" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019f3a2c-e089-777c-915b-f5f065d523a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019f3a2c-e089-753f-bcb8-feaa8e94982a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e1ddd-8488-713e-86bc-28c910e31c19" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019f3a2c-e089-753f-bcb8-feaa8e94982a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7b49-8541-36cbfce58fa0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_019e1ddd-8488-70a1-8c96-422ce6b53615" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7b49-8541-36cbfce58fa0" xlink:to="loc_us-gaap_InterestAndOtherIncome_019e1ddd-8488-70a1-8c96-422ce6b53615" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8488-7e41-be74-de51dfeb1d74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7b49-8541-36cbfce58fa0" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8488-7e41-be74-de51dfeb1d74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e1ddd-8488-785c-8edb-e26030fabd4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax_019e1ddd-8488-7666-95d6-9b7ae63b11f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e1ddd-8488-785c-8edb-e26030fabd4d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax_019e1ddd-8488-7666-95d6-9b7ae63b11f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7598-844a-5256910d7805" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e1ddd-8488-785c-8edb-e26030fabd4d" xlink:to="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7598-844a-5256910d7805" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="dnli-20260630.xsd#CondensedConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-75b3-9a6d-e5ee3b262518" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e1ddd-8488-7dd1-9435-66548778dda1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-75b3-9a6d-e5ee3b262518" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e1ddd-8488-7dd1-9435-66548778dda1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_ProceedsFromSaleOfRevenueParticipationRight_019e1ddd-8488-7935-8169-21f24370c0d2" xlink:href="dnli-20260630.xsd#dnli_ProceedsFromSaleOfRevenueParticipationRight"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-75b3-9a6d-e5ee3b262518" xlink:to="loc_dnli_ProceedsFromSaleOfRevenueParticipationRight_019e1ddd-8488-7935-8169-21f24370c0d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e1ddd-8488-7b28-a5d9-8645a8089b69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-75b3-9a6d-e5ee3b262518" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_019e1ddd-8488-7b28-a5d9-8645a8089b69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_019e1ddd-8488-7107-8933-56aea2d33884" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-75b3-9a6d-e5ee3b262518" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_019e1ddd-8488-7107-8933-56aea2d33884" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-72f4-a38a-e6dfc518c980" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019e1ddd-8488-7805-a9ab-5b8ceda5fe60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-72f4-a38a-e6dfc518c980" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019e1ddd-8488-7805-a9ab-5b8ceda5fe60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019e1ddd-8488-7c7e-94cf-6fed41187f63" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-72f4-a38a-e6dfc518c980" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019e1ddd-8488-7c7e-94cf-6fed41187f63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e1ddd-8488-7bfd-af36-13f53ba55dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-72f4-a38a-e6dfc518c980" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e1ddd-8488-7bfd-af36-13f53ba55dcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019f3a32-2b3c-735c-92f4-b5ea5d89ef92" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-72f4-a38a-e6dfc518c980" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_019f3a32-2b3c-735c-92f4-b5ea5d89ef92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e1ddd-8488-776c-ad97-394fb67f66d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7531-90dd-fa306a6fdf07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e1ddd-8488-776c-ad97-394fb67f66d4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7531-90dd-fa306a6fdf07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-7f11-b4bd-8577d614e64b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e1ddd-8488-776c-ad97-394fb67f66d4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e1ddd-8488-7f11-b4bd-8577d614e64b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-71ed-af1a-c8b1b6e5f85a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e1ddd-8488-776c-ad97-394fb67f66d4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e1ddd-8488-71ed-af1a-c8b1b6e5f85a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7945-8c74-ec61af70a61d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_NetIncomeLoss_019e1ddd-8488-7945-8c74-ec61af70a61d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e1ddd-8488-74a2-8460-6dbff8cae6bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e1ddd-8488-74a2-8460-6dbff8cae6bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e1ddd-8488-7f8c-9e23-bcb530d9fe80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_ShareBasedCompensation_019e1ddd-8488-7f8c-9e23-bcb530d9fe80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeAmortizationOfDiscount_019e1ddd-8488-7d38-8d29-c89711dcb5b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeAmortizationOfDiscount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_InvestmentIncomeAmortizationOfDiscount_019e1ddd-8488-7d38-8d29-c89711dcb5b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense_019e1ddd-8488-7334-ab20-fa12fbcf82b6" xlink:href="dnli-20260630.xsd#dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense_019e1ddd-8488-7334-ab20-fa12fbcf82b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019e1ddd-8488-7948-8ba9-f7d2b5b458f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019e1ddd-8488-7948-8ba9-f7d2b5b458f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_RoyaltyFundingArrangementNoncashInterestExpense_019e1ddd-8488-70fd-bc82-5673f126adb7" xlink:href="dnli-20260630.xsd#dnli_RoyaltyFundingArrangementNoncashInterestExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_dnli_RoyaltyFundingArrangementNoncashInterestExpense_019e1ddd-8488-70fd-bc82-5673f126adb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e1ddd-8488-7586-807e-0a90544fa6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e1ddd-8488-7586-807e-0a90544fa6fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e1ddd-8488-7e09-bc04-8397b27f95f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e1ddd-8488-7e09-bc04-8397b27f95f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e1ddd-8488-79c3-b64c-24e9a87fb653" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e1ddd-8488-79c3-b64c-24e9a87fb653" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e1ddd-8488-7db9-ab68-b52ad4d2e13c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e1ddd-8488-7db9-ab68-b52ad4d2e13c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019e1ddd-8488-7e70-a2a8-1882ef9e85b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_019e1ddd-8488-7e70-a2a8-1882ef9e85b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019f449b-59aa-725f-90bb-3d75aff5379c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019f449b-59aa-725f-90bb-3d75aff5379c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019f449b-59aa-7f6a-807d-d70b3ba73cf6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019f449b-59aa-7f6a-807d-d70b3ba73cf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts_019f449b-59aa-737a-8560-ccb21897b973" xlink:href="dnli-20260630.xsd#dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e1ddd-8488-7552-bfae-8e157d557351" xlink:to="loc_dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts_019f449b-59aa-737a-8560-ccb21897b973" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e1ddd-8488-7428-8d27-c96d6f5d5407" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e1ddd-8488-7937-a484-6027cb60b5f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e1ddd-8488-7428-8d27-c96d6f5d5407" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e1ddd-8488-7937-a484-6027cb60b5f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e1ddd-8488-7933-a144-13be1f91c5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e1ddd-8488-7428-8d27-c96d6f5d5407" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e1ddd-8488-7933-a144-13be1f91c5f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019e1ddd-8488-7da5-b4d2-53e3ff41e65e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e1ddd-8488-7428-8d27-c96d6f5d5407" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_019e1ddd-8488-7da5-b4d2-53e3ff41e65e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e1ddd-8488-70f6-b3ff-9086fab79d73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e1ddd-8488-7502-ab0d-088ae39b187c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e1ddd-8488-70f6-b3ff-9086fab79d73" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e1ddd-8488-7502-ab0d-088ae39b187c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e1ddd-8488-7624-a759-8bfa2ff220c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e1ddd-8488-70f6-b3ff-9086fab79d73" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e1ddd-8488-7624-a759-8bfa2ff220c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e1ddd-8488-7d25-bd6e-f1e3073e24a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e1ddd-8488-70f6-b3ff-9086fab79d73" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e1ddd-8488-7d25-bd6e-f1e3073e24a4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/InventoryDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#InventoryDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/InventoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019f3a42-6bac-7fc2-b49f-0130b2d6c0bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019f3a42-6bad-7836-8da4-e9aca575db6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019f3a42-6bac-7fc2-b49f-0130b2d6c0bd" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019f3a42-6bad-7836-8da4-e9aca575db6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019f3a42-6bad-796a-afe3-638a0381c45f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019f3a42-6bac-7fc2-b49f-0130b2d6c0bd" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019f3a42-6bad-796a-afe3-638a0381c45f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019f3a42-6bad-746a-b1e1-a3ba29b9ee5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019f3a42-6bac-7fc2-b49f-0130b2d6c0bd" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019f3a42-6bad-746a-b1e1-a3ba29b9ee5d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/IntangibleAssetsScheduleofFutureAnnualAmortizationExpenseDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#IntangibleAssetsScheduleofFutureAnnualAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/IntangibleAssetsScheduleofFutureAnnualAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019f3fd6-0565-7e2e-8afe-c3cef36dc530" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019f3fd6-0565-7e2e-8afe-c3cef36dc530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019f3fd6-0565-7596-a1ca-8dbf9c118904" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019f3fd6-0565-7596-a1ca-8dbf9c118904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019f3fd6-0565-73df-94e1-e11a340cf02c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019f3fd6-0565-73df-94e1-e11a340cf02c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019f3fd6-0565-7089-88e3-b2acf599567b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019f3fd6-0565-7089-88e3-b2acf599567b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019f3fd6-0565-7ee3-9119-7dd522490209" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019f3fd6-0565-7ee3-9119-7dd522490209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IntangibleAssetFiniteLivedEstimatedAmortizationExpenseAfterYearFour_019f3fd6-0565-7ac2-805c-bcb48c6c7847" xlink:href="dnli-20260630.xsd#dnli_IntangibleAssetFiniteLivedEstimatedAmortizationExpenseAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f3fd6-0565-71b6-8116-50bb75e54275" xlink:to="loc_dnli_IntangibleAssetFiniteLivedEstimatedAmortizationExpenseAfterYearFour_019f3fd6-0565-7ac2-805c-bcb48c6c7847" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#BalanceSheetComponentsScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e1ddd-8489-7f14-882b-a4fb4df44058" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e1ddd-8489-7f14-882b-a4fb4df44058" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_AccruedClinicalAndOtherAccruedResearchAndDevelopmentCosts_019e1ddd-8489-7292-b65f-61ed8eb39782" xlink:href="dnli-20260630.xsd#dnli_AccruedClinicalAndOtherAccruedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_dnli_AccruedClinicalAndOtherAccruedResearchAndDevelopmentCosts_019e1ddd-8489-7292-b65f-61ed8eb39782" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_AccruedManufacturingCosts_019e1ddd-8489-79c4-87e1-2b2e9a266328" xlink:href="dnli-20260630.xsd#dnli_AccruedManufacturingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_dnli_AccruedManufacturingCosts_019e1ddd-8489-79c4-87e1-2b2e9a266328" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e1ddd-8489-776d-a3a6-6ea4849b8df3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e1ddd-8489-776d-a3a6-6ea4849b8df3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e1ddd-8489-7549-b5f4-c7860323e35a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e1ddd-8489-7549-b5f4-c7860323e35a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_DeferredResearchAndDevelopmentFundingLiabilityCurrent_019e1ddd-8489-71de-b5a3-8735b720136c" xlink:href="dnli-20260630.xsd#dnli_DeferredResearchAndDevelopmentFundingLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_dnli_DeferredResearchAndDevelopmentFundingLiabilityCurrent_019e1ddd-8489-71de-b5a3-8735b720136c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019e1ddd-8489-7cca-8603-44eaedf65f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e1ddd-8489-75bc-bbad-fc458fbb1fb8" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019e1ddd-8489-7cca-8603-44eaedf65f0b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofSummarizesLeaseCostsDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#CommitmentsandContingenciesScheduleofSummarizesLeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofSummarizesLeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_019e1ddd-8489-7122-a3a2-5eed0d6728d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019e1ddd-8489-7f46-98f7-7addefaeefb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019e1ddd-8489-7122-a3a2-5eed0d6728d5" xlink:to="loc_us-gaap_OperatingLeaseCost_019e1ddd-8489-7f46-98f7-7addefaeefb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019e1ddd-8489-711b-be71-a054708fa853" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019e1ddd-8489-7122-a3a2-5eed0d6728d5" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019e1ddd-8489-711b-be71-a054708fa853" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_019e1ddd-8489-708e-96cf-8f6ad2713afa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019e1ddd-8489-7122-a3a2-5eed0d6728d5" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_019e1ddd-8489-708e-96cf-8f6ad2713afa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_019e1ddd-8489-79b8-a80e-e3e736190f35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019e1ddd-8489-7122-a3a2-5eed0d6728d5" xlink:to="loc_us-gaap_VariableLeaseCost_019e1ddd-8489-79b8-a80e-e3e736190f35" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/NetLossPerShareScheduleofComputationofBasicandDilutedNetLossPerShareDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#NetLossPerShareScheduleofComputationofBasicandDilutedNetLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/NetLossPerShareScheduleofComputationofBasicandDilutedNetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e1ddd-8489-78c6-b3bb-6c6c249faf07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_019e1ddd-8489-7294-9530-5b36e21043ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e1ddd-8489-78c6-b3bb-6c6c249faf07" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_019e1ddd-8489-7294-9530-5b36e21043ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_019e1ddd-8489-700b-92b6-af2886134cf3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e1ddd-8489-78c6-b3bb-6c6c249faf07" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_019e1ddd-8489-700b-92b6-af2886134cf3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e1ddd-8489-72cd-8d12-37c088c2bdb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_019e1ddd-8489-7697-bc28-20d515fe6205" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e1ddd-8489-72cd-8d12-37c088c2bdb2" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_019e1ddd-8489-7697-bc28-20d515fe6205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_019e1ddd-8489-7e13-b318-4166b616d117" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e1ddd-8489-72cd-8d12-37c088c2bdb2" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_019e1ddd-8489-7e13-b318-4166b616d117" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/SegmentInformationDetails" xlink:type="simple" xlink:href="dnli-20260630.xsd#SegmentInformationDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/SegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e1ddd-8489-7cf2-8b47-5341ebb8d6d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PersonnelRelatedSellingGeneralAndAdministrativeExpense_019e1ddd-8489-777f-9c9d-d37d3540b426" xlink:href="dnli-20260630.xsd#dnli_PersonnelRelatedSellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e1ddd-8489-7cf2-8b47-5341ebb8d6d5" xlink:to="loc_dnli_PersonnelRelatedSellingGeneralAndAdministrativeExpense_019e1ddd-8489-777f-9c9d-d37d3540b426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSellingGeneralAndAdministrativeExpense_019e1ddd-8489-7b05-92aa-dd6524fe5837" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherSellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e1ddd-8489-7cf2-8b47-5341ebb8d6d5" xlink:to="loc_us-gaap_OtherSellingGeneralAndAdministrativeExpense_019e1ddd-8489-7b05-92aa-dd6524fe5837" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_019e1ddd-8489-7a4a-a909-a0cf82709659" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_019e1ddd-8489-7405-912e-999e2026f308" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_019e1ddd-8489-7a4a-a909-a0cf82709659" xlink:to="loc_us-gaap_InterestAndOtherIncome_019e1ddd-8489-7405-912e-999e2026f308" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8489-7909-ba92-2db4af086dc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_019e1ddd-8489-7a4a-a909-a0cf82709659" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e1ddd-8489-7909-ba92-2db4af086dc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e1ddd-8489-7a1c-b98f-f1333805df5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_ExternalResearchAndDevelopmentExpense_019e1ddd-8489-7bc8-bca8-299ded137af5" xlink:href="dnli-20260630.xsd#dnli_ExternalResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_019e1ddd-8489-7a1c-b98f-f1333805df5a" xlink:to="loc_dnli_ExternalResearchAndDevelopmentExpense_019e1ddd-8489-7bc8-bca8-299ded137af5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherResearchAndDevelopmentExpense_019e1ddd-8489-74f6-8b1c-4c362e351508" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_019e1ddd-8489-7a1c-b98f-f1333805df5a" xlink:to="loc_us-gaap_OtherResearchAndDevelopmentExpense_019e1ddd-8489-74f6-8b1c-4c362e351508" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PersonnelRelatedResearchAndDevelopmentExpense_019e1ddd-8489-7774-81bf-bb122791bed9" xlink:href="dnli-20260630.xsd#dnli_PersonnelRelatedResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_019e1ddd-8489-7a1c-b98f-f1333805df5a" xlink:to="loc_dnli_PersonnelRelatedResearchAndDevelopmentExpense_019e1ddd-8489-7774-81bf-bb122791bed9" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
