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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e65d4-98dc-7ad2-9c2c-9326f70eeac3,g:508453fa-4e33-4fbe-9d4e-9ed7de57de81-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="mgy-20260630.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_OilAndGasPropertySuccessfulEffortMethodNet_019e65d4-99c3-73b6-8d5b-252e4818a1ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodGross_019e65d4-99c3-7c6e-8858-aa54ccbb0b69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_019e65d4-99c3-73b6-8d5b-252e4818a1ed" xlink:to="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodGross_019e65d4-99c3-7c6e-8858-aa54ccbb0b69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOilAndGasPropertySuccessfulEffortMethod_019e65d4-99c3-79fe-bed3-7cd34fab7877" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOilAndGasPropertySuccessfulEffortMethod"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_019e65d4-99c3-73b6-8d5b-252e4818a1ed" xlink:to="loc_us-gaap_OtherOilAndGasPropertySuccessfulEffortMethod_019e65d4-99c3-79fe-bed3-7cd34fab7877" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodAccumulatedDepreciationDepletionAndAmortization_019e65d4-99c3-7fe0-950f-244cdd39d5f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodAccumulatedDepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_019e65d4-99c3-73b6-8d5b-252e4818a1ed" xlink:to="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodAccumulatedDepreciationDepletionAndAmortization_019e65d4-99c3-7fe0-950f-244cdd39d5f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e65d4-99c3-75c6-ac5c-df214ec65081" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:to="loc_us-gaap_MinorityInterest_019e65d4-99c3-75c6-ac5c-df214ec65081" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e65d4-99c3-7711-baa4-528feaa4897b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:to="loc_us-gaap_CommonStockValue_019e65d4-99c3-7711-baa4-528feaa4897b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e65d4-99c3-7a52-90c4-727494dd914e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e65d4-99c3-7a52-90c4-727494dd914e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e65d4-99c3-766d-b7ae-bd9796c215b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e65d4-99c3-766d-b7ae-bd9796c215b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019e65d4-99c3-7a29-9237-28d86414502f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019e65d4-99c3-7a29-9237-28d86414502f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e65d4-99c3-7033-9502-cef26eff0053" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7fb4-896e-acf1a895f4f8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e65d4-99c3-7033-9502-cef26eff0053" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e65d4-99c3-7a5c-b627-ba9ccb20f9f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e65d4-99c3-7e15-8c57-45035e6d81b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e65d4-99c3-7a5c-b627-ba9ccb20f9f1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e65d4-99c3-7e15-8c57-45035e6d81b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasJointInterestBillingReceivablesCurrent_019e65d4-99c3-7c2d-bd73-cca549640e14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OilAndGasJointInterestBillingReceivablesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e65d4-99c3-7a5c-b627-ba9ccb20f9f1" xlink:to="loc_us-gaap_OilAndGasJointInterestBillingReceivablesCurrent_019e65d4-99c3-7c2d-bd73-cca549640e14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e65d4-99c3-77d1-876d-76c21ab0e0d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e65d4-99c3-7a5c-b627-ba9ccb20f9f1" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e65d4-99c3-77d1-876d-76c21ab0e0d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_019e65d4-99c3-77e9-8afc-86e0bd1918f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxesReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e65d4-99c3-7a5c-b627-ba9ccb20f9f1" xlink:to="loc_us-gaap_IncomeTaxesReceivable_019e65d4-99c3-77e9-8afc-86e0bd1918f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019e65d4-99c3-7f00-beb3-0518febdb757" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e65d4-99c3-7a5c-b627-ba9ccb20f9f1" xlink:to="loc_us-gaap_OtherAssetsCurrent_019e65d4-99c3-7f00-beb3-0518febdb757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e65d4-99c3-7d48-97f8-299273fb5bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_019e65d4-99c3-7b1e-b210-607dcbfbd7c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OilAndGasPropertySuccessfulEffortMethodNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e65d4-99c3-7d48-97f8-299273fb5bc2" xlink:to="loc_us-gaap_OilAndGasPropertySuccessfulEffortMethodNet_019e65d4-99c3-7b1e-b210-607dcbfbd7c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e65d4-99c3-7430-b8c4-d32b1dd41933" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e65d4-99c3-7d48-97f8-299273fb5bc2" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e65d4-99c3-7430-b8c4-d32b1dd41933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e65d4-99c3-73e6-a510-4156f432fe9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e65d4-99c3-7d48-97f8-299273fb5bc2" xlink:to="loc_us-gaap_AssetsCurrent_019e65d4-99c3-73e6-a510-4156f432fe9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e65d4-99c3-7c0d-b881-3a7046fb94b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-747c-8b01-87adb05ed18c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e65d4-99c3-7c0d-b881-3a7046fb94b9" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-747c-8b01-87adb05ed18c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e65d4-99c3-7d09-882c-20bbaed7f7dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e65d4-99c3-7c0d-b881-3a7046fb94b9" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e65d4-99c3-7d09-882c-20bbaed7f7dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7333-8452-053e50d73569" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e65d4-99c3-7c0d-b881-3a7046fb94b9" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e65d4-99c3-7333-8452-053e50d73569" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e65d4-99c3-7774-a884-6492fc8d5da2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e65d4-99c3-7c0d-b881-3a7046fb94b9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e65d4-99c3-7774-a884-6492fc8d5da2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-7b94-ae9e-8ddd2103cb90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019e65d4-99c3-7c25-aa01-5fddc4072aba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-7b94-ae9e-8ddd2103cb90" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019e65d4-99c3-7c25-aa01-5fddc4072aba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e65d4-99c3-78f1-9765-9eb881f79f8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-7b94-ae9e-8ddd2103cb90" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e65d4-99c3-78f1-9765-9eb881f79f8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_019e65d4-99c3-765d-86d7-4ff7c33e05fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-7b94-ae9e-8ddd2103cb90" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_019e65d4-99c3-765d-86d7-4ff7c33e05fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e65d4-99c3-7e78-9d44-bf2a4f4d7d0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_019e65d4-99c3-7b94-ae9e-8ddd2103cb90" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e65d4-99c3-7e78-9d44-bf2a4f4d7d0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e65d4-99c3-748c-b0f7-16523352706a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019e65d4-99c3-752f-a10d-e711cf3ae8cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e65d4-99c3-748c-b0f7-16523352706a" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e65d4-99c3-752f-a10d-e711cf3ae8cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019e65d4-99c3-7654-96c4-d64e81d5b029" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e65d4-99c3-748c-b0f7-16523352706a" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019e65d4-99c3-7654-96c4-d64e81d5b029" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/ConsolidatedStatementsofOperationsUnaudited" xlink:type="simple" xlink:href="mgy-20260630.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e65d4-99c3-700c-9608-bf9d40c3dc77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e65d4-99c3-79b5-8d13-99716c654a35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e65d4-99c3-700c-9608-bf9d40c3dc77" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e65d4-99c3-79b5-8d13-99716c654a35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e65d4-99c3-7f4f-a404-e285eebf674b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e65d4-99c3-700c-9608-bf9d40c3dc77" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e65d4-99c3-7f4f-a404-e285eebf674b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e65d4-99c3-7aa1-b51f-dcfa86c85962" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e65d4-99c3-7eed-bf4b-6c69ebee2eaa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e65d4-99c3-7aa1-b51f-dcfa86c85962" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e65d4-99c3-7eed-bf4b-6c69ebee2eaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e65d4-99c3-76b8-b776-ad0b1725d2d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e65d4-99c3-7aa1-b51f-dcfa86c85962" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e65d4-99c3-76b8-b776-ad0b1725d2d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_019e65d4-99c3-7831-978a-3a795c7c1aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_OperatingLeaseExpense_019e65d4-99c3-7831-978a-3a795c7c1aa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_GasGatheringTransportationMarketingAndProcessingCosts1_019e65d4-99c3-7c36-92b5-8d555ee014e4" xlink:href="mgy-20260630.xsd#mgy_GasGatheringTransportationMarketingAndProcessingCosts1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_mgy_GasGatheringTransportationMarketingAndProcessingCosts1_019e65d4-99c3-7c36-92b5-8d555ee014e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesExcludingIncomeAndExciseTaxes_019e65d4-99c3-7633-a21f-df892fdf0ecb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxesExcludingIncomeAndExciseTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_TaxesExcludingIncomeAndExciseTaxes_019e65d4-99c3-7633-a21f-df892fdf0ecb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExplorationExpense_019e65d4-99c3-765e-8813-af39bfb1d4b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExplorationExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_ExplorationExpense_019e65d4-99c3-765e-8813-af39bfb1d4b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e65d4-99c3-7da0-b1e3-bbbf53aede1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e65d4-99c3-7da0-b1e3-bbbf53aede1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e65d4-99c3-7d1e-84ad-ea85de5b6517" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e65d4-99c3-7d1e-84ad-ea85de5b6517" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e65d4-99c3-7dee-9ab7-ffb65131fec8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e65d4-99c3-7dee-9ab7-ffb65131fec8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019f646a-ff97-79f7-b598-59ebeb01bc3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7579-9200-c793e4f8b78a" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019f646a-ff97-79f7-b598-59ebeb01bc3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e65d4-99c3-7f2a-b4f2-213bb2b0e5e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019e65d4-99c3-7d8d-a2f2-805e7aaf6911" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019e65d4-99c3-7f2a-b4f2-213bb2b0e5e6" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019e65d4-99c3-7d8d-a2f2-805e7aaf6911" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e65d4-99c3-7ee1-a7c4-64e82198df3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019e65d4-99c3-7f2a-b4f2-213bb2b0e5e6" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e65d4-99c3-7ee1-a7c4-64e82198df3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e65d4-99c3-7a85-be8a-098b80862185" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e65d4-99c3-7196-9841-2180c7e345f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e65d4-99c3-7a85-be8a-098b80862185" xlink:to="loc_us-gaap_ProfitLoss_019e65d4-99c3-7196-9841-2180c7e345f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e65d4-99c3-71d2-9c1d-8cf090885948" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e65d4-99c3-7a85-be8a-098b80862185" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e65d4-99c3-71d2-9c1d-8cf090885948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e65d4-99c3-7d5a-afa3-511ee04cfea2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019e65d4-99c3-74a8-89bc-148660d20ee5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e65d4-99c3-7d5a-afa3-511ee04cfea2" xlink:to="loc_us-gaap_Revenues_019e65d4-99c3-74a8-89bc-148660d20ee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7291-87f1-50bce77ea686" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingCostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e65d4-99c3-7d5a-afa3-511ee04cfea2" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_019e65d4-99c3-7291-87f1-50bce77ea686" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e65d4-99c3-7346-9927-2453b4850e09" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e65d4-99c3-7bff-98fe-4bc127c3554a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e65d4-99c3-7346-9927-2453b4850e09" xlink:to="loc_us-gaap_NetIncomeLoss_019e65d4-99c3-7bff-98fe-4bc127c3554a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e65d4-99c3-7868-a74d-ea53c5bb415c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e65d4-99c3-7346-9927-2453b4850e09" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019e65d4-99c3-7868-a74d-ea53c5bb415c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="mgy-20260630.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_019e65d4-99c3-7cda-8a93-4043f15658c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7bc3-a85b-3ef768fe9ef6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e65d4-99c3-7cda-8a93-4043f15658c6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7bc3-a85b-3ef768fe9ef6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-74fa-9399-1863101375a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e65d4-99c3-7cda-8a93-4043f15658c6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-74fa-9399-1863101375a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7f5a-84ff-94f52b06e85e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e65d4-99c3-7cda-8a93-4043f15658c6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7f5a-84ff-94f52b06e85e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e65d4-99c3-7e57-81ad-ce578cabc7b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_ProfitLoss_019e65d4-99c3-7e57-81ad-ce578cabc7b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e65d4-99c3-74eb-b35d-6c7d80036142" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e65d4-99c3-74eb-b35d-6c7d80036142" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e65d4-99c3-7ef6-9031-848d04e2ecc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e65d4-99c3-7ef6-9031-848d04e2ecc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_AssetAcquisitionContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_019e65d4-99c3-7109-8361-5e57e36a8a07" xlink:href="mgy-20260630.xsd#mgy_AssetAcquisitionContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_mgy_AssetAcquisitionContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability_019e65d4-99c3-7109-8361-5e57e36a8a07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e65d4-99c3-71bf-a7a4-30c54bbf38ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e65d4-99c3-71bf-a7a4-30c54bbf38ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e65d4-99c3-7217-b901-e2614c52f92d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e65d4-99c3-7217-b901-e2614c52f92d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e65d4-99c3-74ab-b720-8d6898fec360" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_ShareBasedCompensation_019e65d4-99c3-74ab-b720-8d6898fec360" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e65d4-99c3-7a1f-8b1c-b532a5f055dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e65d4-99c3-7a1f-8b1c-b532a5f055dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e65d4-99c3-73fe-9990-00f8210be820" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e65d4-99c3-73fe-9990-00f8210be820" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e65d4-99c3-7a52-aed4-3c57e6945d30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e65d4-99c3-7a52-aed4-3c57e6945d30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019e65d4-99c3-7e4c-ae61-ae1d42d367c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019e65d4-99c3-7e4c-ae61-ae1d42d367c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7a1f-b351-58f8a9c19b68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e65d4-99c3-7ebc-9dd0-6d12de78d58e" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7a1f-b351-58f8a9c19b68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-793d-af4d-46d7cedfd9c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e65d4-99c3-7df4-8dbe-6948365bc2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-793d-af4d-46d7cedfd9c3" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e65d4-99c3-7df4-8dbe-6948365bc2dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_PaymentsToAcquireOilAndGasPropertyAndEquipmentChangesInWorkingCapital_019e65d4-99c3-7608-963b-f02a8c49cab2" xlink:href="mgy-20260630.xsd#mgy_PaymentsToAcquireOilAndGasPropertyAndEquipmentChangesInWorkingCapital"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-793d-af4d-46d7cedfd9c3" xlink:to="loc_mgy_PaymentsToAcquireOilAndGasPropertyAndEquipmentChangesInWorkingCapital_019e65d4-99c3-7608-963b-f02a8c49cab2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOilAndGasPropertyAndEquipment_019e65d4-99c3-7eca-9ffd-e18535211423" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireOilAndGasPropertyAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-793d-af4d-46d7cedfd9c3" xlink:to="loc_us-gaap_PaymentsToAcquireOilAndGasPropertyAndEquipment_019e65d4-99c3-7eca-9ffd-e18535211423" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherProductiveAssets_019e65d4-99c3-77da-9899-c173931c9b31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireOtherProductiveAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e65d4-99c3-793d-af4d-46d7cedfd9c3" xlink:to="loc_us-gaap_PaymentsToAcquireOtherProductiveAssets_019e65d4-99c3-77da-9899-c173931c9b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7af5-94a8-784c8620fda1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019e65d4-99c3-78a4-a983-c8a2befba836" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7af5-94a8-784c8620fda1" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e65d4-99c3-78a4-a983-c8a2befba836" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e65d4-99c3-70e3-a92c-10060231ba08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7af5-94a8-784c8620fda1" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e65d4-99c3-70e3-a92c-10060231ba08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_019e65d4-99c3-77f1-ac60-fdaf4b7e12d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7af5-94a8-784c8620fda1" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_019e65d4-99c3-77f1-ac60-fdaf4b7e12d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019e65d4-99c3-72f4-a9f7-9e05f5ffad94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e65d4-99c3-7af5-94a8-784c8620fda1" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019e65d4-99c3-72f4-a9f7-9e05f5ffad94" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/OtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="mgy-20260630.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_019e65d4-99c3-7fc7-a473-4cadbb868490" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgy_AccruedCapitalExpendituresCurrent_019e65d4-99c3-7cc6-af9c-04ebe9eae847" xlink:href="mgy-20260630.xsd#mgy_AccruedCapitalExpendituresCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019e65d4-99c3-7fc7-a473-4cadbb868490" xlink:to="loc_mgy_AccruedCapitalExpendituresCurrent_019e65d4-99c3-7cc6-af9c-04ebe9eae847" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e65d4-99c3-7e1a-95f5-ae5954860b55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019e65d4-99c3-7fc7-a473-4cadbb868490" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e65d4-99c3-7e1a-95f5-ae5954860b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesCurrent_019e65d4-99c3-7f1f-9b92-8c48aebb68e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherSundryLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019e65d4-99c3-7fc7-a473-4cadbb868490" xlink:to="loc_us-gaap_OtherSundryLiabilitiesCurrent_019e65d4-99c3-7f1f-9b92-8c48aebb68e5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/LongtermDebtScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="mgy-20260630.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_019e65d4-99c3-7855-8122-27dbbf16649f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019e65d4-99c3-7c31-b66e-4211611814bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e65d4-99c3-7855-8122-27dbbf16649f" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e65d4-99c3-7c31-b66e-4211611814bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019e65d4-99c3-725b-a060-d8271c634331" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e65d4-99c3-7855-8122-27dbbf16649f" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019e65d4-99c3-725b-a060-d8271c634331" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/IncomeTaxesComponentsofIncomeTaxProvisionBenefitDetails" xlink:type="simple" xlink:href="mgy-20260630.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_019e65d4-99c3-7b2e-9aa7-375310a61b11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019e65d4-99c3-7dae-a0c8-96e0e7121a13" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e65d4-99c3-7b2e-9aa7-375310a61b11" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019e65d4-99c3-7dae-a0c8-96e0e7121a13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019e65d4-99c3-783d-a360-024e65a0bc24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e65d4-99c3-7b2e-9aa7-375310a61b11" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019e65d4-99c3-783d-a360-024e65a0bc24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e65d4-99c3-77a7-8f7c-cbc5d84f9656" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e65d4-99c3-7c21-92c3-6aec2a386583" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019e65d4-99c3-77a7-8f7c-cbc5d84f9656" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e65d4-99c3-7c21-92c3-6aec2a386583" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7959-b33a-139050670c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019e65d4-99c3-77a7-8f7c-cbc5d84f9656" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7959-b33a-139050670c1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7a9a-a56d-6cc4eeb0a8fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019e65d4-99c3-7aa3-8c5a-bc993abb9789" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7a9a-a56d-6cc4eeb0a8fd" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019e65d4-99c3-7aa3-8c5a-bc993abb9789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019e65d4-99c3-7c85-8340-6d2bcf3aa313" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e65d4-99c3-7a9a-a56d-6cc4eeb0a8fd" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019e65d4-99c3-7c85-8340-6d2bcf3aa313" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.magnoliaoilgas.com/role/EarningsPerShareScheduleofComponentsofBasicandDilutedNetIncomePerShareDetails" xlink:type="simple" xlink:href="mgy-20260630.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_019e65d4-99c4-7e36-b052-1b8fef27b1ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e65d4-99c4-7026-b89a-7320bc38cb22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e65d4-99c4-7e36-b052-1b8fef27b1ed" xlink:to="loc_us-gaap_NetIncomeLoss_019e65d4-99c4-7026-b89a-7320bc38cb22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_019e65d4-99c4-738b-b027-02bfff678708" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e65d4-99c4-7e36-b052-1b8fef27b1ed" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_019e65d4-99c4-738b-b027-02bfff678708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e65d4-99c4-7bb9-90e3-c2f3b2c444d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e65d4-99c4-73a4-abcd-62ee95ad1c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e65d4-99c4-7bb9-90e3-c2f3b2c444d8" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e65d4-99c4-73a4-abcd-62ee95ad1c3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019e65d4-99c4-7a86-a173-226228435ff3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e65d4-99c4-7bb9-90e3-c2f3b2c444d8" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019e65d4-99c4-7a86-a173-226228435ff3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e65d4-99c4-7b28-b769-51e552d6140a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e65d4-99c4-7314-a1bd-445fae6417b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e65d4-99c4-7b28-b769-51e552d6140a" xlink:to="loc_us-gaap_NetIncomeLoss_019e65d4-99c4-7314-a1bd-445fae6417b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e65d4-99c4-7cfa-85dc-1da55bf4e728" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e65d4-99c4-7b28-b769-51e552d6140a" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e65d4-99c4-7cfa-85dc-1da55bf4e728" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
