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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:79e3db90-bb1f-4e59-ba62-e3660aaf7428,g:07d5bf27-8b62-4a8f-94ea-41c06084f438-->
<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-20231231.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_AssetsCurrent_2a4f61cb-f71e-4174-a1fa-544d4f242e7f" 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_f6d7c470-4ea2-4b96-9062-a366d055f8bd" 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_2a4f61cb-f71e-4174-a1fa-544d4f242e7f" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f6d7c470-4ea2-4b96-9062-a366d055f8bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_6ff0cef3-0219-4fa6-80e4-9cf83fbcfd0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_2a4f61cb-f71e-4174-a1fa-544d4f242e7f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_6ff0cef3-0219-4fa6-80e4-9cf83fbcfd0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_422892ba-c6f7-420f-9f2d-d95bfc164c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2a4f61cb-f71e-4174-a1fa-544d4f242e7f" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_422892ba-c6f7-420f-9f2d-d95bfc164c1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_6688ba49-0c82-4e09-9a4d-cca951ce8de7" 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_PreferredStockValue_d071d9b5-9efa-4969-b06a-38c4e58c35fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6688ba49-0c82-4e09-9a4d-cca951ce8de7" xlink:to="loc_us-gaap_PreferredStockValue_d071d9b5-9efa-4969-b06a-38c4e58c35fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_222425b6-48bb-4ae5-aaa3-3c6faab49d96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6688ba49-0c82-4e09-9a4d-cca951ce8de7" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_222425b6-48bb-4ae5-aaa3-3c6faab49d96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_cbfcb9fd-1676-4914-b868-20a1719c773f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6688ba49-0c82-4e09-9a4d-cca951ce8de7" xlink:to="loc_us-gaap_CommonStockValue_cbfcb9fd-1676-4914-b868-20a1719c773f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_33ae62cb-557e-477b-923a-06d6f480ae9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6688ba49-0c82-4e09-9a4d-cca951ce8de7" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_33ae62cb-557e-477b-923a-06d6f480ae9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4184d650-3dbf-42a8-b589-79d89a2ea708" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6688ba49-0c82-4e09-9a4d-cca951ce8de7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4184d650-3dbf-42a8-b589-79d89a2ea708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_fc0aebd0-2b2a-47ea-9f7e-d908e348515f" 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_AssetsCurrent_73a24424-6697-4a39-a8d5-ff16a97b028a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fc0aebd0-2b2a-47ea-9f7e-d908e348515f" xlink:to="loc_us-gaap_AssetsCurrent_73a24424-6697-4a39-a8d5-ff16a97b028a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_ff7646cc-4f3f-40f4-9957-6cd3ec0c9d1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fc0aebd0-2b2a-47ea-9f7e-d908e348515f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_ff7646cc-4f3f-40f4-9957-6cd3ec0c9d1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_6037a8a3-5eb4-46df-bf6f-4ccf7fdd994e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fc0aebd0-2b2a-47ea-9f7e-d908e348515f" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_6037a8a3-5eb4-46df-bf6f-4ccf7fdd994e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_81238187-2897-4d5f-973c-cd26e3d6e5af" 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_266d87eb-2d26-479f-8213-1cdab262132f" 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_81238187-2897-4d5f-973c-cd26e3d6e5af" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_266d87eb-2d26-479f-8213-1cdab262132f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_dfa3ab91-f2e7-4d49-9b9b-f5b2dcfb5f08" 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_81238187-2897-4d5f-973c-cd26e3d6e5af" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_dfa3ab91-f2e7-4d49-9b9b-f5b2dcfb5f08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_b258ac3d-1db0-4a4d-9547-548515420eee" 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_c66f70a0-e510-486d-b0c5-a9b5420f8c00" 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_b258ac3d-1db0-4a4d-9547-548515420eee" xlink:to="loc_us-gaap_StockholdersEquity_c66f70a0-e510-486d-b0c5-a9b5420f8c00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_458b5295-f642-4c8d-b43e-4bde0b9e5d92" 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_b258ac3d-1db0-4a4d-9547-548515420eee" xlink:to="loc_us-gaap_Liabilities_458b5295-f642-4c8d-b43e-4bde0b9e5d92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_ae07182c-1fdb-4abc-8e11-dc3ee0f23216" 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_LiabilitiesCurrent_4d448fdd-210f-4412-989d-0a1bb7c97b15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ae07182c-1fdb-4abc-8e11-dc3ee0f23216" xlink:to="loc_us-gaap_LiabilitiesCurrent_4d448fdd-210f-4412-989d-0a1bb7c97b15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_ce3973cf-206e-441b-86b7-a6bcd1654019" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ae07182c-1fdb-4abc-8e11-dc3ee0f23216" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_ce3973cf-206e-441b-86b7-a6bcd1654019" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_ded5626a-2755-47cf-bd5a-7151d849ec7a" 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_AccruedLiabilitiesCurrent_6cfb544a-1b1e-4997-b1f9-2d517b973d2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ded5626a-2755-47cf-bd5a-7151d849ec7a" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_6cfb544a-1b1e-4997-b1f9-2d517b973d2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_be5271e5-483f-40dd-8a87-b9d1dc63a4a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ded5626a-2755-47cf-bd5a-7151d849ec7a" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_be5271e5-483f-40dd-8a87-b9d1dc63a4a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_6c8aa2e4-7d13-498c-93ac-3044f79f966d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ded5626a-2755-47cf-bd5a-7151d849ec7a" xlink:to="loc_us-gaap_AccountsPayableCurrent_6c8aa2e4-7d13-498c-93ac-3044f79f966d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="mdgl-20231231.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_NetIncomeLoss_3e21f5b1-906d-4e7d-adea-879e85ba4265" 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_InvestmentIncomeInterest_866a498c-9518-473f-bacc-3855f17fb54c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3e21f5b1-906d-4e7d-adea-879e85ba4265" xlink:to="loc_us-gaap_InvestmentIncomeInterest_866a498c-9518-473f-bacc-3855f17fb54c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncome_ea189488-e333-4c06-939f-0553ed599d07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_3e21f5b1-906d-4e7d-adea-879e85ba4265" xlink:to="loc_us-gaap_OtherNonoperatingIncome_ea189488-e333-4c06-939f-0553ed599d07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_dcae8cbb-133e-49c4-908d-fc15966f5f03" 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_3e21f5b1-906d-4e7d-adea-879e85ba4265" xlink:to="loc_us-gaap_OperatingIncomeLoss_dcae8cbb-133e-49c4-908d-fc15966f5f03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_791fc6ec-5b17-4207-bfff-23278af129bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_3e21f5b1-906d-4e7d-adea-879e85ba4265" xlink:to="loc_us-gaap_InterestExpense_791fc6ec-5b17-4207-bfff-23278af129bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_e74a03bf-fd32-4b4d-b1ef-f29cbefe19ff" 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_63447ff2-4a2b-46da-89fd-1cbdd2b6a86d" 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_e74a03bf-fd32-4b4d-b1ef-f29cbefe19ff" xlink:to="loc_us-gaap_OperatingExpenses_63447ff2-4a2b-46da-89fd-1cbdd2b6a86d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_6649d9e0-b794-4a12-bc10-e66b72575cd5" 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_a7a20203-ce3d-4861-a5b7-43dbfc2d11d4" 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_6649d9e0-b794-4a12-bc10-e66b72575cd5" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_a7a20203-ce3d-4861-a5b7-43dbfc2d11d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_3afb530f-704f-4283-bd3f-9a4eeb173f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_6649d9e0-b794-4a12-bc10-e66b72575cd5" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_3afb530f-704f-4283-bd3f-9a4eeb173f2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_1794c1d7-4fc5-4e3f-9877-91ca617280a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_6649d9e0-b794-4a12-bc10-e66b72575cd5" xlink:to="loc_us-gaap_Revenues_1794c1d7-4fc5-4e3f-9877-91ca617280a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/ConsolidatedStatementsofComprehensiveLoss" xlink:type="simple" xlink:href="mdgl-20231231.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_fec884c5-4ce4-4917-b05f-72ebe4a54fc5" 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_NetIncomeLoss_63d6483c-ade2-4b6b-b303-bbcb9bf83238" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fec884c5-4ce4-4917-b05f-72ebe4a54fc5" xlink:to="loc_us-gaap_NetIncomeLoss_63d6483c-ade2-4b6b-b303-bbcb9bf83238" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_a46537d0-829e-4169-9b72-940047d96ece" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_fec884c5-4ce4-4917-b05f-72ebe4a54fc5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_a46537d0-829e-4169-9b72-940047d96ece" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="mdgl-20231231.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_2740b22c-44e0-48d6-b988-90d17e4af894" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt_f408a019-f31a-4bf0-90cd-6bc8949ab69b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2740b22c-44e0-48d6-b988-90d17e4af894" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_f408a019-f31a-4bf0-90cd-6bc8949ab69b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_70d4f4ef-6b3b-4878-9440-8f9bc21cd249" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2740b22c-44e0-48d6-b988-90d17e4af894" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_70d4f4ef-6b3b-4878-9440-8f9bc21cd249" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_d188d67d-e423-4d3c-938d-dfb9312f2b21" 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_2740b22c-44e0-48d6-b988-90d17e4af894" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_d188d67d-e423-4d3c-938d-dfb9312f2b21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1d318bb8-495f-4b50-8dcf-f50376eae24d" 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_ProfitLoss_1c0e2f28-582f-4ce7-b517-d7fbaa50366a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_ProfitLoss_1c0e2f28-582f-4ce7-b517-d7fbaa50366a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_2fbffec4-e520-48ad-84a3-37648aa9b35a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_ShareBasedCompensation_2fbffec4-e520-48ad-84a3-37648aa9b35a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_8647ce34-7a63-4d25-841f-9efd8c31dd23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_8647ce34-7a63-4d25-841f-9efd8c31dd23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_ee57c18e-4fc1-4215-b9ed-a6b8e4e569a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_ee57c18e-4fc1-4215-b9ed-a6b8e4e569a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_ef0bf92b-96bf-4392-a788-c2e4d03546d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_ef0bf92b-96bf-4392-a788-c2e4d03546d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_4c2e1213-b3b1-4144-91a2-f03f65a5a6f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_4c2e1213-b3b1-4144-91a2-f03f65a5a6f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_5e2d06bf-fd02-496e-bc6c-b67f4bc13d05" xlink:href="mdgl-20231231.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_5e2d06bf-fd02-496e-bc6c-b67f4bc13d05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_af6dbc29-be9a-4ff3-b092-6894945d2873" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1d318bb8-495f-4b50-8dcf-f50376eae24d" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_af6dbc29-be9a-4ff3-b092-6894945d2873" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_eed51522-14fd-4c29-a1d6-054571c87001" 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_cc372abb-ab56-4d0e-b83b-7fe538aa9f57" 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_eed51522-14fd-4c29-a1d6-054571c87001" xlink:to="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_cc372abb-ab56-4d0e-b83b-7fe538aa9f57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_f2f8da9c-03fc-461b-894d-0f9479df82db" 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_eed51522-14fd-4c29-a1d6-054571c87001" xlink:to="loc_us-gaap_ProceedsFromBankDebt_f2f8da9c-03fc-461b-894d-0f9479df82db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_eb09c645-8702-4368-b64c-e52264ee1ea4" 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_eed51522-14fd-4c29-a1d6-054571c87001" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_eb09c645-8702-4368-b64c-e52264ee1ea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_da63079b-11b3-4f23-a802-58db3814fec1" 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_NetCashProvidedByUsedInInvestingActivities_917859df-6f39-43b5-9aab-8eb3a1600537" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_da63079b-11b3-4f23-a802-58db3814fec1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_917859df-6f39-43b5-9aab-8eb3a1600537" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d97095dd-8ba7-4e69-ae24-f7fa8f86bd5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_da63079b-11b3-4f23-a802-58db3814fec1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d97095dd-8ba7-4e69-ae24-f7fa8f86bd5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_544cd72e-c6a6-4194-9c2b-3f1a51965785" 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_da63079b-11b3-4f23-a802-58db3814fec1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_544cd72e-c6a6-4194-9c2b-3f1a51965785" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesDetails" xlink:type="simple" xlink:href="mdgl-20231231.xsd#CashCashEquivalentsandMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_871ed448-e39b-4449-8d32-0961087ac602" xlink:href="mdgl-20231231.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8c011e29-377a-4a49-b10d-f7663e66c1de" 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_871ed448-e39b-4449-8d32-0961087ac602" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8c011e29-377a-4a49-b10d-f7663e66c1de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_149cb69c-2c84-4c78-9a07-8e432bffb0a3" 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_871ed448-e39b-4449-8d32-0961087ac602" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_149cb69c-2c84-4c78-9a07-8e432bffb0a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_8e7926b7-fa20-43c2-b8fb-ba076e13347a" 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_871ed448-e39b-4449-8d32-0961087ac602" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_8e7926b7-fa20-43c2-b8fb-ba076e13347a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_e599c8df-5f07-4696-bfea-1cbd1078389d" 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_c73b4466-e192-43c6-8565-6efb5822c26d" 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_e599c8df-5f07-4696-bfea-1cbd1078389d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_c73b4466-e192-43c6-8565-6efb5822c26d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_ed45af94-4a95-4c74-9838-6fe71822bb7b" 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_e599c8df-5f07-4696-bfea-1cbd1078389d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_ed45af94-4a95-4c74-9838-6fe71822bb7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9febe71b-0399-4daa-a3cb-78beddb685d3" 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_e599c8df-5f07-4696-bfea-1cbd1078389d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9febe71b-0399-4daa-a3cb-78beddb685d3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesDetails_1" xlink:type="simple" xlink:href="mdgl-20231231.xsd#CashCashEquivalentsandMarketableSecuritiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_79623ed6-8a61-47d5-afdb-e415053bfd60" xlink:href="mdgl-20231231.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1a82346d-c83f-437a-a0d4-2d525c2c65cb" 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_79623ed6-8a61-47d5-afdb-e415053bfd60" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1a82346d-c83f-437a-a0d4-2d525c2c65cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1c357ad8-71fb-4ceb-841e-0ebbb1e52999" 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_79623ed6-8a61-47d5-afdb-e415053bfd60" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1c357ad8-71fb-4ceb-841e-0ebbb1e52999" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/AccruedLiabilitiesDetails" xlink:type="simple" xlink:href="mdgl-20231231.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_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" 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_OtherAccruedLiabilitiesCurrent_f2e81105-5aa1-4185-a9bc-69fd11c6db15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_f2e81105-5aa1-4185-a9bc-69fd11c6db15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8e306448-2f46-4d10-a048-2540ce62911c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8e306448-2f46-4d10-a048-2540ce62911c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedProfessionalFeesCurrent_f5cb314e-94f8-4dc7-8841-3bc8c6ef2aeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" xlink:to="loc_us-gaap_AccruedProfessionalFeesCurrent_f5cb314e-94f8-4dc7-8841-3bc8c6ef2aeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedManufacturingAndDrugSupplyCurrent_7e58f19f-08a0-4550-b192-3824b31e7f59" xlink:href="mdgl-20231231.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_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" xlink:to="loc_mdgl_AccruedManufacturingAndDrugSupplyCurrent_7e58f19f-08a0-4550-b192-3824b31e7f59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedContractResearchCostsCurrent_11a1de45-3cc3-4b1a-b895-086ddd80bb54" xlink:href="mdgl-20231231.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_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" xlink:to="loc_mdgl_AccruedContractResearchCostsCurrent_11a1de45-3cc3-4b1a-b895-086ddd80bb54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent_f70a3ea3-5395-4c75-afc9-768c80a5fdd2" xlink:href="mdgl-20231231.xsd#mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_5e0c4fdf-fa2b-427e-8f73-56211e4fb040" xlink:to="loc_mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent_f70a3ea3-5395-4c75-afc9-768c80a5fdd2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LeasesMinimumPaymentsforOperatingLeasesDetails" xlink:type="simple" xlink:href="mdgl-20231231.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_4bb8b6c9-cc62-4365-8185-023d82c0d6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_302dc196-cc9b-47af-897a-81eb79c6b3a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4bb8b6c9-cc62-4365-8185-023d82c0d6e0" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_302dc196-cc9b-47af-897a-81eb79c6b3a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_152f9881-3890-4896-ac1a-1e66d4d3de4a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4bb8b6c9-cc62-4365-8185-023d82c0d6e0" xlink:to="loc_us-gaap_OperatingLeaseLiability_152f9881-3890-4896-ac1a-1e66d4d3de4a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LeasesMinimumPaymentsforOperatingLeasesDetails_1" xlink:type="simple" xlink:href="mdgl-20231231.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_92c421e1-e8d4-45e5-9674-53a302b7c794" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_dd4a3ec2-d03a-4032-a848-e40368bad865" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_92c421e1-e8d4-45e5-9674-53a302b7c794" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_dd4a3ec2-d03a-4032-a848-e40368bad865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_bf640f82-4686-47ed-8458-8ff1af03a98b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_92c421e1-e8d4-45e5-9674-53a302b7c794" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_bf640f82-4686-47ed-8458-8ff1af03a98b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f1f3d4d0-a687-4ea9-8473-3d4c6002bc04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_92c421e1-e8d4-45e5-9674-53a302b7c794" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f1f3d4d0-a687-4ea9-8473-3d4c6002bc04" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="mdgl-20231231.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_DeferredIncomeTaxLiabilities_4a9688bb-ea4a-4d9d-9a35-b92c78691616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities_6d957d49-3a48-4685-9b45-e5d67eb75fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_4a9688bb-ea4a-4d9d-9a35-b92c78691616" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities_6d957d49-3a48-4685-9b45-e5d67eb75fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_DeferredTaxAssetsDeferredExpenseCapitalizedResearchAndDevelopmentCosts_395be0eb-d36f-4f9b-932f-ef609da115ab" xlink:href="mdgl-20231231.xsd#mdgl_DeferredTaxAssetsDeferredExpenseCapitalizedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_mdgl_DeferredTaxAssetsDeferredExpenseCapitalizedResearchAndDevelopmentCosts_395be0eb-d36f-4f9b-932f-ef609da115ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_95e68889-100f-485f-a40c-fc1596c7ae12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_95e68889-100f-485f-a40c-fc1596c7ae12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_38686d52-b4c6-4b42-ba92-edf284b300fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_38686d52-b4c6-4b42-ba92-edf284b300fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_37fc4ed3-1dca-44d4-b85d-4b1f9911ac20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_37fc4ed3-1dca-44d4-b85d-4b1f9911ac20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_563c5d3f-d850-455f-a7db-4c1ba0987869" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_563c5d3f-d850-455f-a7db-4c1ba0987869" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_9e97d9a8-a566-4e66-82de-1428330acd2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_9e97d9a8-a566-4e66-82de-1428330acd2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities_18f26c25-4c66-4051-84a2-21faa69d1986" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities_18f26c25-4c66-4051-84a2-21faa69d1986" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards_a94982b9-2f29-4023-98bd-685584abf4ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards_a94982b9-2f29-4023-98bd-685584abf4ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_e89ab768-3c78-476b-93b3-88022e3cc193" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_00027021-763b-48fd-8f20-6545f98941de" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_e89ab768-3c78-476b-93b3-88022e3cc193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_f3849eb6-8c4a-4897-b79f-3cfb8f78d8a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_b91ad342-97c7-46d9-9ec7-e3af3e9be9a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3849eb6-8c4a-4897-b79f-3cfb8f78d8a9" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_b91ad342-97c7-46d9-9ec7-e3af3e9be9a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_c6754415-da9e-405f-b09a-6af7b28e5791" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_f3849eb6-8c4a-4897-b79f-3cfb8f78d8a9" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_c6754415-da9e-405f-b09a-6af7b28e5791" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_83914074-cc90-459d-8c10-59245987cc22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_2772dea1-79da-4534-b5d6-f9e550bef86d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_83914074-cc90-459d-8c10-59245987cc22" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_2772dea1-79da-4534-b5d6-f9e550bef86d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_1a6e45ca-ee6d-4926-bc79-faf92814e8be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_83914074-cc90-459d-8c10-59245987cc22" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_1a6e45ca-ee6d-4926-bc79-faf92814e8be" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/IncomeTaxesEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="mdgl-20231231.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_103dd286-55a8-4f84-861d-f72a7366b29e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_103dd286-55a8-4f84-861d-f72a7366b29e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_EffectiveIncomeTaxRateReconciliation162MLimitationAmount_6a0dbb52-82c9-469e-a28f-db25a2233382" xlink:href="mdgl-20231231.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_mdgl_EffectiveIncomeTaxRateReconciliation162MLimitationAmount_6a0dbb52-82c9-469e-a28f-db25a2233382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_4b2ffa3f-84cb-48ac-9286-ee9fea164cd9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_4b2ffa3f-84cb-48ac-9286-ee9fea164cd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_23b69568-6d53-425d-88df-f450d47072ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_23b69568-6d53-425d-88df-f450d47072ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_6ee3881a-cc2f-48bd-b896-ca1c1c833765" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_6ee3881a-cc2f-48bd-b896-ca1c1c833765" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_40c41d4d-d885-4660-a4fc-a7540a637b7e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_40c41d4d-d885-4660-a4fc-a7540a637b7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_ee20f6ab-cfc5-43f4-bac4-78da1a2138ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_ee20f6ab-cfc5-43f4-bac4-78da1a2138ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_d0d96a96-733a-4604-8128-0f74b2ad7e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3a03e5dd-6566-4e66-89f3-b9b693879577" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_d0d96a96-733a-4604-8128-0f74b2ad7e8c" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
