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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e8e2e-375d-7075-98ef-d3b5204ce293,g:5f10eb85-3058-4138-b843-828e4fd67836-->
<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.marathonpetroleum.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="mpc-20260630.xsd#ConsolidatedStatementsofIncome"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7086-ac1c-d04c7fcad271" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e8e2e-3973-7d20-9429-3eeb01dccc67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7086-ac1c-d04c7fcad271" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e8e2e-3973-7d20-9429-3eeb01dccc67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e8e2e-3973-770a-8083-c54772573414" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7086-ac1c-d04c7fcad271" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e8e2e-3973-770a-8083-c54772573414" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e8e2e-3973-7577-b02c-3267863737a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7086-ac1c-d04c7fcad271" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e8e2e-3973-7577-b02c-3267863737a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesExcludingIncomeAndExciseTaxes_019e8e2e-3973-7d67-b12a-fd128ef42d19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxesExcludingIncomeAndExciseTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7086-ac1c-d04c7fcad271" xlink:to="loc_us-gaap_TaxesExcludingIncomeAndExciseTaxes_019e8e2e-3973-7d67-b12a-fd128ef42d19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e8e2e-3973-73b6-a6b2-0a57b1e40e99" 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_mpc_RevenuesAndOtherIncome_019e8e2e-3973-71c5-bcb0-486948ddf6d9" xlink:href="mpc-20260630.xsd#mpc_RevenuesAndOtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e8e2e-3973-73b6-a6b2-0a57b1e40e99" xlink:to="loc_mpc_RevenuesAndOtherIncome_019e8e2e-3973-71c5-bcb0-486948ddf6d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7b92-babb-189a05aa9913" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e8e2e-3973-73b6-a6b2-0a57b1e40e99" xlink:to="loc_us-gaap_CostsAndExpenses_019e8e2e-3973-7b92-babb-189a05aa9913" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e8e2e-3973-76d8-8190-52bd5ed6f711" 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_019e8e2e-3973-7bf3-a552-1bb9ec2eb4bb" 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_019e8e2e-3973-76d8-8190-52bd5ed6f711" xlink:to="loc_us-gaap_ProfitLoss_019e8e2e-3973-7bf3-a552-1bb9ec2eb4bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest_019e8e2e-3973-7c51-b6d0-5d477be2b899" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e8e2e-3973-76d8-8190-52bd5ed6f711" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest_019e8e2e-3973-7c51-b6d0-5d477be2b899" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RevenuesAndOtherIncome_019e8e2e-3973-7edb-a092-2294edfd878f" xlink:href="mpc-20260630.xsd#mpc_RevenuesAndOtherIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e8e2e-3973-7803-92d4-086e43cc034a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_mpc_RevenuesAndOtherIncome_019e8e2e-3973-7edb-a092-2294edfd878f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e8e2e-3973-7803-92d4-086e43cc034a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e8e2e-3973-76aa-b40d-60205d755ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_mpc_RevenuesAndOtherIncome_019e8e2e-3973-7edb-a092-2294edfd878f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e8e2e-3973-76aa-b40d-60205d755ad9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncome_019e8e2e-3973-76c1-963b-fcf2c4daa645" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_mpc_RevenuesAndOtherIncome_019e8e2e-3973-7edb-a092-2294edfd878f" xlink:to="loc_us-gaap_OtherOperatingIncome_019e8e2e-3973-76c1-963b-fcf2c4daa645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019f89f4-d5ea-7c1b-a1a0-4c52c00bad34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_mpc_RevenuesAndOtherIncome_019e8e2e-3973-7edb-a092-2294edfd878f" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019f89f4-d5ea-7c1b-a1a0-4c52c00bad34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2e-3973-76c3-9be4-de8ef950e88a" 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_019e8e2e-3973-71db-9b4c-1d6ff03eb4ae" 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_019e8e2e-3973-76c3-9be4-de8ef950e88a" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e8e2e-3973-71db-9b4c-1d6ff03eb4ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3973-7de3-bf44-69ddff29215a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2e-3973-76c3-9be4-de8ef950e88a" xlink:to="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3973-7de3-bf44-69ddff29215a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e8e2e-3973-78c5-aa40-11ad31767734" 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_IncomeTaxExpenseBenefit_019e8e2e-3973-77bc-8bfa-d331a8b1914c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e8e2e-3973-78c5-aa40-11ad31767734" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e8e2e-3973-77bc-8bfa-d331a8b1914c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2e-3973-71aa-8a9d-c43bedf44298" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e8e2e-3973-78c5-aa40-11ad31767734" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8e2e-3973-71aa-8a9d-c43bedf44298" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="mpc-20260630.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e8e2e-3973-7b77-93a5-4a520681fa38" 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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7fe1-8f4b-930748692623" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e8e2e-3973-7b77-93a5-4a520681fa38" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7fe1-8f4b-930748692623" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest_019e8e2e-3973-7635-8dd4-f1c9ce8af9a7" xlink:href="mpc-20260630.xsd#mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e8e2e-3973-7b77-93a5-4a520681fa38" xlink:to="loc_mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest_019e8e2e-3973-7635-8dd4-f1c9ce8af9a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7b97-bd23-457fbfaa03d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e8e2e-3973-76d0-bf68-a7d1ed71654c" 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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7b97-bd23-457fbfaa03d1" xlink:to="loc_us-gaap_ProfitLoss_019e8e2e-3973-76d0-bf68-a7d1ed71654c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3973-7f37-abb2-b5982c74fb38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7b97-bd23-457fbfaa03d1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3973-7f37-abb2-b5982c74fb38" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="mpc-20260630.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-7bb5-8c27-99ee91f783ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-7bb5-8c27-99ee91f783ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019e8e2e-3973-709a-97d6-4c571c3f62df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019e8e2e-3973-709a-97d6-4c571c3f62df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e8e2e-3973-7afe-828d-c88d51f53262" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e8e2e-3973-7afe-828d-c88d51f53262" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019e8e2e-3973-7204-8465-a6ad73fc8d8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019e8e2e-3973-7204-8465-a6ad73fc8d8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e8e2e-3973-7f16-9890-aa7b90319b9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e8e2e-3973-7f16-9890-aa7b90319b9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent_019e8e2e-3973-76de-9b3b-b0543772e5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8e2e-3973-7422-9c0f-867fc085a790" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent_019e8e2e-3973-76de-9b3b-b0543772e5b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e8e2e-3973-7917-9877-a77ed0f9501d" 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_019e8e2e-3973-7247-8244-515949c77aaa" 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_019e8e2e-3973-7917-9877-a77ed0f9501d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e8e2e-3973-7247-8244-515949c77aaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e8e2e-3973-71a1-abd2-2a639557843f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8e2e-3973-7917-9877-a77ed0f9501d" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e8e2e-3973-71a1-abd2-2a639557843f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e8e2e-3973-7ed0-9a7f-8a7624047367" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8e2e-3973-7917-9877-a77ed0f9501d" xlink:to="loc_us-gaap_InventoryNet_019e8e2e-3973-7ed0-9a7f-8a7624047367" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019e8e2e-3973-75a1-909f-569d24f7b82b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8e2e-3973-7917-9877-a77ed0f9501d" xlink:to="loc_us-gaap_OtherAssetsCurrent_019e8e2e-3973-75a1-909f-569d24f7b82b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7be9-b7d8-4888eaec4d47" 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_StockholdersEquity_019e8e2e-3973-70f6-bd2d-3d1c6adc3b35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7be9-b7d8-4888eaec4d47" xlink:to="loc_us-gaap_StockholdersEquity_019e8e2e-3973-70f6-bd2d-3d1c6adc3b35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e8e2e-3973-7489-8b07-e3e1147c7ecf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7be9-b7d8-4888eaec4d47" xlink:to="loc_us-gaap_MinorityInterest_019e8e2e-3973-7489-8b07-e3e1147c7ecf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8e2e-3973-7089-b88a-adc312a87975" 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_Liabilities_019e8e2e-3973-7fc2-8ccc-c454363cef1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8e2e-3973-7089-b88a-adc312a87975" xlink:to="loc_us-gaap_Liabilities_019e8e2e-3973-7fc2-8ccc-c454363cef1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e8e2e-3973-7e56-9cc9-d55c78085ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8e2e-3973-7089-b88a-adc312a87975" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e8e2e-3973-7e56-9cc9-d55c78085ef2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7ef7-ba53-58745535435e" 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_019e8e2e-3973-7089-b88a-adc312a87975" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e8e2e-3973-7ef7-ba53-58745535435e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" 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_AssetsCurrent_019e8e2e-3973-7b93-9892-e48d44098bca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_AssetsCurrent_019e8e2e-3973-7b93-9892-e48d44098bca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019e8e2e-3973-7558-a016-6c1c83e1b38c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_EquityMethodInvestments_019e8e2e-3973-7558-a016-6c1c83e1b38c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e8e2e-3973-72b5-b2ed-f6fc17bfce31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e8e2e-3973-72b5-b2ed-f6fc17bfce31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e8e2e-3973-7521-8e9b-83f76cec9871" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_Goodwill_019e8e2e-3973-7521-8e9b-83f76cec9871" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e8e2e-3973-7626-8dfa-4a5e4193d546" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019e8e2e-3973-7626-8dfa-4a5e4193d546" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e8e2e-3973-7bce-86e2-5e12ab5b5a42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e8e2e-3973-7bce-86e2-5e12ab5b5a42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e8e2e-3973-7772-bdfe-7f98ea36b80f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8e2e-3973-7ecb-96b4-390cbf53a253" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e8e2e-3973-7772-bdfe-7f98ea36b80f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-796b-ae35-ad4df7ba8d35" 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_019e8e2e-3973-7815-8510-d45fbe74fba4" 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_019e8e2e-3973-796b-ae35-ad4df7ba8d35" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e8e2e-3973-7815-8510-d45fbe74fba4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e8e2e-3973-7918-8757-18aaab9eee5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-796b-ae35-ad4df7ba8d35" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e8e2e-3973-7918-8757-18aaab9eee5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_019e8e2e-3973-74f4-a59d-ca335d6233d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-796b-ae35-ad4df7ba8d35" xlink:to="loc_us-gaap_TaxesPayableCurrent_019e8e2e-3973-74f4-a59d-ca335d6233d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019e8e2e-3973-7598-811c-529251347d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-796b-ae35-ad4df7ba8d35" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019e8e2e-3973-7598-811c-529251347d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e8e2e-3973-73d9-aa36-a37c4fd46866" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-796b-ae35-ad4df7ba8d35" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e8e2e-3973-73d9-aa36-a37c4fd46866" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019e8e2e-3973-7d0b-bcb8-99edc8d10f21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8e2e-3973-796b-ae35-ad4df7ba8d35" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019e8e2e-3973-7d0b-bcb8-99edc8d10f21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019e8e2e-3973-75c7-a669-de5377091dba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:to="loc_us-gaap_PreferredStockValue_019e8e2e-3973-75c7-a669-de5377091dba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e8e2e-3973-79ec-8f81-b2a9f5010547" 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_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:to="loc_us-gaap_CommonStockValue_019e8e2e-3973-79ec-8f81-b2a9f5010547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_019e8e2e-3973-7959-bad2-2eb924bcd226" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:to="loc_us-gaap_TreasuryStockValue_019e8e2e-3973-7959-bad2-2eb924bcd226" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e8e2e-3973-71e4-bfb6-f83a4e10a4da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e8e2e-3973-71e4-bfb6-f83a4e10a4da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2e-3973-7110-b557-548580137db7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8e2e-3973-7110-b557-548580137db7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e8e2e-3973-79c9-bc65-f8d274d3cb2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8e2e-3973-71e6-bf0e-f121eaa7f40e" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e8e2e-3973-79c9-bc65-f8d274d3cb2f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="mpc-20260630.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" 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_PaymentsToAcquireBusinessesNetOfCashAcquired_019e8e2e-3973-7129-a1da-f0c07cee4744" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e8e2e-3973-7129-a1da-f0c07cee4744" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_019e8e2e-3973-7f02-9666-97f5503ccd74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_019e8e2e-3973-7f02-9666-97f5503ccd74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets_019e8e2e-3973-7d6e-8def-4c1f4167f66a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" xlink:to="loc_us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets_019e8e2e-3973-7d6e-8def-4c1f4167f66a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e8e2e-3973-74b9-aff6-65d1e89f3766" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e8e2e-3973-74b9-aff6-65d1e89f3766" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_019e8e2e-3973-75fc-9b5d-5f37a82c127d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_019e8e2e-3973-75fc-9b5d-5f37a82c127d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e8e2e-3973-7627-90af-27d0ad9e2382" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7c07-8088-a6f17e8bb792" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e8e2e-3973-7627-90af-27d0ad9e2382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" 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_IncreaseDecreaseInOtherOperatingCapitalNet_019e8e2e-3973-7a17-90c9-bfe817a9f345" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019e8e2e-3973-7a17-90c9-bfe817a9f345" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash_019e8e2e-3973-76e9-a6bc-82667bd0834a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitsExpenseReversalOfExpenseNoncash_019e8e2e-3973-76e9-a6bc-82667bd0834a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_019e8e2e-3973-78b2-bb48-6b69d36f8935" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_019e8e2e-3973-78b2-bb48-6b69d36f8935" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e8e2e-3973-7634-8eea-a25d3f796405" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e8e2e-3973-7634-8eea-a25d3f796405" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e8e2e-3973-7b59-8d0d-dfd21a7fe20b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e8e2e-3973-7b59-8d0d-dfd21a7fe20b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019e8e2e-3973-7a95-b378-5effcd4a6377" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019e8e2e-3973-7a95-b378-5effcd4a6377" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e8e2e-3973-780a-ae02-3b7998ef9d3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_ProfitLoss_019e8e2e-3973-780a-ae02-3b7998ef9d3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e8e2e-3973-74c8-93eb-69d5fd56da16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e8e2e-3973-74c8-93eb-69d5fd56da16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e8e2e-3973-7858-9674-83df443f381a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e8e2e-3973-7858-9674-83df443f381a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_019e8e2e-3973-74c5-8994-84f132699fa8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_019e8e2e-3973-74c5-8994-84f132699fa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e8e2e-3973-761c-8290-4641767ec2ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e8e2e-3973-761c-8290-4641767ec2ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e8e2e-3973-7e60-a9ec-2dbe9b133feb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e8e2e-3973-7e60-a9ec-2dbe9b133feb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e8e2e-3973-7049-a384-926328618ee5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e8e2e-3973-7049-a384-926328618ee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019f89ed-851c-724b-85dc-7b6bda19e7af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7e2e-9b06-4092672ea9b3" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019f89ed-851c-724b-85dc-7b6bda19e7af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" 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_ProceedsFromIssuanceOfCommercialPaper_019e8e2e-3973-7c6b-a09e-ef9690a4bd31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommercialPaper"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommercialPaper_019e8e2e-3973-7c6b-a09e-ef9690a4bd31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfCommercialPaper_019e8e2e-3973-7acf-8955-4d5df2793deb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfCommercialPaper"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_RepaymentsOfCommercialPaper_019e8e2e-3973-7acf-8955-4d5df2793deb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_019e8e2e-3973-7948-bc08-51c768b18de3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_019e8e2e-3973-7948-bc08-51c768b18de3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_019e8e2e-3973-7a56-8186-f8c542da8624" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_019e8e2e-3973-7a56-8186-f8c542da8624" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e8e2e-3973-7b34-b9db-50278f3d7e33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e8e2e-3973-7b34-b9db-50278f3d7e33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e8e2e-3973-7ee1-b9ff-3529716e00a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e8e2e-3973-7ee1-b9ff-3529716e00a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e8e2e-3973-7fb1-8e37-16534df1b4c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e8e2e-3973-7fb1-8e37-16534df1b4c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019e8e2e-3973-7830-beb2-06ede2ff9b62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e8e2e-3973-7830-beb2-06ede2ff9b62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_019e8e2e-3973-7679-8d58-45b3c8c05e2a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_019e8e2e-3973-7679-8d58-45b3c8c05e2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_019e8e2e-3973-7dbf-b4e7-972720bb3519" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfOtherEquity"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_019e8e2e-3973-7dbf-b4e7-972720bb3519" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019e8e2e-3973-74aa-ae52-131bb4b44663" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-7a37-9616-91b18908f773" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019e8e2e-3973-74aa-ae52-131bb4b44663" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e8e2e-3973-76af-a5fb-f2a042ff20ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7820-a83d-3d733659c22d" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e8e2e-3973-76af-a5fb-f2a042ff20ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8e2e-3973-7820-a83d-3d733659c22d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7fe5-8585-8142c4ab2bb3" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e8e2e-3973-76af-a5fb-f2a042ff20ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8e2e-3973-7fe5-8585-8142c4ab2bb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-76fd-9fed-2d0dedecb33b" 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e8e2e-3973-76af-a5fb-f2a042ff20ed" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8e2e-3973-76fd-9fed-2d0dedecb33b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipNoncontrollingInterestDetails" xlink:type="simple" xlink:href="mpc-20260630.xsd#MasterLimitedPartnershipNoncontrollingInterestDetails"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipNoncontrollingInterestDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019e8e2e-3974-77e6-90fd-c14e6a513715" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesIssuanceOfEquityBySubsidiaryToNoncontrollingInterests_019e8e2e-3974-7201-9a04-bf0157658a16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesIssuanceOfEquityBySubsidiaryToNoncontrollingInterests"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019e8e2e-3974-77e6-90fd-c14e6a513715" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesIssuanceOfEquityBySubsidiaryToNoncontrollingInterests_019e8e2e-3974-7201-9a04-bf0157658a16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact_019e8e2e-3974-7217-b7be-7d49f228b964" xlink:href="mpc-20260630.xsd#mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019e8e2e-3974-77e6-90fd-c14e6a513715" xlink:to="loc_mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact_019e8e2e-3974-7217-b7be-7d49f228b964" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/EarningsPerShareSummaryofEarningsPerShareDetails" xlink:type="simple" xlink:href="mpc-20260630.xsd#EarningsPerShareSummaryofEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/EarningsPerShareSummaryofEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e8e2e-3974-725d-b26c-d55f3c2ddc0c" 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_019e8e2e-3974-71ef-890c-f22d0400ba76" 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_019e8e2e-3974-725d-b26c-d55f3c2ddc0c" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e8e2e-3974-71ef-890c-f22d0400ba76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019e8e2e-3974-7a70-8f9e-1c4a562fbca1" 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_019e8e2e-3974-725d-b26c-d55f3c2ddc0c" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019e8e2e-3974-7a70-8f9e-1c4a562fbca1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e8e2e-3974-7aa3-aa9e-f1b81cefea4d" 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_019e8e2e-3974-7ef6-bd55-ed4e9e53da85" 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_019e8e2e-3974-7aa3-aa9e-f1b81cefea4d" xlink:to="loc_us-gaap_NetIncomeLoss_019e8e2e-3974-7ef6-bd55-ed4e9e53da85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e8e2e-3974-7f39-a9fd-7c8b1514cff7" 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_019e8e2e-3974-7aa3-aa9e-f1b81cefea4d" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e8e2e-3974-7f39-a9fd-7c8b1514cff7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/NetInterestandOtherFinancialCostsDetails" xlink:type="simple" xlink:href="mpc-20260630.xsd#NetInterestandOtherFinancialCostsDetails"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/NetInterestandOtherFinancialCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3974-788f-a170-2f70e1ab8408" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019e8e2e-3974-7593-8d2b-7f2493cb9b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3974-788f-a170-2f70e1ab8408" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019e8e2e-3974-7593-8d2b-7f2493cb9b9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_019e8e2e-3974-79e3-8029-e65d323651dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3974-788f-a170-2f70e1ab8408" xlink:to="loc_us-gaap_InterestExpenseDebt_019e8e2e-3974-79e3-8029-e65d323651dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestCostsCapitalizedAdjustment_019e8e2e-3974-72d1-8efb-1c11a482b352" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestCostsCapitalizedAdjustment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3974-788f-a170-2f70e1ab8408" xlink:to="loc_us-gaap_InterestCostsCapitalizedAdjustment_019e8e2e-3974-72d1-8efb-1c11a482b352" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_019e8e2e-3974-721f-9632-fa502fac13d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3974-788f-a170-2f70e1ab8408" xlink:to="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_019e8e2e-3974-721f-9632-fa502fac13d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOther_019e8e2e-3974-774f-994c-6b4f4120670c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDebtExpense_019e8e2e-3974-788f-a170-2f70e1ab8408" xlink:to="loc_us-gaap_InterestExpenseOther_019e8e2e-3974-774f-994c-6b4f4120670c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/InventoriesSummaryofInventoriesDetails" xlink:type="simple" xlink:href="mpc-20260630.xsd#InventoriesSummaryofInventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/InventoriesSummaryofInventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e8e2e-3974-71d6-aaf1-506d62e40cad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CrudeOilAndNaturalGasLiquids_019e8e2e-3974-721b-a4f0-f5cbfb4212d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CrudeOilAndNaturalGasLiquids"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e8e2e-3974-71d6-aaf1-506d62e40cad" xlink:to="loc_us-gaap_CrudeOilAndNaturalGasLiquids_019e8e2e-3974-721b-a4f0-f5cbfb4212d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_EnergyRelatedInventoryRefinedProducts_019e8e2e-3974-731a-a707-d9c11a483623" xlink:href="mpc-20260630.xsd#mpc_EnergyRelatedInventoryRefinedProducts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e8e2e-3974-71d6-aaf1-506d62e40cad" xlink:to="loc_mpc_EnergyRelatedInventoryRefinedProducts_019e8e2e-3974-731a-a707-d9c11a483623" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventorySupplies_019e8e2e-3974-7c67-a797-9aa60c6e73b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInventorySupplies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e8e2e-3974-71d6-aaf1-506d62e40cad" xlink:to="loc_us-gaap_OtherInventorySupplies_019e8e2e-3974-7c67-a797-9aa60c6e73b6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail" xlink:type="simple" xlink:href="mpc-20260630.xsd#PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e8e2e-3974-7ef8-9e69-75e901b25cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019e8e2e-3974-7a34-9b80-a3a9192cc1b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e8e2e-3974-7ef8-9e69-75e901b25cd7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019e8e2e-3974-7a34-9b80-a3a9192cc1b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019e8e2e-3974-736a-9649-afc478ea4bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e8e2e-3974-7ef8-9e69-75e901b25cd7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019e8e2e-3974-736a-9649-afc478ea4bfd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationReconciliationofAdditionstoPropertyPlantandEquipmenttoTotalCapitalExpendituresDetail" xlink:type="simple" xlink:href="mpc-20260630.xsd#SupplementalCashFlowInformationReconciliationofAdditionstoPropertyPlantandEquipmenttoTotalCapitalExpendituresDetail"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationReconciliationofAdditionstoPropertyPlantandEquipmenttoTotalCapitalExpendituresDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mpc_CapitalExpenditure_019e8e2e-3a24-7714-96b2-13bbda6aad23" xlink:href="mpc-20260630.xsd#mpc_CapitalExpenditure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e8e2e-3a24-71f9-a94c-0e9231fb102c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_mpc_CapitalExpenditure_019e8e2e-3a24-7714-96b2-13bbda6aad23" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e8e2e-3a24-71f9-a94c-0e9231fb102c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_IncreaseDecreaseInAccrualForCapitalExpenditures_019e8e2e-3a24-7eac-a653-add7479741cd" xlink:href="mpc-20260630.xsd#mpc_IncreaseDecreaseInAccrualForCapitalExpenditures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_mpc_CapitalExpenditure_019e8e2e-3a24-7714-96b2-13bbda6aad23" xlink:to="loc_mpc_IncreaseDecreaseInAccrualForCapitalExpenditures_019e8e2e-3a24-7eac-a653-add7479741cd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/OtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="mpc-20260630.xsd#OtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/OtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019e8e2e-3a24-7f21-87b4-ddecb76134c7" 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_us-gaap_RegulatoryLiabilityCurrent_019e8e2e-3a24-763b-856b-32b514744f0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RegulatoryLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019e8e2e-3a24-7f21-87b4-ddecb76134c7" xlink:to="loc_us-gaap_RegulatoryLiabilityCurrent_019e8e2e-3a24-763b-856b-32b514744f0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesCurrent_019e8e2e-3a24-7690-9f85-7f8c7033f337" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherSundryLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019e8e2e-3a24-7f21-87b4-ddecb76134c7" xlink:to="loc_us-gaap_OtherSundryLiabilitiesCurrent_019e8e2e-3a24-7690-9f85-7f8c7033f337" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_019e8e2e-3a24-7923-83bd-c2e3576edd7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019e8e2e-3a24-7f21-87b4-ddecb76134c7" xlink:to="loc_us-gaap_InterestPayableCurrent_019e8e2e-3a24-7923-83bd-c2e3576edd7b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail" xlink:type="simple" xlink:href="mpc-20260630.xsd#AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3a24-7938-abed-cd47cbfb7fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019e8e2e-3a24-75cc-b12f-a1e3986b5b03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3a24-7938-abed-cd47cbfb7fa4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019e8e2e-3a24-75cc-b12f-a1e3986b5b03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019e8e2e-3a24-7cd0-bbd2-c732ca8198c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3a24-7938-abed-cd47cbfb7fa4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019e8e2e-3a24-7cd0-bbd2-c732ca8198c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019e8e2e-3a24-7725-8694-c934d448c90c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3a24-7938-abed-cd47cbfb7fa4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019e8e2e-3a24-7725-8694-c934d448c90c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansTax_019e8e2e-3a24-7a68-a7e8-81cd5d061fc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e8e2e-3a24-7938-abed-cd47cbfb7fa4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansTax_019e8e2e-3a24-7a68-a7e8-81cd5d061fc9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails" xlink:type="simple" xlink:href="mpc-20260630.xsd#PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails"/>
  <link:calculationLink xlink:role="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e8e2e-3a24-741a-b3ee-177381ab5561" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019e8e2e-3a24-78ce-ad06-ffef8fbe57cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e8e2e-3a24-741a-b3ee-177381ab5561" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019e8e2e-3a24-78ce-ad06-ffef8fbe57cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019e8e2e-3a24-7aa1-8f30-af5cff485fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e8e2e-3a24-741a-b3ee-177381ab5561" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019e8e2e-3a24-7aa1-8f30-af5cff485fd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019e8e2e-3a24-7b89-8845-deb002bf6177" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e8e2e-3a24-741a-b3ee-177381ab5561" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019e8e2e-3a24-7b89-8845-deb002bf6177" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019e8e2e-3a24-7abd-bd63-7e2c2b1fd37f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e8e2e-3a24-741a-b3ee-177381ab5561" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019e8e2e-3a24-7abd-bd63-7e2c2b1fd37f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019e8e2e-3a24-7f4c-8512-fe45be2c7178" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019e8e2e-3a24-741a-b3ee-177381ab5561" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019e8e2e-3a24-7f4c-8512-fe45be2c7178" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
