<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:32cf0ab4-0795-4d35-a798-7a3b66d8a0c0,g:1b261b7f-b6e0-4405-ad44-decef8d62769-->
<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.magnoliaoilgas.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="mgy-20250331.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_11b9040f-d45a-49b0-9adf-2a2674be7f53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_20339e78-eace-4e56-acff-6a7c659c76ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_11b9040f-d45a-49b0-9adf-2a2674be7f53" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_20339e78-eace-4e56-acff-6a7c659c76ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_dcf54604-361c-4098-98a6-f91633602ecc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_11b9040f-d45a-49b0-9adf-2a2674be7f53" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_dcf54604-361c-4098-98a6-f91633602ecc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_087d333f-a3b7-4daa-bbb0-ff62bf708d35" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_11b9040f-d45a-49b0-9adf-2a2674be7f53" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_087d333f-a3b7-4daa-bbb0-ff62bf708d35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_7dd7e55c-e484-44d2-afb5-fd012e357ac5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_39237e3b-e9f5-4eef-bccf-6696be651635" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_LiabilitiesAndStockholdersEquity_7dd7e55c-e484-44d2-afb5-fd012e357ac5" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_39237e3b-e9f5-4eef-bccf-6696be651635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_2f7bcb0b-c66b-4906-8197-5bcd1d49b034" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_LiabilitiesAndStockholdersEquity_7dd7e55c-e484-44d2-afb5-fd012e357ac5" xlink:to="loc_us-gaap_LiabilitiesCurrent_2f7bcb0b-c66b-4906-8197-5bcd1d49b034" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_ced90f20-9f85-4487-ad8b-07b083ffa456" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_7dd7e55c-e484-44d2-afb5-fd012e357ac5" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_ced90f20-9f85-4487-ad8b-07b083ffa456" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_46207fd0-d740-4865-8598-ddfaf339f0d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_7dd7e55c-e484-44d2-afb5-fd012e357ac5" xlink:to="loc_us-gaap_CommitmentsAndContingencies_46207fd0-d740-4865-8598-ddfaf339f0d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet_0bcff24e-b415-4ff6-80c7-1d8b08dabf1b" xlink:href="mgy-20250331.xsd#mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_bd9eb5fa-b24c-4a5a-b128-e3065b26b6f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet_0bcff24e-b415-4ff6-80c7-1d8b08dabf1b" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_bd9eb5fa-b24c-4a5a-b128-e3065b26b6f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_c3d74d67-b5e8-41a1-900e-a21ba05a1472" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet_0bcff24e-b415-4ff6-80c7-1d8b08dabf1b" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_c3d74d67-b5e8-41a1-900e-a21ba05a1472" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_f58bb75e-2aac-4d3f-a54f-0e624a8d21b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet_0bcff24e-b415-4ff6-80c7-1d8b08dabf1b" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_f58bb75e-2aac-4d3f-a54f-0e624a8d21b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_dddf5726-abb0-4ef0-a33c-a82feaa298a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_00a15a73-bc90-4f71-bbf2-05e1001b4543" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dddf5726-abb0-4ef0-a33c-a82feaa298a8" xlink:to="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_00a15a73-bc90-4f71-bbf2-05e1001b4543" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet_3f4c8518-f9a5-454c-b308-d0622256e605" xlink:href="mgy-20250331.xsd#mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dddf5726-abb0-4ef0-a33c-a82feaa298a8" xlink:to="loc_mgy_AssetsNoncurrentExcludingOilAndGasPropertySuccessfulEffortMethodNet_3f4c8518-f9a5-454c-b308-d0622256e605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_d6b40107-31ba-47cd-a030-7feb17cd4f90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dddf5726-abb0-4ef0-a33c-a82feaa298a8" xlink:to="loc_us-gaap_AssetsCurrent_d6b40107-31ba-47cd-a030-7feb17cd4f90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_0f5bcb2a-cb07-454e-9020-0088e231e30c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodGross_5cf2ba5c-791f-4f86-a799-72df8c0b13bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_0f5bcb2a-cb07-454e-9020-0088e231e30c" xlink:to="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodGross_5cf2ba5c-791f-4f86-a799-72df8c0b13bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOilAndGasPropertySuccessfulEffortMethod_dfe94aed-a053-44f7-9931-ab48802fd544" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherOilAndGasPropertySuccessfulEffortMethod"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_0f5bcb2a-cb07-454e-9020-0088e231e30c" xlink:to="loc_us-gaap_OtherOilAndGasPropertySuccessfulEffortMethod_dfe94aed-a053-44f7-9931-ab48802fd544" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodAccumulatedDepreciationDepletionAndAmortization_b1f88029-a5a5-41fe-9be5-007ace2d0558" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodAccumulatedDepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_0f5bcb2a-cb07-454e-9020-0088e231e30c" xlink:to="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodAccumulatedDepreciationDepletionAndAmortization_b1f88029-a5a5-41fe-9be5-007ace2d0558" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_aec60d7e-eaf1-4c56-8d9f-19583c3f4c98" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e67820ed-2ac3-4db3-add8-71422d776032" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_aec60d7e-eaf1-4c56-8d9f-19583c3f4c98" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e67820ed-2ac3-4db3-add8-71422d776032" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_e56f59e7-fb23-49ad-9e61-7493189597a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_aec60d7e-eaf1-4c56-8d9f-19583c3f4c98" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_e56f59e7-fb23-49ad-9e61-7493189597a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_DrillingAdvances_0b16261e-8733-4690-99aa-e5c69df35b2f" xlink:href="mgy-20250331.xsd#mgy_DrillingAdvances"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_aec60d7e-eaf1-4c56-8d9f-19583c3f4c98" xlink:to="loc_mgy_DrillingAdvances_0b16261e-8733-4690-99aa-e5c69df35b2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_9372ed89-bb9e-4429-832e-2f7c57d94f02" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_aec60d7e-eaf1-4c56-8d9f-19583c3f4c98" xlink:to="loc_us-gaap_OtherAssetsCurrent_9372ed89-bb9e-4429-832e-2f7c57d94f02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_c0815b72-6e73-4821-a04b-73c52f5a6de6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_da636ac6-16f6-4532-b8ec-b1b2d6df6f81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_c0815b72-6e73-4821-a04b-73c52f5a6de6" xlink:to="loc_us-gaap_AccountsPayableCurrent_da636ac6-16f6-4532-b8ec-b1b2d6df6f81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_f2602ff5-ff7f-448f-9798-5c293a2e7724" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_c0815b72-6e73-4821-a04b-73c52f5a6de6" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_f2602ff5-ff7f-448f-9798-5c293a2e7724" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_441329bf-6131-4253-a3e3-946bbf557a94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_a83a3cd1-9b9e-4c21-b5bb-05f686f67fff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_441329bf-6131-4253-a3e3-946bbf557a94" xlink:to="loc_us-gaap_MinorityInterest_a83a3cd1-9b9e-4c21-b5bb-05f686f67fff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_26e5f3e4-1b26-428d-b1b1-85391225d717" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_441329bf-6131-4253-a3e3-946bbf557a94" xlink:to="loc_us-gaap_CommonStockValue_26e5f3e4-1b26-428d-b1b1-85391225d717" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0fbc2446-5586-4dc0-8f66-7fb65e16d34c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_441329bf-6131-4253-a3e3-946bbf557a94" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0fbc2446-5586-4dc0-8f66-7fb65e16d34c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_ca6a3614-bd45-4748-a9b0-fa82817d1799" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_441329bf-6131-4253-a3e3-946bbf557a94" xlink:to="loc_us-gaap_TreasuryStockCommonValue_ca6a3614-bd45-4748-a9b0-fa82817d1799" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_f46bcc6d-c614-4b70-8c1b-639ea7d2ee79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_441329bf-6131-4253-a3e3-946bbf557a94" xlink:to="loc_us-gaap_AdditionalPaidInCapital_f46bcc6d-c614-4b70-8c1b-639ea7d2ee79" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/ConsolidatedStatementsofOperationsUnaudited" xlink:type="simple" xlink:href="mgy-20250331.xsd#ConsolidatedStatementsofOperationsUnaudited"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/ConsolidatedStatementsofOperationsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_d0da3072-5855-46ab-a593-2a24dca86993" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_us-gaap_OperatingLeaseExpense_d0da3072-5855-46ab-a593-2a24dca86993" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_GasGatheringTransportationMarketingAndProcessingCosts1_2d1b99c4-2817-449c-93c4-7fabc695457c" xlink:href="mgy-20250331.xsd#mgy_GasGatheringTransportationMarketingAndProcessingCosts1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_mgy_GasGatheringTransportationMarketingAndProcessingCosts1_2d1b99c4-2817-449c-93c4-7fabc695457c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesExcludingIncomeAndExciseTaxes_19e56639-567c-4955-b9f2-e67e7b3d69f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TaxesExcludingIncomeAndExciseTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_us-gaap_TaxesExcludingIncomeAndExciseTaxes_19e56639-567c-4955-b9f2-e67e7b3d69f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExplorationExpense_98f2dba1-b6bc-445d-9860-73ccd7fba7dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExplorationExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_us-gaap_ExplorationExpense_98f2dba1-b6bc-445d-9860-73ccd7fba7dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_09428857-4f60-4fba-b965-f97bc314eda8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_09428857-4f60-4fba-b965-f97bc314eda8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_0826d2e1-04b5-42c3-b1d7-1a7d6d0712aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_0826d2e1-04b5-42c3-b1d7-1a7d6d0712aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_65a356a5-7611-4328-989d-40f57ae48494" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_274610ed-4a95-48cf-b9f7-5fc7cfc67cbb" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_65a356a5-7611-4328-989d-40f57ae48494" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_82b89cc6-c594-452e-93c7-93527ad59f9f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_edf1f70b-b8ad-4c1c-9942-607fbdef1a0f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_82b89cc6-c594-452e-93c7-93527ad59f9f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_edf1f70b-b8ad-4c1c-9942-607fbdef1a0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_58699558-c0d5-4e75-9e49-b93874bdc166" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_82b89cc6-c594-452e-93c7-93527ad59f9f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_58699558-c0d5-4e75-9e49-b93874bdc166" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_d07655c2-cf53-4699-a656-ec5f4c327150" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_e58b5e00-ff51-4692-8af2-779ff28c63a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_d07655c2-cf53-4699-a656-ec5f4c327150" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_e58b5e00-ff51-4692-8af2-779ff28c63a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_064ddec8-d5f9-4da2-b8e8-ffcff62c69ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_d07655c2-cf53-4699-a656-ec5f4c327150" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_064ddec8-d5f9-4da2-b8e8-ffcff62c69ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fb0223c-136a-401a-a035-ce587fe40d4f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0990e2b8-88b8-4879-92a5-da5675186564" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fb0223c-136a-401a-a035-ce587fe40d4f" xlink:to="loc_us-gaap_OperatingIncomeLoss_0990e2b8-88b8-4879-92a5-da5675186564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_b80a4284-bc37-4233-bd8c-eba2cf52ef21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8fb0223c-136a-401a-a035-ce587fe40d4f" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_b80a4284-bc37-4233-bd8c-eba2cf52ef21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d92121d3-17c4-490f-8758-b07cef91d0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_751a2215-1829-48eb-a05c-5a93c7e85906" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d92121d3-17c4-490f-8758-b07cef91d0dc" xlink:to="loc_us-gaap_ProfitLoss_751a2215-1829-48eb-a05c-5a93c7e85906" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6bfa1779-814f-4ea0-b7c8-5fa544a20679" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d92121d3-17c4-490f-8758-b07cef91d0dc" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6bfa1779-814f-4ea0-b7c8-5fa544a20679" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_44f3d962-15dd-4c57-8355-fb09cb538c33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_5e11e6c6-6635-4fa4-a96a-22bc70254104" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_44f3d962-15dd-4c57-8355-fb09cb538c33" xlink:to="loc_us-gaap_Revenues_5e11e6c6-6635-4fa4-a96a-22bc70254104" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_7b5835e3-f117-48dc-b397-8146405e53d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_44f3d962-15dd-4c57-8355-fb09cb538c33" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_7b5835e3-f117-48dc-b397-8146405e53d0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="mgy-20250331.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_664191f7-269e-4fcd-bb0f-d3595947ca5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4b8af4c8-9b22-4927-99d6-7bcb56011ff6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_664191f7-269e-4fcd-bb0f-d3595947ca5a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4b8af4c8-9b22-4927-99d6-7bcb56011ff6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d0f7182e-d2dd-4203-bf6b-37e247929922" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_664191f7-269e-4fcd-bb0f-d3595947ca5a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d0f7182e-d2dd-4203-bf6b-37e247929922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8039da4-18dd-4959-8c29-61c53dcf31e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_664191f7-269e-4fcd-bb0f-d3595947ca5a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8039da4-18dd-4959-8c29-61c53dcf31e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f74f7eb2-b79f-49df-bc3c-b07c75ac71d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_da4fe357-7e9d-4b95-960a-a516937f931a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f74f7eb2-b79f-49df-bc3c-b07c75ac71d6" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_da4fe357-7e9d-4b95-960a-a516937f931a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_10bc61fa-1193-4d4a-b947-5f877525e9b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f74f7eb2-b79f-49df-bc3c-b07c75ac71d6" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_10bc61fa-1193-4d4a-b947-5f877525e9b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_e68b1e47-5a48-4a7f-8f46-0a8256a908b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f74f7eb2-b79f-49df-bc3c-b07c75ac71d6" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_e68b1e47-5a48-4a7f-8f46-0a8256a908b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_b3e2e30c-9d33-4ff0-82cf-6c4ffeaaeda0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f74f7eb2-b79f-49df-bc3c-b07c75ac71d6" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_b3e2e30c-9d33-4ff0-82cf-6c4ffeaaeda0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d90a94e-78f0-45fd-8372-4e38887bfc9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_ca1a1ae1-1d2f-4e2d-9325-562c7f1b559b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d90a94e-78f0-45fd-8372-4e38887bfc9a" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_ca1a1ae1-1d2f-4e2d-9325-562c7f1b559b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_DepositsForAcquisitionsOfOilAndNaturalGasProperties_4c5e1383-14af-487d-ab4f-739a8c585d06" xlink:href="mgy-20250331.xsd#mgy_DepositsForAcquisitionsOfOilAndNaturalGasProperties"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d90a94e-78f0-45fd-8372-4e38887bfc9a" xlink:to="loc_mgy_DepositsForAcquisitionsOfOilAndNaturalGasProperties_4c5e1383-14af-487d-ab4f-739a8c585d06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_PaymentsToAcquireOilAndGasPropertyAndEquipmentChangesInWorkingCapital_132da762-4526-4f67-bfb3-a25695e05695" xlink:href="mgy-20250331.xsd#mgy_PaymentsToAcquireOilAndGasPropertyAndEquipmentChangesInWorkingCapital"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d90a94e-78f0-45fd-8372-4e38887bfc9a" xlink:to="loc_mgy_PaymentsToAcquireOilAndGasPropertyAndEquipmentChangesInWorkingCapital_132da762-4526-4f67-bfb3-a25695e05695" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOilAndGasPropertyAndEquipment_d8705424-a117-4e01-95ad-b4ca0a84007d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireOilAndGasPropertyAndEquipment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d90a94e-78f0-45fd-8372-4e38887bfc9a" xlink:to="loc_us-gaap_PaymentsToAcquireOilAndGasPropertyAndEquipment_d8705424-a117-4e01-95ad-b4ca0a84007d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_7692dbba-a278-4a4c-af32-ec4a1625bc09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d90a94e-78f0-45fd-8372-4e38887bfc9a" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_7692dbba-a278-4a4c-af32-ec4a1625bc09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_22a3efef-0e8b-4325-b766-13ddfa7628ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_ProfitLoss_22a3efef-0e8b-4325-b766-13ddfa7628ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_9e7b4465-fa03-481c-b73f-6d76f9071374" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_9e7b4465-fa03-481c-b73f-6d76f9071374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_c5da1826-159e-4e62-8fc7-914cfddc0f74" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_c5da1826-159e-4e62-8fc7-914cfddc0f74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_AssetAcquisitionContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_d66adae4-db79-47d1-a380-b1154bfbb003" xlink:href="mgy-20250331.xsd#mgy_AssetAcquisitionContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_mgy_AssetAcquisitionContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_d66adae4-db79-47d1-a380-b1154bfbb003" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_3a690a21-93ab-4842-8fea-acbf0ac7165e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_3a690a21-93ab-4842-8fea-acbf0ac7165e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_2e732d71-d08c-4da2-afa1-c26d08b29b86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_2e732d71-d08c-4da2-afa1-c26d08b29b86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_ce389ead-891d-4e4b-8780-19ead4b09698" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_ShareBasedCompensation_ce389ead-891d-4e4b-8780-19ead4b09698" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f46f4b9f-6296-4ca1-909c-98636142e1bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f46f4b9f-6296-4ca1-909c-98636142e1bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_a3e1718b-0cb6-4876-8f93-da3be2dfafdd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_a3e1718b-0cb6-4876-8f93-da3be2dfafdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_57b0fff1-22ca-44a8-9a72-5eb165cd8bfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_57b0fff1-22ca-44a8-9a72-5eb165cd8bfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_IncreaseDecreaseInDrillingAdvances_9ca0f171-95d2-4856-aca2-12f1c5f0b60a" xlink:href="mgy-20250331.xsd#mgy_IncreaseDecreaseInDrillingAdvances"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_mgy_IncreaseDecreaseInDrillingAdvances_9ca0f171-95d2-4856-aca2-12f1c5f0b60a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_790a113b-8605-462a-ba3c-a67a2dae4b61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_790a113b-8605-462a-ba3c-a67a2dae4b61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0910acf8-0d2a-4291-bb86-759e1ab7fb89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0910acf8-0d2a-4291-bb86-759e1ab7fb89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_NoncashExplorationExpense_57e2f869-9a7f-49d9-9a6a-cca7cd3fe80e" xlink:href="mgy-20250331.xsd#mgy_NoncashExplorationExpense"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a9b1e9dd-792d-4496-844e-de6067d27a3b" xlink:to="loc_mgy_NoncashExplorationExpense_57e2f869-9a7f-49d9-9a6a-cca7cd3fe80e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/OtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="mgy-20250331.xsd#OtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/OtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_ae2c4901-5ea3-4af6-ae6c-feb4e0d07014" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_AccruedCapitalExpendituresCurrent_f8cc2369-a85c-497a-bbcd-31799c223752" xlink:href="mgy-20250331.xsd#mgy_AccruedCapitalExpendituresCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ae2c4901-5ea3-4af6-ae6c-feb4e0d07014" xlink:to="loc_mgy_AccruedCapitalExpendituresCurrent_f8cc2369-a85c-497a-bbcd-31799c223752" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesCurrent_0a9085ea-212d-4f8e-b790-7f47a4595073" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherSundryLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ae2c4901-5ea3-4af6-ae6c-feb4e0d07014" xlink:to="loc_us-gaap_OtherSundryLiabilitiesCurrent_0a9085ea-212d-4f8e-b790-7f47a4595073" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_73a9c1e5-31a9-4258-acc1-76f01d0c58c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_ae2c4901-5ea3-4af6-ae6c-feb4e0d07014" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_73a9c1e5-31a9-4258-acc1-76f01d0c58c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/LongtermDebtScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="mgy-20250331.xsd#LongtermDebtScheduleofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/LongtermDebtScheduleofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_2eb60587-9bd1-42a0-af94-6b7019e9bfb6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_c9476d5b-f1ae-424f-87de-77814efa4e0c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2eb60587-9bd1-42a0-af94-6b7019e9bfb6" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_c9476d5b-f1ae-424f-87de-77814efa4e0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_eb5297e5-47db-428f-82e2-5c0ca07c90d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_2eb60587-9bd1-42a0-af94-6b7019e9bfb6" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_eb5297e5-47db-428f-82e2-5c0ca07c90d3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/IncomeTaxesComponentsofIncomeTaxProvisionBenefitDetails" xlink:type="simple" xlink:href="mgy-20250331.xsd#IncomeTaxesComponentsofIncomeTaxProvisionBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/IncomeTaxesComponentsofIncomeTaxProvisionBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_ae874d1f-1429-4ed2-8cff-afcf125cf2d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_7173abf4-e4ee-4814-96bb-e3e99953c573" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_ae874d1f-1429-4ed2-8cff-afcf125cf2d4" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_7173abf4-e4ee-4814-96bb-e3e99953c573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_b4ded958-8557-45aa-b8ba-7a12731c6c3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_ae874d1f-1429-4ed2-8cff-afcf125cf2d4" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_b4ded958-8557-45aa-b8ba-7a12731c6c3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d6c76196-28f7-4157-afe0-4df770259f59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f492ecdc-ee26-45fa-8541-bbd1bc5fa208" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_d6c76196-28f7-4157-afe0-4df770259f59" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f492ecdc-ee26-45fa-8541-bbd1bc5fa208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8879360-a8ec-4649-b7d0-bcbad06fba14" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_d6c76196-28f7-4157-afe0-4df770259f59" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8879360-a8ec-4649-b7d0-bcbad06fba14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8c40ad05-1f65-4042-a8d4-15e5fa78a859" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_c58b5082-42ef-43a9-8795-fb41a34a69c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8c40ad05-1f65-4042-a8d4-15e5fa78a859" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_c58b5082-42ef-43a9-8795-fb41a34a69c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_5976defa-e591-45c8-b3b6-0b434d20316e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8c40ad05-1f65-4042-a8d4-15e5fa78a859" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_5976defa-e591-45c8-b3b6-0b434d20316e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/EarningsPerShareScheduleofComponentsofBasicandDilutedNetIncomePerShareDetails" xlink:type="simple" xlink:href="mgy-20250331.xsd#EarningsPerShareScheduleofComponentsofBasicandDilutedNetIncomePerShareDetails"/>
  <link:calculationLink xlink:role="http://www.magnoliaoilgas.com/role/EarningsPerShareScheduleofComponentsofBasicandDilutedNetIncomePerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_db689682-1aa5-4d53-b44c-cfa4657e5b36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_befffdf6-9e46-4341-b096-5efd3a78a918" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_db689682-1aa5-4d53-b44c-cfa4657e5b36" xlink:to="loc_us-gaap_NetIncomeLoss_befffdf6-9e46-4341-b096-5efd3a78a918" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_41334c1d-a77e-4d37-a50c-443ad702d830" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_db689682-1aa5-4d53-b44c-cfa4657e5b36" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_41334c1d-a77e-4d37-a50c-443ad702d830" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_44ee0d0f-99ce-4e15-b774-8ddefc8696c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_198e3ee6-38cf-4085-a408-93cbb388a9c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_44ee0d0f-99ce-4e15-b774-8ddefc8696c1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_198e3ee6-38cf-4085-a408-93cbb388a9c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_9682e0f4-193e-476c-8502-610b5e26158f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_44ee0d0f-99ce-4e15-b774-8ddefc8696c1" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_9682e0f4-193e-476c-8502-610b5e26158f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_af78a59c-2cd9-47f1-af9f-18393ed9033b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1ee836d9-46a1-4846-ac42-21a1b8e22cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_af78a59c-2cd9-47f1-af9f-18393ed9033b" xlink:to="loc_us-gaap_NetIncomeLoss_1ee836d9-46a1-4846-ac42-21a1b8e22cf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_ae3bc8a8-25f7-4ffb-8ff6-b2897d6718f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_af78a59c-2cd9-47f1-af9f-18393ed9033b" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_ae3bc8a8-25f7-4ffb-8ff6-b2897d6718f0" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
