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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:ecb75bbe-538e-433d-b125-886600cc4b41,g:2bba95f7-6575-45ef-b835-a0c84deaacfb-->
<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.madrigalpharma.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="mdgl-20241231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_c5b6e11f-4ee8-421a-9503-88e3fdc0f0b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3355166a-d244-41ed-b3fb-a4a13308f069" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c5b6e11f-4ee8-421a-9503-88e3fdc0f0b0" xlink:to="loc_us-gaap_LiabilitiesCurrent_3355166a-d244-41ed-b3fb-a4a13308f069" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_80a93263-dd00-4405-9d1c-471d925f960a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c5b6e11f-4ee8-421a-9503-88e3fdc0f0b0" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_80a93263-dd00-4405-9d1c-471d925f960a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_1b742cff-0da9-473d-a8f7-3749465a807c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a2912960-1598-4998-9daa-bc76b70cfc0b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_1b742cff-0da9-473d-a8f7-3749465a807c" xlink:to="loc_us-gaap_AssetsCurrent_a2912960-1598-4998-9daa-bc76b70cfc0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_97e24876-f764-44a5-b885-b73b63170302" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_1b742cff-0da9-473d-a8f7-3749465a807c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_97e24876-f764-44a5-b885-b73b63170302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_91c62813-2522-4553-b493-f22a0e27d11e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_1b742cff-0da9-473d-a8f7-3749465a807c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_91c62813-2522-4553-b493-f22a0e27d11e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_401e9c92-85df-4180-9e72-f6d1cfea85c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_1b742cff-0da9-473d-a8f7-3749465a807c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_401e9c92-85df-4180-9e72-f6d1cfea85c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dbf4b49d-44e6-4186-a29b-73a31ed954a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dbf4b49d-44e6-4186-a29b-73a31ed954a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_7be04c1b-19f1-43a5-9c36-5877a45fbff5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:to="loc_us-gaap_InventoryNet_7be04c1b-19f1-43a5-9c36-5877a45fbff5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_634c1365-77bb-4210-b569-5d550fb65bc7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_634c1365-77bb-4210-b569-5d550fb65bc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_55db0f48-57f2-4fb7-adb0-9f1a67ea16a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_55db0f48-57f2-4fb7-adb0-9f1a67ea16a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashCurrent_0f19771e-80f3-438e-a773-c0a1b03ef241" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:to="loc_us-gaap_RestrictedCashCurrent_0f19771e-80f3-438e-a773-c0a1b03ef241" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_980efc83-fe8d-4acf-bb43-5d307fbc9086" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_48ab0391-c0ff-499c-84a9-676dc45b8a2a" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_980efc83-fe8d-4acf-bb43-5d307fbc9086" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_b2b3cd78-be0b-4228-a0e4-c1345566f19f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_3b0b453b-c16f-4015-baad-da6ea11cf691" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_b2b3cd78-be0b-4228-a0e4-c1345566f19f" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_3b0b453b-c16f-4015-baad-da6ea11cf691" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_74a1781f-e991-443b-8d1e-8b7d9e842ab9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_b2b3cd78-be0b-4228-a0e4-c1345566f19f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_74a1781f-e991-443b-8d1e-8b7d9e842ab9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_5692e516-0dba-41e5-b374-93cce56ae2be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_1dac589a-ac51-4e5d-986e-29c245381ceb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5692e516-0dba-41e5-b374-93cce56ae2be" xlink:to="loc_us-gaap_StockholdersEquity_1dac589a-ac51-4e5d-986e-29c245381ceb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_29a73ae8-630d-4945-9c6f-345aab915546" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5692e516-0dba-41e5-b374-93cce56ae2be" xlink:to="loc_us-gaap_Liabilities_29a73ae8-630d-4945-9c6f-345aab915546" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_b1787bbe-09ad-4b45-8d23-ddace9670eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_26176c1f-3912-4b7d-9648-85fdadcf89ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b1787bbe-09ad-4b45-8d23-ddace9670eb0" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_26176c1f-3912-4b7d-9648-85fdadcf89ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_0e0f33b7-1be9-451a-9f33-718323b33235" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b1787bbe-09ad-4b45-8d23-ddace9670eb0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_0e0f33b7-1be9-451a-9f33-718323b33235" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_8e25ba0f-a38d-411c-b43d-ed735c094525" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_b1787bbe-09ad-4b45-8d23-ddace9670eb0" xlink:to="loc_us-gaap_AccountsPayableCurrent_8e25ba0f-a38d-411c-b43d-ed735c094525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_58a5b7c1-6ceb-45ec-a512-30a50f56ffce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_02a449af-0d80-49b3-8120-637a38b19e29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_58a5b7c1-6ceb-45ec-a512-30a50f56ffce" xlink:to="loc_us-gaap_PreferredStockValue_02a449af-0d80-49b3-8120-637a38b19e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_206f388a-2c99-4528-9290-4ccf1bcde664" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_58a5b7c1-6ceb-45ec-a512-30a50f56ffce" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_206f388a-2c99-4528-9290-4ccf1bcde664" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_ddf5141a-db3f-4e72-ada2-884a1f9d0097" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_58a5b7c1-6ceb-45ec-a512-30a50f56ffce" xlink:to="loc_us-gaap_CommonStockValue_ddf5141a-db3f-4e72-ada2-884a1f9d0097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0400d318-f354-415e-a524-b03b0651980c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_58a5b7c1-6ceb-45ec-a512-30a50f56ffce" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0400d318-f354-415e-a524-b03b0651980c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f391b0ba-4fc6-49d5-b37d-4eb0f54f0176" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_58a5b7c1-6ceb-45ec-a512-30a50f56ffce" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f391b0ba-4fc6-49d5-b37d-4eb0f54f0176" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="mdgl-20241231.xsd#ConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_9805796a-9e06-4970-942f-ed4d3f741e28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_8ecac722-a487-4e8e-9ac6-14163b85a9bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9805796a-9e06-4970-942f-ed4d3f741e28" xlink:to="loc_us-gaap_CostsAndExpenses_8ecac722-a487-4e8e-9ac6-14163b85a9bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b38e3ea8-0690-4dbb-82b6-0d9264c94b22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9805796a-9e06-4970-942f-ed4d3f741e28" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b38e3ea8-0690-4dbb-82b6-0d9264c94b22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_dd122c9c-24c4-4304-85ef-44b5433afec2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_0cf566ba-6227-4868-a01f-678094893590" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_dd122c9c-24c4-4304-85ef-44b5433afec2" xlink:to="loc_us-gaap_InvestmentIncomeInterest_0cf566ba-6227-4868-a01f-678094893590" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_412889a6-670e-4f7a-bc94-9ef78b2b3422" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_dd122c9c-24c4-4304-85ef-44b5433afec2" xlink:to="loc_us-gaap_OperatingIncomeLoss_412889a6-670e-4f7a-bc94-9ef78b2b3422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_a139007a-1a1b-44cf-89c6-bbb31a850be3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_dd122c9c-24c4-4304-85ef-44b5433afec2" xlink:to="loc_us-gaap_InterestExpenseNonoperating_a139007a-1a1b-44cf-89c6-bbb31a850be3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_fd222385-6f4e-4e18-a0cf-2c1037828101" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_1c617632-7cd0-4f96-8278-3927d693c565" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_fd222385-6f4e-4e18-a0cf-2c1037828101" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_1c617632-7cd0-4f96-8278-3927d693c565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9b4e3ccc-f063-47fb-a4eb-a72f9dd7c215" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_fd222385-6f4e-4e18-a0cf-2c1037828101" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9b4e3ccc-f063-47fb-a4eb-a72f9dd7c215" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_c0b2f1fc-1397-4055-8695-559d206f8fed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_fd222385-6f4e-4e18-a0cf-2c1037828101" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_c0b2f1fc-1397-4055-8695-559d206f8fed" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/ConsolidatedStatementsofComprehensiveLoss" xlink:type="simple" xlink:href="mdgl-20241231.xsd#ConsolidatedStatementsofComprehensiveLoss"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/ConsolidatedStatementsofComprehensiveLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_8d65b7df-30a3-45e6-b17a-72ee4e915ed8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_65ada243-d8bc-4942-85e6-c19db444fef7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ComprehensiveIncomeNetOfTax_8d65b7df-30a3-45e6-b17a-72ee4e915ed8" xlink:to="loc_us-gaap_NetIncomeLoss_65ada243-d8bc-4942-85e6-c19db444fef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_a500f046-a99c-4678-a3e1-d578739e858d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_8d65b7df-30a3-45e6-b17a-72ee4e915ed8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_a500f046-a99c-4678-a3e1-d578739e858d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="mdgl-20241231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ae78088-797d-4add-89a2-17d9aed139ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_85d29f93-acf1-4df5-ac79-8cf4fcc0f4d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ae78088-797d-4add-89a2-17d9aed139ac" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_85d29f93-acf1-4df5-ac79-8cf4fcc0f4d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_eb448071-e774-4fe5-b377-4320f8b1ea00" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ae78088-797d-4add-89a2-17d9aed139ac" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_eb448071-e774-4fe5-b377-4320f8b1ea00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_433926e7-6e6c-4bbc-b26e-6343aae06606" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ae78088-797d-4add-89a2-17d9aed139ac" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_433926e7-6e6c-4bbc-b26e-6343aae06606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_1e41912e-9f30-47d4-b947-2e25bd5a2349" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ae78088-797d-4add-89a2-17d9aed139ac" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_1e41912e-9f30-47d4-b947-2e25bd5a2349" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4268dc17-69ce-439d-b3c0-3a5aa785ec53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e4dfc8bf-a868-44c7-aa40-82e78f94ee2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4268dc17-69ce-439d-b3c0-3a5aa785ec53" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e4dfc8bf-a868-44c7-aa40-82e78f94ee2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf723bf2-f50f-4839-b88d-cbf106a68643" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4268dc17-69ce-439d-b3c0-3a5aa785ec53" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf723bf2-f50f-4839-b88d-cbf106a68643" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0c93631f-3683-4e5f-b95e-0a5b0c5ecf7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4268dc17-69ce-439d-b3c0-3a5aa785ec53" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0c93631f-3683-4e5f-b95e-0a5b0c5ecf7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_08b844da-f0a7-4668-b70c-8cf0c417cb45" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_ProfitLoss_08b844da-f0a7-4668-b70c-8cf0c417cb45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_fee6800c-f1c0-4a0e-bff3-aa2c0746de99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_ShareBasedCompensation_fee6800c-f1c0-4a0e-bff3-aa2c0746de99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_edbb3a44-6983-4747-809c-fc35dbb3911f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_edbb3a44-6983-4747-809c-fc35dbb3911f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_91f15e17-16dc-4a87-84e0-e04d9a30ba0f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_91f15e17-16dc-4a87-84e0-e04d9a30ba0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_201a0293-8236-4bb0-b3a3-56166e87692d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_201a0293-8236-4bb0-b3a3-56166e87692d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_74316ebb-7d88-46a3-8680-595448e59c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_74316ebb-7d88-46a3-8680-595448e59c8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_b3c18a8c-2c5b-41c3-b5f0-f91df2dbf231" xlink:href="mdgl-20241231.xsd#mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_b3c18a8c-2c5b-41c3-b5f0-f91df2dbf231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_50d3fddb-0137-4b48-8382-eae6eb0f8824" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_50d3fddb-0137-4b48-8382-eae6eb0f8824" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4894eedd-f8ee-48e3-8d01-ccaa9b7c12bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4894eedd-f8ee-48e3-8d01-ccaa9b7c12bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_364eae02-a197-4ff1-a522-47fca292938c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_364eae02-a197-4ff1-a522-47fca292938c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_OperatingLeaseRightOfUseAssetPeriodicReductionIncrease_dfd41f7c-80e9-46dd-9647-f68e2a0c2b93" xlink:href="mdgl-20241231.xsd#mdgl_OperatingLeaseRightOfUseAssetPeriodicReductionIncrease"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_524a82bf-65fa-4437-aa72-6f3c33ed58fa" xlink:to="loc_mdgl_OperatingLeaseRightOfUseAssetPeriodicReductionIncrease_dfd41f7c-80e9-46dd-9647-f68e2a0c2b93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_128069ed-799f-4bb8-bf71-69a1ea9e9d5c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_2a9bcfd3-1c05-470a-ba71-625aa062451b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_128069ed-799f-4bb8-bf71-69a1ea9e9d5c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_2a9bcfd3-1c05-470a-ba71-625aa062451b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_aee29bcf-be58-49e1-b232-ad28a60e20af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromBankDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_128069ed-799f-4bb8-bf71-69a1ea9e9d5c" xlink:to="loc_us-gaap_ProceedsFromBankDebt_aee29bcf-be58-49e1-b232-ad28a60e20af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_3a0cc8ad-e072-44d9-a7ea-1d7bc606064b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_128069ed-799f-4bb8-bf71-69a1ea9e9d5c" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_3a0cc8ad-e072-44d9-a7ea-1d7bc606064b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsRestrictedCashandMarketableSecuritiesDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#CashCashEquivalentsRestrictedCashandMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsRestrictedCashandMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b5e0178d-f78b-4e10-83e9-f4688ccd1819" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_633df1cc-93cf-402e-9c36-4d2492324223" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b5e0178d-f78b-4e10-83e9-f4688ccd1819" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_633df1cc-93cf-402e-9c36-4d2492324223" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_3ce53e1b-9cfc-4c84-bc43-8c70923e8d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b5e0178d-f78b-4e10-83e9-f4688ccd1819" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_3ce53e1b-9cfc-4c84-bc43-8c70923e8d7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9ec194b9-8710-43c9-97a6-a257dc301da6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b5e0178d-f78b-4e10-83e9-f4688ccd1819" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9ec194b9-8710-43c9-97a6-a257dc301da6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_ba7f8986-ce58-4d9e-829b-343a54b333a8" xlink:href="mdgl-20241231.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_429cffdc-1391-4e00-aac3-8e330d706ff5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_ba7f8986-ce58-4d9e-829b-343a54b333a8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_429cffdc-1391-4e00-aac3-8e330d706ff5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_867c8c60-8343-4734-9bc9-02f41878244e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_ba7f8986-ce58-4d9e-829b-343a54b333a8" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_867c8c60-8343-4734-9bc9-02f41878244e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsRestrictedCashandMarketableSecuritiesDetails_1" xlink:type="simple" xlink:href="mdgl-20241231.xsd#CashCashEquivalentsRestrictedCashandMarketableSecuritiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsRestrictedCashandMarketableSecuritiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_f7f12a0a-0591-414f-a0d1-a21180656175" xlink:href="mdgl-20241231.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_c46be4b1-3eae-41d6-906c-27ab1aaeec86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_f7f12a0a-0591-414f-a0d1-a21180656175" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_c46be4b1-3eae-41d6-906c-27ab1aaeec86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_6ac83f96-3431-468d-85e6-ef3107986fde" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_f7f12a0a-0591-414f-a0d1-a21180656175" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_6ac83f96-3431-468d-85e6-ef3107986fde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_95ec47f5-ee07-43d2-9043-9769fcc42db1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_f7f12a0a-0591-414f-a0d1-a21180656175" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_95ec47f5-ee07-43d2-9043-9769fcc42db1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/InventoryDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#InventoryDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/InventoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_a65a7891-5375-41f8-8eb7-278aaf1c8c3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_7d6e843f-dc43-422c-a0c7-6a165e8622b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a65a7891-5375-41f8-8eb7-278aaf1c8c3e" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_7d6e843f-dc43-422c-a0c7-6a165e8622b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_cc4790a9-c4a0-4ca8-be0d-7485c6e3b59d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a65a7891-5375-41f8-8eb7-278aaf1c8c3e" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_cc4790a9-c4a0-4ca8-be0d-7485c6e3b59d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_8ada0fc0-eb66-46c8-b532-2559e4f07656" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a65a7891-5375-41f8-8eb7-278aaf1c8c3e" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_8ada0fc0-eb66-46c8-b532-2559e4f07656" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/AccruedLiabilitiesDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#AccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/AccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_b21ed0d1-ae48-4b39-848a-4bda80d0a56e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_b21ed0d1-ae48-4b39-848a-4bda80d0a56e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e51c624f-04bd-4d33-90e8-4a65ae59d5cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e51c624f-04bd-4d33-90e8-4a65ae59d5cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrent_08071d44-bb3e-4f56-8ac8-109d8c291b7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedProfessionalFeesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrent_08071d44-bb3e-4f56-8ac8-109d8c291b7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedManufacturingAndDrugSupplyCurrent_cb3724ad-b54e-4e49-9ad8-b025ccf1cfdf" xlink:href="mdgl-20241231.xsd#mdgl_AccruedManufacturingAndDrugSupplyCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_mdgl_AccruedManufacturingAndDrugSupplyCurrent_cb3724ad-b54e-4e49-9ad8-b025ccf1cfdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedContractResearchCostsCurrent_e1e7a011-2807-42da-8515-2f86d7946b3d" xlink:href="mdgl-20241231.xsd#mdgl_AccruedContractResearchCostsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_mdgl_AccruedContractResearchCostsCurrent_e1e7a011-2807-42da-8515-2f86d7946b3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedGrossToNetLiabilitiesCurrent_0abfead3-04a5-478a-9079-aabfe32b0719" xlink:href="mdgl-20241231.xsd#mdgl_AccruedGrossToNetLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_mdgl_AccruedGrossToNetLiabilitiesCurrent_0abfead3-04a5-478a-9079-aabfe32b0719" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent_61c74a56-4562-484c-95b9-0a580746f6da" xlink:href="mdgl-20241231.xsd#mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_79f26836-d33b-43df-926d-542e74189984" xlink:to="loc_mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent_61c74a56-4562-484c-95b9-0a580746f6da" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LongTermDebtScheduleofMaturitiesofLongTermDebtDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#LongTermDebtScheduleofMaturitiesofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/LongTermDebtScheduleofMaturitiesofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_609d69ff-2e65-46f5-9ac0-ee70bae525e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9977cd4d-3598-426c-9120-f456d5d4b830" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_609d69ff-2e65-46f5-9ac0-ee70bae525e4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9977cd4d-3598-426c-9120-f456d5d4b830" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_5ed8f852-0151-4714-94ef-b1210276b983" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_609d69ff-2e65-46f5-9ac0-ee70bae525e4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_5ed8f852-0151-4714-94ef-b1210276b983" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_5df422f9-5784-42ad-8893-1273ba7f635e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_609d69ff-2e65-46f5-9ac0-ee70bae525e4" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_5df422f9-5784-42ad-8893-1273ba7f635e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LeasesMinimumPaymentsforOperatingLeasesDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#LeasesMinimumPaymentsforOperatingLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/LeasesMinimumPaymentsforOperatingLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82c05f8d-bc92-4a69-a2c2-b412c91827d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_358fce1f-3dac-449c-aa55-1a21c4405c15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_82c05f8d-bc92-4a69-a2c2-b412c91827d5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_358fce1f-3dac-449c-aa55-1a21c4405c15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_7296595a-bcb5-4d38-9439-3cdb76cd2afc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_82c05f8d-bc92-4a69-a2c2-b412c91827d5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_7296595a-bcb5-4d38-9439-3cdb76cd2afc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LeasesMinimumPaymentsforOperatingLeasesDetails_1" xlink:type="simple" xlink:href="mdgl-20241231.xsd#LeasesMinimumPaymentsforOperatingLeasesDetails_1"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/LeasesMinimumPaymentsforOperatingLeasesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1e7596c2-abf7-44b8-a188-f73fcd347c91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c4aadcb2-ea87-4065-a9bb-fc110ecfea28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1e7596c2-abf7-44b8-a188-f73fcd347c91" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c4aadcb2-ea87-4065-a9bb-fc110ecfea28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_62be4994-bf18-4fc3-bd7b-48a8a1a8b59f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1e7596c2-abf7-44b8-a188-f73fcd347c91" xlink:to="loc_us-gaap_OperatingLeaseLiability_62be4994-bf18-4fc3-bd7b-48a8a1a8b59f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_5fb1fba4-7607-4087-bf34-dbf103f2b0d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_fbf4b505-b077-4eac-8247-b3418a34fc5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_5fb1fba4-7607-4087-bf34-dbf103f2b0d8" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_fbf4b505-b077-4eac-8247-b3418a34fc5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_0a663a60-b162-407c-ad84-41202489795f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_5fb1fba4-7607-4087-bf34-dbf103f2b0d8" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_0a663a60-b162-407c-ad84-41202489795f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_7c56efea-b1ff-43ac-92e8-8b1a73666b09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_7c56efea-b1ff-43ac-92e8-8b1a73666b09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards_6ef2084c-5ac4-4233-aa13-697db95daf42" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards_6ef2084c-5ac4-4233-aa13-697db95daf42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_9c860418-cefc-4f5c-9723-02dcc701a7ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_9c860418-cefc-4f5c-9723-02dcc701a7ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_720d788c-c2cb-48c0-a8b0-84d0ed005e01" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_720d788c-c2cb-48c0-a8b0-84d0ed005e01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_02648706-be4a-4dbf-903b-48face3524a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_02648706-be4a-4dbf-903b-48face3524a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_DeferredTaxAssetsDeferredExpenseCapitalizedResearchAndDevelopmentCosts_0881f8b8-87e2-4afe-ba65-69d404d6856e" xlink:href="mdgl-20241231.xsd#mdgl_DeferredTaxAssetsDeferredExpenseCapitalizedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_mdgl_DeferredTaxAssetsDeferredExpenseCapitalizedResearchAndDevelopmentCosts_0881f8b8-87e2-4afe-ba65-69d404d6856e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_f405bd22-9f36-4543-a1c7-5ecda9bf2391" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_f405bd22-9f36-4543-a1c7-5ecda9bf2391" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsGrossToNetAccruals_b7f5ac34-5afe-43a5-be5d-1afdfce2e1af" xlink:href="mdgl-20241231.xsd#mdgl_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsGrossToNetAccruals"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_mdgl_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsGrossToNetAccruals_b7f5ac34-5afe-43a5-be5d-1afdfce2e1af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_33b952a9-2e2e-4e7b-9249-f75e14ecfb38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_33b952a9-2e2e-4e7b-9249-f75e14ecfb38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities_b8f31b01-ea0b-44e5-a17c-3ea9bfd17a34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_44ed1fb9-b21f-4482-b64e-c410746f4d56" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities_b8f31b01-ea0b-44e5-a17c-3ea9bfd17a34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_14843be3-065b-4198-a360-150ce47da0b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_d893ae9b-5da2-43c7-9dbc-a4338c2215af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_14843be3-065b-4198-a360-150ce47da0b7" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_d893ae9b-5da2-43c7-9dbc-a4338c2215af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_5e902f71-dab9-4550-9fb0-a94547e08219" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_14843be3-065b-4198-a360-150ce47da0b7" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_5e902f71-dab9-4550-9fb0-a94547e08219" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_241d5527-ecbc-4b32-815e-e4ec5dfd6073" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_32ae2a5a-3ed8-40c7-a6aa-9fe4834f1c62" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_241d5527-ecbc-4b32-815e-e4ec5dfd6073" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_32ae2a5a-3ed8-40c7-a6aa-9fe4834f1c62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities_66117c18-1dee-4527-9f07-52c0470c0735" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_241d5527-ecbc-4b32-815e-e4ec5dfd6073" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities_66117c18-1dee-4527-9f07-52c0470c0735" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/IncomeTaxesEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#IncomeTaxesEffectiveIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/IncomeTaxesEffectiveIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_7ad245c4-d549-454e-a9ad-4b98109ec8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_7ad245c4-d549-454e-a9ad-4b98109ec8a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_EffectiveIncomeTaxRateReconciliation162MLimitationAmount_bec25a4c-3051-4b29-aee3-900e94bbe304" xlink:href="mdgl-20241231.xsd#mdgl_EffectiveIncomeTaxRateReconciliation162MLimitationAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_mdgl_EffectiveIncomeTaxRateReconciliation162MLimitationAmount_bec25a4c-3051-4b29-aee3-900e94bbe304" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_15314562-cf4b-43a2-b5fd-da8aff7edefa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_15314562-cf4b-43a2-b5fd-da8aff7edefa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_5e69a085-f723-4223-979b-b6aca36c4f7b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_5e69a085-f723-4223-979b-b6aca36c4f7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_51b4e57e-8f05-4ecd-940c-96fe2d0f9084" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_51b4e57e-8f05-4ecd-940c-96fe2d0f9084" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_efd245c5-d9d6-4be6-a1ca-f0232dd078e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_efd245c5-d9d6-4be6-a1ca-f0232dd078e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_7789129d-1690-45a2-9242-583a8e1212c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_7789129d-1690-45a2-9242-583a8e1212c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_799d79cc-b7b8-4816-917c-c1764c7394d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_701d151b-1ae1-450f-8679-b865f692b2d6" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_799d79cc-b7b8-4816-917c-c1764c7394d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/SegmentInformationScheduleofSegmentInformationDetails" xlink:type="simple" xlink:href="mdgl-20241231.xsd#SegmentInformationScheduleofSegmentInformationDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/SegmentInformationScheduleofSegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ResearchAndDevelopmentExpensePersonnelAndInternal_aae3a048-a595-4aed-9646-e4f3eeddcbc2" xlink:href="mdgl-20241231.xsd#mdgl_ResearchAndDevelopmentExpensePersonnelAndInternal"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:to="loc_mdgl_ResearchAndDevelopmentExpensePersonnelAndInternal_aae3a048-a595-4aed-9646-e4f3eeddcbc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_ad8b1aef-55c5-47b2-ac0d-983a0ac82d02" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_ad8b1aef-55c5-47b2-ac0d-983a0ac82d02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_15545d63-9599-4d49-a1a8-4b18c32ec15b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_15545d63-9599-4d49-a1a8-4b18c32ec15b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_35988f40-b21b-43a0-89f3-acefff5f35cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:to="loc_us-gaap_Revenues_35988f40-b21b-43a0-89f3-acefff5f35cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_f4623b8f-44fe-4535-9a87-60036df021b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_f4623b8f-44fe-4535-9a87-60036df021b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ResearchAndDevelopmentExternalExpense_4b06404d-07cc-47b1-ae81-884071b1fa00" xlink:href="mdgl-20241231.xsd#mdgl_ResearchAndDevelopmentExternalExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_5ef075f3-8b8e-4a18-981e-8c63302ca8db" xlink:to="loc_mdgl_ResearchAndDevelopmentExternalExpense_4b06404d-07cc-47b1-ae81-884071b1fa00" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
