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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:ab10214a-5373-4581-91d2-aa855c674e15,g:3d8827c0-314d-431f-a66b-e894c53f9705-->
<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/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="mdgl-20240331.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_10b3d20e-ae4e-4a67-ad46-c80c7d02b580" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_7e725481-4ecf-42ae-9b0a-83983273b3b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_10b3d20e-ae4e-4a67-ad46-c80c7d02b580" xlink:to="loc_us-gaap_CommonStockValue_7e725481-4ecf-42ae-9b0a-83983273b3b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e66d97ce-8268-474e-be05-a5cfe64bcb03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_10b3d20e-ae4e-4a67-ad46-c80c7d02b580" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_e66d97ce-8268-474e-be05-a5cfe64bcb03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7dcacb9e-3edf-464f-9406-76c4deeee7f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_10b3d20e-ae4e-4a67-ad46-c80c7d02b580" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7dcacb9e-3edf-464f-9406-76c4deeee7f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_6ad70260-a933-4fae-812d-51bbe184e27a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_10b3d20e-ae4e-4a67-ad46-c80c7d02b580" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_6ad70260-a933-4fae-812d-51bbe184e27a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_0138bfa3-5865-4c2d-8d64-ac2539665fa7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_10b3d20e-ae4e-4a67-ad46-c80c7d02b580" xlink:to="loc_us-gaap_PreferredStockValue_0138bfa3-5865-4c2d-8d64-ac2539665fa7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_faa432d9-d95c-4ee6-9881-b633005dd8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_c169f6ca-b2f0-48ab-b60f-f765dae1ff99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_faa432d9-d95c-4ee6-9881-b633005dd8a5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_c169f6ca-b2f0-48ab-b60f-f765dae1ff99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_d287e715-ea9a-4a9e-8c3d-8ef4993fc2c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_faa432d9-d95c-4ee6-9881-b633005dd8a5" xlink:to="loc_us-gaap_AccountsPayableCurrent_d287e715-ea9a-4a9e-8c3d-8ef4993fc2c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_dcdec109-446c-4b63-9051-a1a9d4745e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_faa432d9-d95c-4ee6-9881-b633005dd8a5" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_dcdec109-446c-4b63-9051-a1a9d4745e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c2fb80cb-eafa-4145-b40a-3362a13e3c44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_74cf0571-0fbe-4412-8d9f-4919fccefa90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c2fb80cb-eafa-4145-b40a-3362a13e3c44" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_74cf0571-0fbe-4412-8d9f-4919fccefa90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_e763a3b8-a021-475b-beb5-892a38acec92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c2fb80cb-eafa-4145-b40a-3362a13e3c44" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_e763a3b8-a021-475b-beb5-892a38acec92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f678aceb-8891-4abf-9005-c221bc2161eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c2fb80cb-eafa-4145-b40a-3362a13e3c44" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f678aceb-8891-4abf-9005-c221bc2161eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_34715e51-7857-4c0d-ba48-f214a45b5256" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c2fb80cb-eafa-4145-b40a-3362a13e3c44" xlink:to="loc_us-gaap_AssetsCurrent_34715e51-7857-4c0d-ba48-f214a45b5256" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_2c338bd2-8406-46e1-8706-3850180dc4db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dafa7856-c39a-44f2-be98-3f242885553b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2c338bd2-8406-46e1-8706-3850180dc4db" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dafa7856-c39a-44f2-be98-3f242885553b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_7da80fce-1bbb-44bd-bacc-4ca869b85617" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c338bd2-8406-46e1-8706-3850180dc4db" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_7da80fce-1bbb-44bd-bacc-4ca869b85617" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f5e054b2-4ec0-48e2-a12f-d5e54a318737" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2c338bd2-8406-46e1-8706-3850180dc4db" xlink:to="loc_us-gaap_InventoryNet_f5e054b2-4ec0-48e2-a12f-d5e54a318737" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_49196f4f-d176-4343-b536-377e271f41a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2c338bd2-8406-46e1-8706-3850180dc4db" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_49196f4f-d176-4343-b536-377e271f41a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_7149316f-cdbe-448b-9bf3-6e889d09a271" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_057ef674-ad09-4284-bb47-163ebfd36472" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7149316f-cdbe-448b-9bf3-6e889d09a271" xlink:to="loc_us-gaap_StockholdersEquity_057ef674-ad09-4284-bb47-163ebfd36472" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_84633df8-7a60-4fa0-af18-fcf2c491eff5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_7149316f-cdbe-448b-9bf3-6e889d09a271" xlink:to="loc_us-gaap_Liabilities_84633df8-7a60-4fa0-af18-fcf2c491eff5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_58caf0bb-1e5c-4d56-a86c-b8f90185cbd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_5139abde-a568-4008-acbf-7814423139ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58caf0bb-1e5c-4d56-a86c-b8f90185cbd5" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_5139abde-a568-4008-acbf-7814423139ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_684698f0-70e5-41f6-9eae-a405d4c10ef8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_58caf0bb-1e5c-4d56-a86c-b8f90185cbd5" xlink:to="loc_us-gaap_LiabilitiesCurrent_684698f0-70e5-41f6-9eae-a405d4c10ef8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_854b9b25-5641-4e80-9a8e-ddd0a8afdd1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_8a3e04c1-c47d-4e0e-8ba5-f7a2ae939dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_854b9b25-5641-4e80-9a8e-ddd0a8afdd1b" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_8a3e04c1-c47d-4e0e-8ba5-f7a2ae939dbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_a93ee648-5777-44f7-9b6f-870172712ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_854b9b25-5641-4e80-9a8e-ddd0a8afdd1b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_a93ee648-5777-44f7-9b6f-870172712ae6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="simple" xlink:href="mdgl-20240331.xsd#CondensedConsolidatedStatementsOfOperations"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_8cc42f06-a663-4191-8637-3fc9716b1d66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_69987cd2-3f1d-4bdc-8c6c-47b3c1cb77ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_OperatingExpenses_8cc42f06-a663-4191-8637-3fc9716b1d66" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_69987cd2-3f1d-4bdc-8c6c-47b3c1cb77ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_2a2e8053-0861-42c9-a25d-853d4b1405da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8cc42f06-a663-4191-8637-3fc9716b1d66" xlink:to="loc_us-gaap_Revenues_2a2e8053-0861-42c9-a25d-853d4b1405da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_93df07c5-27a7-4f57-942a-08f53df06b10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8cc42f06-a663-4191-8637-3fc9716b1d66" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_93df07c5-27a7-4f57-942a-08f53df06b10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_b79c1427-409d-4624-ac99-25923e9c381a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_8b4a19cf-8c4e-47ae-aaed-2fdf39c35aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b79c1427-409d-4624-ac99-25923e9c381a" xlink:to="loc_us-gaap_OperatingExpenses_8b4a19cf-8c4e-47ae-aaed-2fdf39c35aa5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_10a96950-4615-4656-afa5-131bdc59901f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_52b66d19-f624-46fa-813e-179d76674101" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_10a96950-4615-4656-afa5-131bdc59901f" xlink:to="loc_us-gaap_InterestExpense_52b66d19-f624-46fa-813e-179d76674101" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_d6957ed3-6397-4b17-a9a3-50f81f2ac717" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_10a96950-4615-4656-afa5-131bdc59901f" xlink:to="loc_us-gaap_InvestmentIncomeInterest_d6957ed3-6397-4b17-a9a3-50f81f2ac717" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_66469571-3689-4fb8-8fc2-aa23864bee15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_10a96950-4615-4656-afa5-131bdc59901f" xlink:to="loc_us-gaap_OperatingIncomeLoss_66469571-3689-4fb8-8fc2-aa23864bee15" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CondensedConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple" xlink:href="mdgl-20240331.xsd#CondensedConsolidatedStatementsOfComprehensiveLoss"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CondensedConsolidatedStatementsOfComprehensiveLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_19bfac52-4bab-4eaa-842d-3fcb5ed26388" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d66f5cd4-37f5-4d6f-968d-77ce93703143" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_19bfac52-4bab-4eaa-842d-3fcb5ed26388" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d66f5cd4-37f5-4d6f-968d-77ce93703143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_21550431-9118-45d1-87a8-22aa3f9c941b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_19bfac52-4bab-4eaa-842d-3fcb5ed26388" xlink:to="loc_us-gaap_NetIncomeLoss_21550431-9118-45d1-87a8-22aa3f9c941b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" xlink:href="mdgl-20240331.xsd#CondensedConsolidatedStatementsOfCashFlows"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_d3460c1c-9ea8-4444-9d32-98c2165356cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_dd91eaa0-7787-45a4-a7be-5d430223b4d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d3460c1c-9ea8-4444-9d32-98c2165356cb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_dd91eaa0-7787-45a4-a7be-5d430223b4d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d2a20721-db4e-42b3-b884-adcbee890061" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d3460c1c-9ea8-4444-9d32-98c2165356cb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d2a20721-db4e-42b3-b884-adcbee890061" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_13daf2f3-a222-4ace-a69f-d44d9a739e13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_d3460c1c-9ea8-4444-9d32-98c2165356cb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_13daf2f3-a222-4ace-a69f-d44d9a739e13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6c836aa-8359-4a15-bfc0-474615af3429" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_1d30c8c3-9b76-438e-be75-2108333cb9ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6c836aa-8359-4a15-bfc0-474615af3429" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_1d30c8c3-9b76-438e-be75-2108333cb9ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5bb97224-6376-45ee-af74-e46d2d477acf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6c836aa-8359-4a15-bfc0-474615af3429" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_5bb97224-6376-45ee-af74-e46d2d477acf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2b8f4a02-52e2-4583-b499-98a10454ff33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c6c836aa-8359-4a15-bfc0-474615af3429" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2b8f4a02-52e2-4583-b499-98a10454ff33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a198f86c-9e70-4756-9c01-1fdf1599ba7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_ca3d56fc-ae28-4cb9-bf3f-fae2911d5949" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a198f86c-9e70-4756-9c01-1fdf1599ba7d" xlink:to="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_ca3d56fc-ae28-4cb9-bf3f-fae2911d5949" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_dbdc1690-e4fb-443e-87c6-9dbe45ed42e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a198f86c-9e70-4756-9c01-1fdf1599ba7d" xlink:to="loc_us-gaap_ProceedsFromBankDebt_dbdc1690-e4fb-443e-87c6-9dbe45ed42e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_f3cfe4ad-db88-43f0-97a4-1e8035f0feeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a198f86c-9e70-4756-9c01-1fdf1599ba7d" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_f3cfe4ad-db88-43f0-97a4-1e8035f0feeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_9650409d-0d7b-4eb2-a8ad-cbd06c1254d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_9650409d-0d7b-4eb2-a8ad-cbd06c1254d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_8c5a15eb-f041-457c-840f-74b4595b2d46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_8c5a15eb-f041-457c-840f-74b4595b2d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_9cd25227-f632-4c1e-abc7-5460fe60967b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_ShareBasedCompensation_9cd25227-f632-4c1e-abc7-5460fe60967b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_6cd62c71-d706-4968-a4e3-838cdadc27a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_ProfitLoss_6cd62c71-d706-4968-a4e3-838cdadc27a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_e9575afb-3731-4405-b561-49fd1012175c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_e9575afb-3731-4405-b561-49fd1012175c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_54049179-8234-4d03-9cef-4d42282bc9f4" xlink:href="mdgl-20240331.xsd#mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_54049179-8234-4d03-9cef-4d42282bc9f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_9c03857d-02a8-4edb-8e3d-497e60112215" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_9c03857d-02a8-4edb-8e3d-497e60112215" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_ea6db425-c29e-4e70-a00b-ef331bef0d33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_ea6db425-c29e-4e70-a00b-ef331bef0d33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_7e035e3c-814a-4374-9b42-b866305d1900" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3345f721-7376-4615-9a9e-54ac5ae65a60" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_7e035e3c-814a-4374-9b42-b866305d1900" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesSummaryDetails" xlink:type="simple" xlink:href="mdgl-20240331.xsd#CashCashEquivalentsandMarketableSecuritiesSummaryDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesSummaryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_5d73643d-eb81-4c31-8c6b-2b2008d97aaf" xlink:href="mdgl-20240331.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_94f5b1b0-65c3-44b9-a5dd-88d48cc0b9da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d73643d-eb81-4c31-8c6b-2b2008d97aaf" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_94f5b1b0-65c3-44b9-a5dd-88d48cc0b9da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3a16ede4-e732-4ee3-b618-9c2aaad40733" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5d73643d-eb81-4c31-8c6b-2b2008d97aaf" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3a16ede4-e732-4ee3-b618-9c2aaad40733" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b6f825b6-290f-477e-923c-a05f72c45f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2c2a5fb2-abbc-4102-9f05-520bac39d2e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6f825b6-290f-477e-923c-a05f72c45f2a" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2c2a5fb2-abbc-4102-9f05-520bac39d2e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_70c96c91-d435-4dbf-94f4-4cf0c6571209" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6f825b6-290f-477e-923c-a05f72c45f2a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_70c96c91-d435-4dbf-94f4-4cf0c6571209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_d1cf3f1d-44b4-4368-b13c-85ed13178594" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6f825b6-290f-477e-923c-a05f72c45f2a" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_d1cf3f1d-44b4-4368-b13c-85ed13178594" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesSummaryDetails_1" xlink:type="simple" xlink:href="mdgl-20240331.xsd#CashCashEquivalentsandMarketableSecuritiesSummaryDetails_1"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesSummaryDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_abbd6aed-0334-4c69-88cc-477dfbc777de" xlink:href="mdgl-20240331.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_7e02c0dc-a0ba-451b-8382-2e827f32a70f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_abbd6aed-0334-4c69-88cc-477dfbc777de" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_7e02c0dc-a0ba-451b-8382-2e827f32a70f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_ed87dc2e-ed92-43c1-95b6-f8079efb6abb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_abbd6aed-0334-4c69-88cc-477dfbc777de" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_ed87dc2e-ed92-43c1-95b6-f8079efb6abb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_be573a86-1efe-4c20-9c42-138a158bf671" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_abbd6aed-0334-4c69-88cc-477dfbc777de" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_be573a86-1efe-4c20-9c42-138a158bf671" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/InventoryDetails" xlink:type="simple" xlink:href="mdgl-20240331.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_d3ff3154-66ce-4e48-8a25-c9fb75db656e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_d1444025-7557-4572-a4fa-bb4cdcd3578a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_d3ff3154-66ce-4e48-8a25-c9fb75db656e" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_d1444025-7557-4572-a4fa-bb4cdcd3578a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_7e922a11-2e95-46a6-ae90-d6145b779c09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_d3ff3154-66ce-4e48-8a25-c9fb75db656e" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_7e922a11-2e95-46a6-ae90-d6145b779c09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_af344116-da39-43cd-98ab-7f798700308c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_d3ff3154-66ce-4e48-8a25-c9fb75db656e" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_af344116-da39-43cd-98ab-7f798700308c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/AccruedLiabilitiesDetails" xlink:type="simple" xlink:href="mdgl-20240331.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_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrent_6a06e4a4-064e-4468-b621-51bd1167aa45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedProfessionalFeesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrent_6a06e4a4-064e-4468-b621-51bd1167aa45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_249e5a5b-92fb-4e8c-b143-eecc190ca2b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_249e5a5b-92fb-4e8c-b143-eecc190ca2b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5e543bd9-1e35-4413-90bf-a25c37060106" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_AccruedLiabilitiesCurrent_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_5e543bd9-1e35-4413-90bf-a25c37060106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent_a7958af0-f1ed-47c5-8abd-73b257db7143" xlink:href="mdgl-20240331.xsd#mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:to="loc_mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent_a7958af0-f1ed-47c5-8abd-73b257db7143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedManufacturingAndDrugSupplyCurrent_83fc9fd6-b2fc-4916-8c4a-2da5a70d33b4" xlink:href="mdgl-20240331.xsd#mdgl_AccruedManufacturingAndDrugSupplyCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:to="loc_mdgl_AccruedManufacturingAndDrugSupplyCurrent_83fc9fd6-b2fc-4916-8c4a-2da5a70d33b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedContractResearchCostsCurrent_b5a4da92-04dd-4732-a1cb-e32ad5e38e1c" xlink:href="mdgl-20240331.xsd#mdgl_AccruedContractResearchCostsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_eddb13ab-e1b5-4e09-b0eb-7e874a532cf0" xlink:to="loc_mdgl_AccruedContractResearchCostsCurrent_b5a4da92-04dd-4732-a1cb-e32ad5e38e1c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LongTermDebtScheduleofMaturitiesofLongTermDebtDetails" xlink:type="simple" xlink:href="mdgl-20240331.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_1cd2f1b8-bd00-473d-aeac-233100cf61ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LongTermDebtMaturityAfterYearThree_7ad11b6a-0cf8-4b2d-b92c-cc3738e7e8dc" xlink:href="mdgl-20240331.xsd#mdgl_LongTermDebtMaturityAfterYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_1cd2f1b8-bd00-473d-aeac-233100cf61ef" xlink:to="loc_mdgl_LongTermDebtMaturityAfterYearThree_7ad11b6a-0cf8-4b2d-b92c-cc3738e7e8dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_ad9deae5-7113-4bbe-83b0-9065abea1a64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_1cd2f1b8-bd00-473d-aeac-233100cf61ef" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_ad9deae5-7113-4bbe-83b0-9065abea1a64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_d392078b-8d5e-48ff-9ce6-a99f19a00e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_1cd2f1b8-bd00-473d-aeac-233100cf61ef" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_d392078b-8d5e-48ff-9ce6-a99f19a00e7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e7ebdf42-f050-4deb-9e52-b3861a106e47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_1cd2f1b8-bd00-473d-aeac-233100cf61ef" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e7ebdf42-f050-4deb-9e52-b3861a106e47" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
