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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:751472ab-945d-44e2-b5fb-c6b977f9c1c7,g:53f90a43-055f-46b2-87f2-4d42b33a5b70-->
<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.denalitherapeutics.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="dnli-20250930.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_a89d491e-0e6c-4124-9f3f-3f2fca27de0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValueOutstanding_b9aed578-2d15-4fa5-b7cd-fd9a5ec1106f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a89d491e-0e6c-4124-9f3f-3f2fca27de0b" xlink:to="loc_us-gaap_PreferredStockValueOutstanding_b9aed578-2d15-4fa5-b7cd-fd9a5ec1106f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_e39932a8-2a99-4bf6-b124-02d6a901f427" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a89d491e-0e6c-4124-9f3f-3f2fca27de0b" xlink:to="loc_us-gaap_CommonStockValueOutstanding_e39932a8-2a99-4bf6-b124-02d6a901f427" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_8677868e-3c23-44f3-acd6-68bc6b1085d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a89d491e-0e6c-4124-9f3f-3f2fca27de0b" xlink:to="loc_us-gaap_AdditionalPaidInCapital_8677868e-3c23-44f3-acd6-68bc6b1085d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_662fd73b-ef57-4414-af6c-e081378ffce1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a89d491e-0e6c-4124-9f3f-3f2fca27de0b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_662fd73b-ef57-4414-af6c-e081378ffce1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_cac6247a-682c-427c-bec4-d9e44d93a15f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a89d491e-0e6c-4124-9f3f-3f2fca27de0b" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_cac6247a-682c-427c-bec4-d9e44d93a15f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_AccruedClinicalAndOtherResearchAndDevelopmentCostsCurrent_15a2b22f-ab9c-4947-8670-4834816c03c6" xlink:href="dnli-20250930.xsd#dnli_AccruedClinicalAndOtherResearchAndDevelopmentCostsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_dnli_AccruedClinicalAndOtherResearchAndDevelopmentCostsCurrent_15a2b22f-ab9c-4947-8670-4834816c03c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_1e3de7dd-16fd-48a3-9b13-8fa752438a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_1e3de7dd-16fd-48a3-9b13-8fa752438a0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_01ca5b5a-e563-4353-bd4c-f206d48da71e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_01ca5b5a-e563-4353-bd4c-f206d48da71e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_OtherAccruedManufacturingCostsCurrent_42a18e42-301f-4748-bc5a-e25de6c62571" xlink:href="dnli-20250930.xsd#dnli_OtherAccruedManufacturingCostsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_dnli_OtherAccruedManufacturingCostsCurrent_42a18e42-301f-4748-bc5a-e25de6c62571" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_DeferredLiabilityCapitalizedResearchAndDevelopmentCostsCurrent_191df522-d86e-417d-b28d-4ac8a106b160" xlink:href="dnli-20250930.xsd#dnli_DeferredLiabilityCapitalizedResearchAndDevelopmentCostsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_dnli_DeferredLiabilityCapitalizedResearchAndDevelopmentCostsCurrent_191df522-d86e-417d-b28d-4ac8a106b160" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_0cabefb7-ddf7-4dad-9a7c-e5384f84dda7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_0cabefb7-ddf7-4dad-9a7c-e5384f84dda7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_10a0b4fd-8506-468b-89d3-d1cc12d182ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_5d0c8114-c80f-4698-b2fd-2fe086722a3d" xlink:to="loc_us-gaap_AccountsPayableCurrent_10a0b4fd-8506-468b-89d3-d1cc12d182ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_99e1474e-d03d-4c71-98cc-4527ebb0c345" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f2abca5e-7826-4e1c-a59a-04d08a9fe147" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99e1474e-d03d-4c71-98cc-4527ebb0c345" xlink:to="loc_us-gaap_Liabilities_f2abca5e-7826-4e1c-a59a-04d08a9fe147" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_61a4be65-9ce9-407f-b520-06ff7eba13ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99e1474e-d03d-4c71-98cc-4527ebb0c345" xlink:to="loc_us-gaap_CommitmentsAndContingencies_61a4be65-9ce9-407f-b520-06ff7eba13ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_834f9728-746c-4313-95f2-9524305e584b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99e1474e-d03d-4c71-98cc-4527ebb0c345" xlink:to="loc_us-gaap_StockholdersEquity_834f9728-746c-4313-95f2-9524305e584b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_467ad48f-4c42-4cbe-9406-e219bf88fdbc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_467ad48f-4c42-4cbe-9406-e219bf88fdbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_47410efc-95a7-4fb7-b6d2-d785c65772bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_47410efc-95a7-4fb7-b6d2-d785c65772bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_8dadb095-4fc4-42d1-a91d-12ce592f921b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:to="loc_us-gaap_AssetsCurrent_8dadb095-4fc4-42d1-a91d-12ce592f921b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f2f80180-8d29-4903-a6a3-23e32088271c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f2f80180-8d29-4903-a6a3-23e32088271c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_0e610b92-16f5-4ba7-9a63-76748ea18b98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_0e610b92-16f5-4ba7-9a63-76748ea18b98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_6fc063d6-7cf1-47c7-a1b1-c20ea2361ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e8c821ff-bc5d-4b79-aae8-1d993518fa17" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_6fc063d6-7cf1-47c7-a1b1-c20ea2361ea6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f13a22e9-75d7-45b6-8958-6abcf1b62690" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_d55ad94e-8e9a-454d-9f94-5e95305930b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f13a22e9-75d7-45b6-8958-6abcf1b62690" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_d55ad94e-8e9a-454d-9f94-5e95305930b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_5f731c4c-89ea-4e11-a919-ad0f7ecce91c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f13a22e9-75d7-45b6-8958-6abcf1b62690" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_5f731c4c-89ea-4e11-a919-ad0f7ecce91c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_acc1f564-61f3-4632-a48a-07bb12382e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f13a22e9-75d7-45b6-8958-6abcf1b62690" xlink:to="loc_us-gaap_LiabilitiesCurrent_acc1f564-61f3-4632-a48a-07bb12382e4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_DeferredLiabilityCapitalizedResearchAndDevelopmentCostsNoncurrent_6fa0ce0f-abe8-4c92-a85c-0f7a5b87f341" xlink:href="dnli-20250930.xsd#dnli_DeferredLiabilityCapitalizedResearchAndDevelopmentCostsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f13a22e9-75d7-45b6-8958-6abcf1b62690" xlink:to="loc_dnli_DeferredLiabilityCapitalizedResearchAndDevelopmentCostsNoncurrent_6fa0ce0f-abe8-4c92-a85c-0f7a5b87f341" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_78a1e4d2-247a-4b01-a814-4045cad91a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e2d8a794-58d8-4f73-864c-20c01df06f73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_78a1e4d2-247a-4b01-a814-4045cad91a9d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e2d8a794-58d8-4f73-864c-20c01df06f73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_317b28f6-7ec6-41d4-95b0-2ef6084da858" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_78a1e4d2-247a-4b01-a814-4045cad91a9d" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_317b28f6-7ec6-41d4-95b0-2ef6084da858" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_9af029b0-a233-47a7-9906-54a67ada77fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_78a1e4d2-247a-4b01-a814-4045cad91a9d" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_9af029b0-a233-47a7-9906-54a67ada77fa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveLossUnaudited" xlink:type="simple" xlink:href="dnli-20250930.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_ComprehensiveIncomeNetOfTax_fa1682e7-c2bf-4d74-85c4-1cc9f0a6c79c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax_6e58e8d9-de42-425b-b41c-628cb64ab1f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fa1682e7-c2bf-4d74-85c4-1cc9f0a6c79c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax_6e58e8d9-de42-425b-b41c-628cb64ab1f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b9965e00-1635-4168-81bc-430ee49bdb7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_fa1682e7-c2bf-4d74-85c4-1cc9f0a6c79c" xlink:to="loc_us-gaap_NetIncomeLoss_b9965e00-1635-4168-81bc-430ee49bdb7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_251eddfa-59ed-4d8c-83eb-199a889e85eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_6ce03597-e4d0-4947-9cb2-99f0c4b96a88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_251eddfa-59ed-4d8c-83eb-199a889e85eb" xlink:to="loc_us-gaap_OperatingExpenses_6ce03597-e4d0-4947-9cb2-99f0c4b96a88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_a4ae9891-0f15-4b7a-b2d1-a4bf8b590ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_251eddfa-59ed-4d8c-83eb-199a889e85eb" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_a4ae9891-0f15-4b7a-b2d1-a4bf8b590ef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_d0ed1de1-2ec2-43e0-8c8a-4d35acff9724" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_de751315-4121-4ba5-a13b-3bd2f2231a93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_OperatingExpenses_d0ed1de1-2ec2-43e0-8c8a-4d35acff9724" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_de751315-4121-4ba5-a13b-3bd2f2231a93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_350f993a-4ca3-4d91-9a99-8e2fad664446" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_d0ed1de1-2ec2-43e0-8c8a-4d35acff9724" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_350f993a-4ca3-4d91-9a99-8e2fad664446" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_442ec3af-942d-47de-a003-86225261f4e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_995869c1-cb42-48b1-9cd0-9a4b0c1138b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_442ec3af-942d-47de-a003-86225261f4e5" xlink:to="loc_us-gaap_InterestAndOtherIncome_995869c1-cb42-48b1-9cd0-9a4b0c1138b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_1e5744e0-f792-4b89-b9c4-12504794ba61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_442ec3af-942d-47de-a003-86225261f4e5" xlink:to="loc_us-gaap_OperatingIncomeLoss_1e5744e0-f792-4b89-b9c4-12504794ba61" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="dnli-20250930.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_237b2eca-ee12-4c59-a1c3-08dafb08103e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6252a737-d512-4dae-90d4-4149f980df34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_237b2eca-ee12-4c59-a1c3-08dafb08103e" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6252a737-d512-4dae-90d4-4149f980df34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_df4ac8ab-25e3-4d90-9021-33b7b300a2c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_237b2eca-ee12-4c59-a1c3-08dafb08103e" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_df4ac8ab-25e3-4d90-9021-33b7b300a2c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_edd41388-c446-4389-82aa-6662b1961faf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_237b2eca-ee12-4c59-a1c3-08dafb08103e" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_edd41388-c446-4389-82aa-6662b1961faf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9921c476-4fcd-41e7-b17d-7f6d3de9a44c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_71a8383c-fb65-4351-a700-4f43766fc75b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9921c476-4fcd-41e7-b17d-7f6d3de9a44c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_71a8383c-fb65-4351-a700-4f43766fc75b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7c8b2b94-36fb-4d35-9e76-9cd33d3468d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9921c476-4fcd-41e7-b17d-7f6d3de9a44c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7c8b2b94-36fb-4d35-9e76-9cd33d3468d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_bf7de128-f90d-4296-9747-b4a9dd56f3db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9921c476-4fcd-41e7-b17d-7f6d3de9a44c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_bf7de128-f90d-4296-9747-b4a9dd56f3db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0eecfdd7-2194-4b9f-9f5a-12b587f03473" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_f0cfdc93-5ad3-43f0-9b3a-f62956220239" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0eecfdd7-2194-4b9f-9f5a-12b587f03473" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_f0cfdc93-5ad3-43f0-9b3a-f62956220239" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_de07cbd9-5d43-440d-bee2-2caa6f719de9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0eecfdd7-2194-4b9f-9f5a-12b587f03473" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_de07cbd9-5d43-440d-bee2-2caa6f719de9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_a22d503c-5709-4d2e-af7a-ed768b36793f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0eecfdd7-2194-4b9f-9f5a-12b587f03473" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_a22d503c-5709-4d2e-af7a-ed768b36793f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_47323547-3506-4f00-893d-68edcf7ebe36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_NetIncomeLoss_47323547-3506-4f00-893d-68edcf7ebe36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_9df4cc35-e5f3-4737-a533-1a05091a8281" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_9df4cc35-e5f3-4737-a533-1a05091a8281" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_ddb62a05-40aa-4070-a59f-68238cc23f28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_ShareBasedCompensation_ddb62a05-40aa-4070-a59f-68238cc23f28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeAmortizationOfDiscount_3dbee572-d3b3-4c92-8de5-0e5eeceb91aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeAmortizationOfDiscount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_InvestmentIncomeAmortizationOfDiscount_3dbee572-d3b3-4c92-8de5-0e5eeceb91aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense_345bc8ee-3178-487f-b459-cb7503c37908" xlink:href="dnli-20250930.xsd#dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense_345bc8ee-3178-487f-b459-cb7503c37908" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_6018486c-07cc-466d-bb65-23bb05d54d4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_6018486c-07cc-466d-bb65-23bb05d54d4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_7809ee57-b972-43a2-928c-a961eb5fcfb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_7809ee57-b972-43a2-928c-a961eb5fcfb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_052e6367-3056-4d90-bf38-46188eb74b50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_052e6367-3056-4d90-bf38-46188eb74b50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_0b670e31-ea64-4d82-8039-9759a8abfb94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_0b670e31-ea64-4d82-8039-9759a8abfb94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_8d35ebe7-555d-4c67-bfbb-5d03cd32c8c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_8d35ebe7-555d-4c67-bfbb-5d03cd32c8c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_ad542cd2-bcf2-4106-a6da-c3b88286eccf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_ad542cd2-bcf2-4106-a6da-c3b88286eccf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts_0940fee0-9868-41e3-a62c-28fcde6059a5" xlink:href="dnli-20250930.xsd#dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93c728da-ad7a-49df-9317-18355f64ef74" xlink:to="loc_dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts_0940fee0-9868-41e3-a62c-28fcde6059a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="dnli-20250930.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_5b07aa2d-a9c9-468e-a78b-1f34eb4c0d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_a26588ce-b7bf-47d7-8733-e94967dad0fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_5b07aa2d-a9c9-468e-a78b-1f34eb4c0d3b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_a26588ce-b7bf-47d7-8733-e94967dad0fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_01468d83-0aa0-49a2-9a9f-902f83830c01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_5b07aa2d-a9c9-468e-a78b-1f34eb4c0d3b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_01468d83-0aa0-49a2-9a9f-902f83830c01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_72221e08-a92a-4f64-9f84-4896c4c3fb49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_5b07aa2d-a9c9-468e-a78b-1f34eb4c0d3b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_72221e08-a92a-4f64-9f84-4896c4c3fb49" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails" xlink:type="simple" xlink:href="dnli-20250930.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_f0a15a63-1855-402c-82d0-6c634b95b363" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_307dabe0-713e-4299-9f02-72d5a68da9c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0a15a63-1855-402c-82d0-6c634b95b363" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_307dabe0-713e-4299-9f02-72d5a68da9c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_946f8853-d0a0-4422-a4e5-3b2cea183da9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0a15a63-1855-402c-82d0-6c634b95b363" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_946f8853-d0a0-4422-a4e5-3b2cea183da9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6e20e5da-9cc3-4368-b40f-5533a972f63e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0a15a63-1855-402c-82d0-6c634b95b363" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6e20e5da-9cc3-4368-b40f-5533a972f63e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails" xlink:type="simple" xlink:href="dnli-20250930.xsd#CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_FinanceLeaseLiabilityToBePaidAfterYearFour_e1983447-ff32-4127-bff2-f2993961ff23" xlink:href="dnli-20250930.xsd#dnli_FinanceLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:to="loc_dnli_FinanceLeaseLiabilityToBePaidAfterYearFour_e1983447-ff32-4127-bff2-f2993961ff23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_ba8d0fdc-f0f8-488e-be41-24dcc9ffe539" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_ba8d0fdc-f0f8-488e-be41-24dcc9ffe539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_01f504c9-e65f-4f90-86b9-136e29e2fd5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_01f504c9-e65f-4f90-86b9-136e29e2fd5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_6376b394-94ee-4d21-98e4-a0f81fb650b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_6376b394-94ee-4d21-98e4-a0f81fb650b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_168372f4-648c-4b0e-8441-61c286f26396" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_168372f4-648c-4b0e-8441-61c286f26396" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_860fc90b-3850-4af1-826f-c204839c3988" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_dba1e536-227d-4709-a1ea-de265948e1fd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_860fc90b-3850-4af1-826f-c204839c3988" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_411b4de5-65f2-4e96-aebf-8e2541dae107" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_411b4de5-65f2-4e96-aebf-8e2541dae107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_6ccbf55d-ff30-4d98-b4e2-f0bf402cad54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_6ccbf55d-ff30-4d98-b4e2-f0bf402cad54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_7dca6171-9cd4-466a-8ddd-6a8375e97d8c" xlink:href="dnli-20250930.xsd#dnli_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:to="loc_dnli_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_7dca6171-9cd4-466a-8ddd-6a8375e97d8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_0b0f2585-cb23-45a5-9269-1d9692a32a24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_0b0f2585-cb23-45a5-9269-1d9692a32a24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_cb4116a5-b780-45d9-b93b-1488f21206de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_cb4116a5-b780-45d9-b93b-1488f21206de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_aa51812f-4ac9-4ad7-9dea-3f7cd5c77f6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_11eb2225-ad38-4579-82c6-197708c13747" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_aa51812f-4ac9-4ad7-9dea-3f7cd5c77f6d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails_1" xlink:type="simple" xlink:href="dnli-20250930.xsd#CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3c686e10-f3b2-4883-8366-bb9bb496c48e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_ca76211d-f22a-4132-acb8-e5cad4c8af6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3c686e10-f3b2-4883-8366-bb9bb496c48e" xlink:to="loc_us-gaap_FinanceLeaseLiability_ca76211d-f22a-4132-acb8-e5cad4c8af6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_c67f1007-fc2e-45b3-b006-734534488515" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3c686e10-f3b2-4883-8366-bb9bb496c48e" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_c67f1007-fc2e-45b3-b006-734534488515" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_FinanceLeaseLiabilityImputedInterest_c7ead0d2-f8ea-46bf-b161-8d71a1eea0da" xlink:href="dnli-20250930.xsd#dnli_FinanceLeaseLiabilityImputedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3c686e10-f3b2-4883-8366-bb9bb496c48e" xlink:to="loc_dnli_FinanceLeaseLiabilityImputedInterest_c7ead0d2-f8ea-46bf-b161-8d71a1eea0da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ee4601f0-0a22-4f80-a488-afe2b6a9a93b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_b540ed33-5c45-4a1a-9376-9f34e20309ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ee4601f0-0a22-4f80-a488-afe2b6a9a93b" xlink:to="loc_us-gaap_OperatingLeaseLiability_b540ed33-5c45-4a1a-9376-9f34e20309ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_LesseeOperatingLeaseLiabilityImputedInterest_2ab863a4-145a-4e27-adc9-ecf54706f800" xlink:href="dnli-20250930.xsd#dnli_LesseeOperatingLeaseLiabilityImputedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ee4601f0-0a22-4f80-a488-afe2b6a9a93b" xlink:to="loc_dnli_LesseeOperatingLeaseLiabilityImputedInterest_2ab863a4-145a-4e27-adc9-ecf54706f800" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6d9955dc-391d-4f36-b334-fb7381c67f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ee4601f0-0a22-4f80-a488-afe2b6a9a93b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6d9955dc-391d-4f36-b334-fb7381c67f4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/NetLossPerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="simple" xlink:href="dnli-20250930.xsd#NetLossPerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/NetLossPerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e818343b-ab92-435e-826f-da8596a39078" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_48699d6a-870a-4761-99ad-d65ea569fe41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e818343b-ab92-435e-826f-da8596a39078" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_48699d6a-870a-4761-99ad-d65ea569fe41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_9b1c3eaf-4d61-48e8-8feb-1a209aafb3dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e818343b-ab92-435e-826f-da8596a39078" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_9b1c3eaf-4d61-48e8-8feb-1a209aafb3dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_a833ab4e-8b3f-45df-aee6-65a15bb74b57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_531280bb-d35d-4bd1-a60b-59df1e7b5fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_a833ab4e-8b3f-45df-aee6-65a15bb74b57" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_531280bb-d35d-4bd1-a60b-59df1e7b5fa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_e7009f8b-6a5a-4f76-855a-10dddd29f7dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_a833ab4e-8b3f-45df-aee6-65a15bb74b57" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_e7009f8b-6a5a-4f76-855a-10dddd29f7dd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/SegmentInformationDetails" xlink:type="simple" xlink:href="dnli-20250930.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_IncomeLossAttributableToParent_10871ac2-ede0-4bc3-90c4-024f2bb1ed98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_c6cda6b8-ed47-43c6-b549-ef28b7bf61a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_10871ac2-ede0-4bc3-90c4-024f2bb1ed98" xlink:to="loc_us-gaap_InterestAndOtherIncome_c6cda6b8-ed47-43c6-b549-ef28b7bf61a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f54d5417-a715-448c-b1f3-50623b6cbd7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_10871ac2-ede0-4bc3-90c4-024f2bb1ed98" xlink:to="loc_us-gaap_OperatingIncomeLoss_f54d5417-a715-448c-b1f3-50623b6cbd7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_0f234f13-5ca5-47d9-a919-5092413568d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PersonnelRelatedGeneralAndAdministrativeExpense_586569de-7f10-4289-8efd-818111ba8df6" xlink:href="dnli-20250930.xsd#dnli_PersonnelRelatedGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_0f234f13-5ca5-47d9-a919-5092413568d1" xlink:to="loc_dnli_PersonnelRelatedGeneralAndAdministrativeExpense_586569de-7f10-4289-8efd-818111ba8df6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_7bab95ef-a9d4-4ec5-b404-94f8f9b2af20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_0f234f13-5ca5-47d9-a919-5092413568d1" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_7bab95ef-a9d4-4ec5-b404-94f8f9b2af20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_7676bf24-4043-42c0-92b3-6f4cd206a3ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_ExternalResearchAndDevelopmentExpense_e89c0aec-32b7-4a14-a5aa-8aa6263396d4" xlink:href="dnli-20250930.xsd#dnli_ExternalResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_7676bf24-4043-42c0-92b3-6f4cd206a3ad" xlink:to="loc_dnli_ExternalResearchAndDevelopmentExpense_e89c0aec-32b7-4a14-a5aa-8aa6263396d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherResearchAndDevelopmentExpense_b5d8a613-2776-40b5-97ff-13055bb2da86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_7676bf24-4043-42c0-92b3-6f4cd206a3ad" xlink:to="loc_us-gaap_OtherResearchAndDevelopmentExpense_b5d8a613-2776-40b5-97ff-13055bb2da86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PersonnelRelatedResearchAndDevelopmentExpense_85ebfaf0-a07c-4563-8c61-5bfc615c040e" xlink:href="dnli-20250930.xsd#dnli_PersonnelRelatedResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_7676bf24-4043-42c0-92b3-6f4cd206a3ad" xlink:to="loc_dnli_PersonnelRelatedResearchAndDevelopmentExpense_85ebfaf0-a07c-4563-8c61-5bfc615c040e" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
