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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e890d-55d0-7b97-b8ac-bcf870bb9d86,g:e4fe9a25-7232-481d-9e35-7550f4df31d6-->
<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.hfsinclair.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="dino-20260630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e890d-577e-70eb-a702-425e7f7da320" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_AccountsReceivableProductAndTransportation_019e890d-577e-715e-98db-06d3a7d92bc8" xlink:href="dino-20260630.xsd#dino_AccountsReceivableProductAndTransportation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019e890d-577e-70eb-a702-425e7f7da320" xlink:to="loc_dino_AccountsReceivableProductAndTransportation_019e890d-577e-715e-98db-06d3a7d92bc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_AccountsReceivableCrudeOilResales_019e890d-577e-74a9-8e19-0849faf503a5" xlink:href="dino-20260630.xsd#dino_AccountsReceivableCrudeOilResales"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019e890d-577e-70eb-a702-425e7f7da320" xlink:to="loc_dino_AccountsReceivableCrudeOilResales_019e890d-577e-74a9-8e19-0849faf503a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e890d-577f-7a73-9087-669af3ebec3d" 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_TreasuryStockCommonValue_019e890d-577f-73ac-9c00-8f28082153f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e890d-577f-7a73-9087-669af3ebec3d" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019e890d-577f-73ac-9c00-8f28082153f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e890d-577f-7e04-882c-6699359cdde7" 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_019e890d-577f-7a73-9087-669af3ebec3d" xlink:to="loc_us-gaap_CommonStockValue_019e890d-577f-7e04-882c-6699359cdde7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e890d-577f-705b-81de-f2e3d6290357" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e890d-577f-7a73-9087-669af3ebec3d" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e890d-577f-705b-81de-f2e3d6290357" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019e890d-577f-70d1-a457-e189e4f00f70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e890d-577f-7a73-9087-669af3ebec3d" xlink:to="loc_us-gaap_PreferredStockValue_019e890d-577f-70d1-a457-e189e4f00f70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e890d-577f-764a-a9c4-fb0894903533" 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_019e890d-577f-7a73-9087-669af3ebec3d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e890d-577f-764a-a9c4-fb0894903533" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e890d-577f-784a-95bb-49726b5c80d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e890d-577f-7a73-9087-669af3ebec3d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e890d-577f-784a-95bb-49726b5c80d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e890d-577f-7d9c-8e5e-1c0a0013a0cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDeferredCostsNet_019e890d-577f-7031-b643-e1458e846bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherDeferredCostsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019e890d-577f-7d9c-8e5e-1c0a0013a0cf" xlink:to="loc_us-gaap_OtherDeferredCostsNet_019e890d-577f-7031-b643-e1458e846bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e890d-577f-7846-b801-c782b3955879" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019e890d-577f-7d9c-8e5e-1c0a0013a0cf" xlink:to="loc_us-gaap_Goodwill_019e890d-577f-7846-b801-c782b3955879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_IntangiblesAndOther_019e890d-577f-79d6-be48-26af51ccd1e3" xlink:href="dino-20260630.xsd#dino_IntangiblesAndOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019e890d-577f-7d9c-8e5e-1c0a0013a0cf" xlink:to="loc_dino_IntangiblesAndOther_019e890d-577f-79d6-be48-26af51ccd1e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019e890d-577f-7308-9c44-2b192943587b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019e890d-577f-7d9c-8e5e-1c0a0013a0cf" xlink:to="loc_us-gaap_EquityMethodInvestments_019e890d-577f-7308-9c44-2b192943587b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e890d-577e-7850-87c3-e60dcca69ee9" 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_019e890d-577e-71ff-974f-ef64be6f5026" 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_019e890d-577e-7850-87c3-e60dcca69ee9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019e890d-577e-71ff-974f-ef64be6f5026" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019e890d-577e-7a0e-b326-dea98f57d4ff" 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_019e890d-577e-7850-87c3-e60dcca69ee9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019e890d-577e-7a0e-b326-dea98f57d4ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e890d-577f-7d1b-8f38-9afb71a915cc" 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_OtherInventoryNetOfReserves_019e890d-577f-706d-ba97-83e682b77666" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInventoryNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e890d-577f-7d1b-8f38-9afb71a915cc" xlink:to="loc_us-gaap_OtherInventoryNetOfReserves_019e890d-577f-706d-ba97-83e682b77666" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnergyRelatedInventory_019e890d-577f-734d-859d-eb3bbadae69c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EnergyRelatedInventory"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e890d-577f-7d1b-8f38-9afb71a915cc" xlink:to="loc_us-gaap_EnergyRelatedInventory_019e890d-577f-734d-859d-eb3bbadae69c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e890d-577f-77dd-9144-2a9caaf4c025" 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_019e890d-577f-7c15-96a3-17607640a3ca" 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_019e890d-577f-77dd-9144-2a9caaf4c025" xlink:to="loc_us-gaap_Liabilities_019e890d-577f-7c15-96a3-17607640a3ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e890d-577f-7dbf-8e08-7c0c39567505" 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_019e890d-577f-77dd-9144-2a9caaf4c025" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e890d-577f-7dbf-8e08-7c0c39567505" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e890d-577f-70b1-91f0-3acd8b7c8bf9" 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_019e890d-577f-77dd-9144-2a9caaf4c025" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e890d-577f-70b1-91f0-3acd8b7c8bf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e890d-577f-7143-8d00-9de89a8dbde5" 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_019e890d-577f-714a-94bf-f4febf106284" 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_019e890d-577f-7143-8d00-9de89a8dbde5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e890d-577f-714a-94bf-f4febf106284" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e890d-577f-7713-a56c-789b8af5cdac" 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_019e890d-577f-7143-8d00-9de89a8dbde5" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e890d-577f-7713-a56c-789b8af5cdac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e890d-577f-7abf-a52f-c314c71d6f1f" 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_019e890d-577f-7143-8d00-9de89a8dbde5" xlink:to="loc_us-gaap_InventoryNet_019e890d-577f-7abf-a52f-c314c71d6f1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_019e890d-577f-7eb8-99f8-aebf6d3739f2" 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_019e890d-577f-7143-8d00-9de89a8dbde5" xlink:to="loc_us-gaap_IncomeTaxesReceivable_019e890d-577f-7eb8-99f8-aebf6d3739f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019e890d-577f-7eeb-8d19-c1846545aa41" 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_019e890d-577f-7143-8d00-9de89a8dbde5" xlink:to="loc_us-gaap_OtherAssetsCurrent_019e890d-577f-7eeb-8d19-c1846545aa41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e890d-577e-7d15-ab9f-26f2e084188b" 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_019e890d-577e-7f24-b876-6bb72bbace58" 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_019e890d-577e-7d15-ab9f-26f2e084188b" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e890d-577e-7f24-b876-6bb72bbace58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-577e-748f-b907-6d6f3e10c4b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e890d-577e-7d15-ab9f-26f2e084188b" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-577e-748f-b907-6d6f3e10c4b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019e890d-577e-7f4b-b122-cb4ca3676050" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e890d-577e-7d15-ab9f-26f2e084188b" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019e890d-577e-7f4b-b122-cb4ca3676050" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e890d-577e-7b24-ba7c-3f56c8f11388" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e890d-577e-7d15-ab9f-26f2e084188b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e890d-577e-7b24-ba7c-3f56c8f11388" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e890d-577f-71a7-93ae-67f62227e35e" 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_OtherAssetsNoncurrent_019e890d-577f-7342-ab83-2dc6e9d4dd67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e890d-577f-71a7-93ae-67f62227e35e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e890d-577f-7342-ab83-2dc6e9d4dd67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e890d-577f-7416-b6e1-e14b13fc101d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e890d-577f-71a7-93ae-67f62227e35e" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e890d-577f-7416-b6e1-e14b13fc101d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e890d-577f-769e-a40d-ab5b78c7ee84" 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_019e890d-577f-71a7-93ae-67f62227e35e" xlink:to="loc_us-gaap_AssetsCurrent_019e890d-577f-769e-a40d-ab5b78c7ee84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e890d-577f-7c64-b9cf-e1ba5cf9eb92" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e890d-577f-71a7-93ae-67f62227e35e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019e890d-577f-7c64-b9cf-e1ba5cf9eb92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e890d-577f-70e5-8777-0f4492e4ab11" 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_019e890d-577f-7d5a-a18f-2ebbe96b7ee5" 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_019e890d-577f-70e5-8777-0f4492e4ab11" xlink:to="loc_us-gaap_StockholdersEquity_019e890d-577f-7d5a-a18f-2ebbe96b7ee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e890d-577f-7ac6-8d83-61654483e40a" 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_019e890d-577f-70e5-8777-0f4492e4ab11" xlink:to="loc_us-gaap_MinorityInterest_019e890d-577f-7ac6-8d83-61654483e40a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e890d-577f-7e4f-817f-426fc7272bec" 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_019e890d-577f-7ad9-b810-d39fb8c45e31" 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_019e890d-577f-7e4f-817f-426fc7272bec" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e890d-577f-7ad9-b810-d39fb8c45e31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-577f-759d-9610-9d2c3ac56090" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e890d-577f-7e4f-817f-426fc7272bec" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-577f-759d-9610-9d2c3ac56090" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e890d-577f-747b-b908-49f343ec1d9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e890d-577f-7e4f-817f-426fc7272bec" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e890d-577f-747b-b908-49f343ec1d9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e890d-577f-734a-b95b-f3e530c3462a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e890d-577f-7e4f-817f-426fc7272bec" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e890d-577f-734a-b95b-f3e530c3462a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019e890d-577f-709f-be1c-cd38ddfa0b57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e890d-577f-7e4f-817f-426fc7272bec" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019e890d-577f-709f-be1c-cd38ddfa0b57" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="dino-20260630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e890d-577f-7329-a03e-e33993ada8a6" 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_NonoperatingIncomeExpense_019e890d-577f-76b7-8185-5fd4171577f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e890d-577f-7329-a03e-e33993ada8a6" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e890d-577f-76b7-8185-5fd4171577f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e890d-577f-7a7e-90af-1d9cb283e1a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e890d-577f-7329-a03e-e33993ada8a6" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e890d-577f-7a7e-90af-1d9cb283e1a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e890d-577f-7387-a4a7-7d38630bdd18" 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_019e890d-577f-7fb1-9ddc-6a16ab22227f" 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_019e890d-577f-7387-a4a7-7d38630bdd18" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e890d-577f-7fb1-9ddc-6a16ab22227f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e890d-577f-74eb-ae1b-8f31e0a6cb44" 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_019e890d-577f-7387-a4a7-7d38630bdd18" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e890d-577f-74eb-ae1b-8f31e0a6cb44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e890d-577f-7369-917f-0fb8bbe0800f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectOperatingCosts_019e890d-577f-761c-9a12-acc21ae6c1c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DirectOperatingCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e890d-577f-7369-917f-0fb8bbe0800f" xlink:to="loc_us-gaap_DirectOperatingCosts_019e890d-577f-761c-9a12-acc21ae6c1c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_019e890d-577f-7f6c-9258-a54adae0316f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWriteDown"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e890d-577f-7369-917f-0fb8bbe0800f" xlink:to="loc_us-gaap_InventoryWriteDown_019e890d-577f-7f6c-9258-a54adae0316f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostDirectMaterial_019e890d-577f-710b-ad4b-335d34c1a6bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostDirectMaterial"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e890d-577f-7369-917f-0fb8bbe0800f" xlink:to="loc_us-gaap_CostDirectMaterial_019e890d-577f-710b-ad4b-335d34c1a6bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e890d-577f-731f-8a9a-c8dd63446a3f" 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_RevenueFromContractWithCustomerExcludingAssessedTax_019e890d-577f-7cc6-ad38-6a1ad8b7692d" 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_us-gaap_OperatingIncomeLoss_019e890d-577f-731f-8a9a-c8dd63446a3f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e890d-577f-7cc6-ad38-6a1ad8b7692d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_019e890d-577f-7d29-9793-b8b8038bb82a" 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_019e890d-577f-731f-8a9a-c8dd63446a3f" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_019e890d-577f-7d29-9793-b8b8038bb82a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_019e890d-577f-776e-b099-d3c82cb297dd" 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_SellingGeneralAndAdministrativeExpense_019e890d-577f-7208-a3db-2a682a2a0cb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e890d-577f-776e-b099-d3c82cb297dd" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e890d-577f-7208-a3db-2a682a2a0cb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e890d-577f-77d3-9d51-cc148c642107" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e890d-577f-776e-b099-d3c82cb297dd" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e890d-577f-77d3-9d51-cc148c642107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e890d-577f-787f-855d-735673235ee8" 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_OperatingCostsAndExpenses_019e890d-577f-776e-b099-d3c82cb297dd" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e890d-577f-787f-855d-735673235ee8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_019e890d-577f-7134-ac22-32a8fe2e83a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_019e890d-577f-776e-b099-d3c82cb297dd" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_019e890d-577f-7134-ac22-32a8fe2e83a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e890d-577f-7de5-88b0-b5e4bd2d0332" 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_InvestmentIncomeInterest_019e890d-577f-7ae3-afec-296372a9b870" 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_NonoperatingIncomeExpense_019e890d-577f-7de5-88b0-b5e4bd2d0332" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019e890d-577f-7ae3-afec-296372a9b870" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e890d-577f-72a7-be1d-167a22c71693" 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_us-gaap_NonoperatingIncomeExpense_019e890d-577f-7de5-88b0-b5e4bd2d0332" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e890d-577f-72a7-be1d-167a22c71693" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e890d-577f-7405-93a7-0b4c73a86b27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019e890d-577f-7de5-88b0-b5e4bd2d0332" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e890d-577f-7405-93a7-0b4c73a86b27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e890d-577f-76a0-b57e-a5f985073e12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019e890d-577f-7de5-88b0-b5e4bd2d0332" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e890d-577f-76a0-b57e-a5f985073e12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e890d-577f-78be-8458-06d14edfdf32" 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_019e890d-577f-71ea-b5d9-39bd3b32dd7e" 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_019e890d-577f-78be-8458-06d14edfdf32" xlink:to="loc_us-gaap_ProfitLoss_019e890d-577f-71ea-b5d9-39bd3b32dd7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e890d-577f-77fe-881a-02f9c0572240" 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_019e890d-577f-78be-8458-06d14edfdf32" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e890d-577f-77fe-881a-02f9c0572240" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e890d-577f-7504-8e26-acbb6cf99e76" 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_019e890d-577f-789e-9630-6e8aa0f81628" 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_019e890d-577f-7504-8e26-acbb6cf99e76" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e890d-577f-789e-9630-6e8aa0f81628" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e890d-577f-7371-a996-df1d617ad435" 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_019e890d-577f-7504-8e26-acbb6cf99e76" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e890d-577f-7371-a996-df1d617ad435" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="dino-20260630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e890d-5866-7f78-9281-8ebdd6c3a147" 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_019e890d-5866-7fc7-8dd4-f4ef25df7e21" 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_019e890d-5866-7f78-9281-8ebdd6c3a147" xlink:to="loc_us-gaap_ProfitLoss_019e890d-5866-7fc7-8dd4-f4ef25df7e21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e890d-5866-72e3-b37f-41108b1d65d8" 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_019e890d-5866-7f78-9281-8ebdd6c3a147" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e890d-5866-72e3-b37f-41108b1d65d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e890d-5866-74fe-ac7c-54b2fba2f771" 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_019e890d-5866-723f-98bf-95218b6a70c0" 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_019e890d-5866-74fe-ac7c-54b2fba2f771" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e890d-5866-723f-98bf-95218b6a70c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019e890d-5866-7b96-8788-56ecee1ad9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e890d-5866-74fe-ac7c-54b2fba2f771" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019e890d-5866-7b96-8788-56ecee1ad9fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_019e890d-5866-7dcd-866f-ada34560ddfc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_019e890d-5866-7d49-8833-8e06dba6912b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_019e890d-5866-7dcd-866f-ada34560ddfc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_019e890d-5866-7d49-8833-8e06dba6912b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019e890d-5866-77b7-8e14-c230a3564076" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_019e890d-5866-7dcd-866f-ada34560ddfc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019e890d-5866-77b7-8e14-c230a3564076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_019f5a11-48cb-7d04-83ca-007655ef7247" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_019e890d-5866-7dcd-866f-ada34560ddfc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_019f5a11-48cb-7d04-83ca-007655ef7247" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e890d-5866-7ec9-8ca4-af9fe6207bf3" 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_OtherComprehensiveIncomeLossBeforeTax_019e890d-5866-73d7-8499-24ec090888a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e890d-5866-7ec9-8ca4-af9fe6207bf3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_019e890d-5866-73d7-8499-24ec090888a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_019e890d-5866-70b0-b2ee-3ad7514a1648" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e890d-5866-7ec9-8ca4-af9fe6207bf3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_019e890d-5866-70b0-b2ee-3ad7514a1648" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_019f5a10-d062-7252-b3d0-616319cf0ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_019f5a10-d062-76ac-a37c-f1bc62e13bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_019f5a10-d062-7252-b3d0-616319cf0ac9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_019f5a10-d062-76ac-a37c-f1bc62e13bdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019f5a10-d062-7fbb-bbeb-b25652ae4c65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_019f5a10-d062-7252-b3d0-616319cf0ac9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019f5a10-d062-7fbb-bbeb-b25652ae4c65" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="dino-20260630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-72de-98ba-2b313a5592b0" 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_PaymentsToAcquirePropertyPlantAndEquipment_019e890d-5866-72a7-9e3e-10bdac527bb7" 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_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-72de-98ba-2b313a5592b0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e890d-5866-72a7-9e3e-10bdac527bb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e890d-5866-74e6-be1c-dc125e148726" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-72de-98ba-2b313a5592b0" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019e890d-5866-74e6-be1c-dc125e148726" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_019eb164-865b-7099-887d-550ecef0eb60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-72de-98ba-2b313a5592b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_019eb164-865b-7099-887d-550ecef0eb60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019ef468-a587-7869-9e26-4f391fccfa27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-72de-98ba-2b313a5592b0" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019ef468-a587-7869-9e26-4f391fccfa27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019ef468-a587-7667-b5bd-5ab7805b570e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-72de-98ba-2b313a5592b0" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019ef468-a587-7667-b5bd-5ab7805b570e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e890d-5866-7af9-a854-ade6bdc0c7cc" 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_019e890d-5866-733d-9733-05d5a110cc1c" 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_019e890d-5866-7af9-a854-ade6bdc0c7cc" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-733d-9733-05d5a110cc1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-7d78-a686-1de24d55895d" 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_019e890d-5866-7af9-a854-ade6bdc0c7cc" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e890d-5866-7d78-a686-1de24d55895d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7749-87cd-c425733b0267" 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_019e890d-5866-7af9-a854-ade6bdc0c7cc" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7749-87cd-c425733b0267" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e890d-5866-7968-a77d-704b98017696" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e890d-5866-7af9-a854-ade6bdc0c7cc" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e890d-5866-7968-a77d-704b98017696" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" 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_019e890d-5866-759b-96b1-7631436123be" 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_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_ProfitLoss_019e890d-5866-759b-96b1-7631436123be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e890d-5866-7e38-ba27-6c4f99c43f49" 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_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e890d-5866-7e38-ba27-6c4f99c43f49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019e890d-5866-7ee9-abc7-c9a22f1b3737" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_AssetImpairmentCharges_019e890d-5866-7ee9-abc7-c9a22f1b3737" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_019e890d-5866-7df4-a458-784c56e038e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWriteDown"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_InventoryWriteDown_019e890d-5866-7df4-a458-784c56e038e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_019e890d-5866-7056-a070-286cee5b0945" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_019e890d-5866-7056-a070-286cee5b0945" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e890d-5866-7d4e-a381-73b7784e94ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e890d-5866-7d4e-a381-73b7784e94ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_019e890d-5866-71d4-9604-e5f0b2ae52e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_019e890d-5866-71d4-9604-e5f0b2ae52e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e890d-5866-7205-814c-835dcf0cc510" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e890d-5866-7205-814c-835dcf0cc510" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e890d-5866-763b-a5ef-8a5932bc45cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_ShareBasedCompensation_019e890d-5866-763b-a5ef-8a5932bc45cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e890d-5866-7251-befb-588b6c0ed27f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e890d-5866-7251-befb-588b6c0ed27f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e890d-5866-7523-aab3-151d380d805d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e890d-5866-7523-aab3-151d380d805d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e890d-5866-7acd-87c2-f81a7f57de9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e890d-5866-7acd-87c2-f81a7f57de9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_019e890d-5866-7de3-b143-2a3417f0a521" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_019e890d-5866-7de3-b143-2a3417f0a521" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e890d-5866-70f7-80fd-f94bef894e5e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e890d-5866-70f7-80fd-f94bef894e5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e890d-5866-7250-bb14-14dde1e309eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e890d-5866-7250-bb14-14dde1e309eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e890d-5866-7bb2-a184-aeb6986cf38c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e890d-5866-7bb2-a184-aeb6986cf38c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_IncreaseDecreaseInTurnaroundExpenditures_019e890d-5866-75d9-bd56-ad00753d9895" xlink:href="dino-20260630.xsd#dino_IncreaseDecreaseInTurnaroundExpenditures"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_dino_IncreaseDecreaseInTurnaroundExpenditures_019e890d-5866-75d9-bd56-ad00753d9895" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e890d-5866-7e24-a35b-ffb3c5a68fba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e890d-5866-7e24-a35b-ffb3c5a68fba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019ef466-c497-704b-8fde-9e3e6d073b5e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019ef466-c497-704b-8fde-9e3e6d073b5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019ef916-e254-79a6-8d8a-85aeac42d1b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e890d-5866-797f-9c4e-fd69debed469" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019ef916-e254-79a6-8d8a-85aeac42d1b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" 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_019e890d-5866-7328-9a66-50e207724e49" 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_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e890d-5866-7328-9a66-50e207724e49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e890d-5866-7d3c-87ea-7e25ea3c9750" 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_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e890d-5866-7d3c-87ea-7e25ea3c9750" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_019e890d-5866-76da-8f1e-4981919d0815" 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_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_019e890d-5866-76da-8f1e-4981919d0815" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_019e890d-5866-7804-90a8-8a1dd3dede8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_019e890d-5866-7804-90a8-8a1dd3dede8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019e890d-5866-760e-8ebd-7c7936867514" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019e890d-5866-760e-8ebd-7c7936867514" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_019e890d-5866-7aff-b118-f6ead23e36fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_019e890d-5866-7aff-b118-f6ead23e36fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSeniorDebt_019e890d-5866-746c-a2d0-88d36c4d537f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSeniorDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_RepaymentsOfSeniorDebt_019e890d-5866-746c-a2d0-88d36c4d537f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019e890d-5866-7388-9494-9580435eb417" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019e890d-5866-7388-9494-9580435eb417" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_ProceedsFromFinancingArrangements_019ef469-589c-7253-978c-fc797ea810db" xlink:href="dino-20260630.xsd#dino_ProceedsFromFinancingArrangements"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_dino_ProceedsFromFinancingArrangements_019ef469-589c-7253-978c-fc797ea810db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_PaymentsForFinancingArrangements_019ef469-589c-73a1-8c6b-d7d45caeb67b" xlink:href="dino-20260630.xsd#dino_PaymentsForFinancingArrangements"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e890d-5866-7758-93a9-4c75fab810e9" xlink:to="loc_dino_PaymentsForFinancingArrangements_019ef469-589c-73a1-8c6b-d7d45caeb67b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/OtherIncomeExpenseNetDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#OtherIncomeExpenseNetDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/OtherIncomeExpenseNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019f5a39-a2a6-797f-9490-7431f5336868" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_GainLossOnDispositionOfAssetsAndOther_019f5a39-a2a6-7153-8a25-f78008e23e76" xlink:href="dino-20260630.xsd#dino_GainLossOnDispositionOfAssetsAndOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_019f5a39-a2a6-797f-9490-7431f5336868" xlink:to="loc_dino_GainLossOnDispositionOfAssetsAndOther_019f5a39-a2a6-7153-8a25-f78008e23e76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_019f5a39-a2a6-7d72-84fb-2a9f4a740f47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_019f5a39-a2a6-797f-9490-7431f5336868" xlink:to="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_019f5a39-a2a6-7d72-84fb-2a9f4a740f47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019f5a39-a2a6-7bec-b115-a1003b2b288c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_019f5a39-a2a6-797f-9490-7431f5336868" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019f5a39-a2a6-7bec-b115-a1003b2b288c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_019f5a39-a2a6-7afe-b96e-f93a53d09133" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_019f5a39-a2a6-797f-9490-7431f5336868" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_019f5a39-a2a6-7afe-b96e-f93a53d09133" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_GainLossOnPreciousMetalSettlement_019f5a39-a2a6-741b-8b6e-54e435938793" xlink:href="dino-20260630.xsd#dino_GainLossOnPreciousMetalSettlement"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_019f5a39-a2a6-797f-9490-7431f5336868" xlink:to="loc_dino_GainLossOnPreciousMetalSettlement_019f5a39-a2a6-741b-8b6e-54e435938793" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/FairValueMeasurementsScheduleofFairValueMeasurementsofAssetandLiabilityInstrumentsDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#FairValueMeasurementsScheduleofFairValueMeasurementsofAssetandLiabilityInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/FairValueMeasurementsScheduleofFairValueMeasurementsofAssetandLiabilityInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e890d-5866-79aa-9992-c0bb7998a94a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e890d-5866-7eea-b677-361c98a605af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e890d-5866-79aa-9992-c0bb7998a94a" xlink:to="loc_us-gaap_DerivativeAssets_019e890d-5866-7eea-b677-361c98a605af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019e890d-5866-7597-b69d-dfb74e716723" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e890d-5866-7ffe-ae61-39219e4b7629" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019e890d-5866-7597-b69d-dfb74e716723" xlink:to="loc_us-gaap_DerivativeLiabilities_019e890d-5866-7ffe-ae61-39219e4b7629" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations_019e890d-5866-73fa-bff0-61fcd364c54e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_019e890d-5866-7597-b69d-dfb74e716723" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations_019e890d-5866-73fa-bff0-61fcd364c54e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e890d-5866-70d2-b6d6-439047cf4063" 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_019e890d-5866-767c-90a8-ba0fb8a74cdc" 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_019e890d-5866-70d2-b6d6-439047cf4063" xlink:to="loc_us-gaap_NetIncomeLoss_019e890d-5866-767c-90a8-ba0fb8a74cdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_019e890d-5866-7c2a-be25-9a63acc446e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e890d-5866-70d2-b6d6-439047cf4063" xlink:to="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_019e890d-5866-7c2a-be25-9a63acc446e4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/InventoriesScheduleofInventoriesDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#InventoriesScheduleofInventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/InventoriesScheduleofInventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventoryNetOfReserves_019e890d-5866-7194-b147-334f63942dd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInventoryNetOfReserves"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventorySupplies_019e890d-5866-7609-8f4b-a79d24f62ff4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInventorySupplies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherInventoryNetOfReserves_019e890d-5866-7194-b147-334f63942dd7" xlink:to="loc_us-gaap_OtherInventorySupplies_019e890d-5866-7609-8f4b-a79d24f62ff4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventoryPurchasedGoods_019e890d-5866-7429-b244-7a20f6ae0720" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInventoryPurchasedGoods"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherInventoryNetOfReserves_019e890d-5866-7194-b147-334f63942dd7" xlink:to="loc_us-gaap_OtherInventoryPurchasedGoods_019e890d-5866-7429-b244-7a20f6ae0720" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnergyRelatedInventory_019e890d-5866-7869-8240-dcb9a77fe402" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EnergyRelatedInventory"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_019e890d-5866-756c-8a0f-e9fd6358ab37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EnergyRelatedInventory_019e890d-5866-7869-8240-dcb9a77fe402" xlink:to="loc_us-gaap_InventoryRawMaterials_019e890d-5866-756c-8a0f-e9fd6358ab37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryValuationReserves_019e890d-5866-7a32-aa61-9edc8c6bab4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryValuationReserves"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EnergyRelatedInventory_019e890d-5866-7869-8240-dcb9a77fe402" xlink:to="loc_us-gaap_InventoryValuationReserves_019e890d-5866-7a32-aa61-9edc8c6bab4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_019e890d-5866-7bc4-8bfb-f2bd2e6a7f7e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EnergyRelatedInventory_019e890d-5866-7869-8240-dcb9a77fe402" xlink:to="loc_us-gaap_InventoryFinishedGoods_019e890d-5866-7bc4-8bfb-f2bd2e6a7f7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessAndRawMaterials_019e890d-5866-7d32-9124-fc6dcd62e6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWorkInProcessAndRawMaterials"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EnergyRelatedInventory_019e890d-5866-7869-8240-dcb9a77fe402" xlink:to="loc_us-gaap_InventoryWorkInProcessAndRawMaterials_019e890d-5866-7d32-9124-fc6dcd62e6ed" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/AccruedLiabilitiesandOtherLongTermLiabilitiesScheduleofAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#AccruedLiabilitiesandOtherLongTermLiabilitiesScheduleofAccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/AccruedLiabilitiesandOtherLongTermLiabilitiesScheduleofAccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_AccruedEnvironmentalCreditObligationCurrent_019e890d-5866-7d18-908d-e97af0b680a6" xlink:href="dino-20260630.xsd#dino_AccruedEnvironmentalCreditObligationCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_dino_AccruedEnvironmentalCreditObligationCurrent_019e890d-5866-7d18-908d-e97af0b680a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_PreciousMetalFinancingCurrent_019e890d-5866-7845-b2cc-6c6b6f2857f9" xlink:href="dino-20260630.xsd#dino_PreciousMetalFinancingCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_dino_PreciousMetalFinancingCurrent_019e890d-5866-7845-b2cc-6c6b6f2857f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e890d-5866-7c46-a853-f85090e05e77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e890d-5866-7c46-a853-f85090e05e77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_019e890d-5866-7c6a-a831-ca9e78101a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_019e890d-5866-7c6a-a831-ca9e78101a3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_019e890d-5866-78d6-a61c-1acbfcee225d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_InterestPayableCurrent_019e890d-5866-78d6-a61c-1acbfcee225d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_019e890d-5866-7bc9-9c05-d9a4cca13e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_019e890d-5866-7bc9-9c05-d9a4cca13e9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedEnvironmentalLossContingenciesCurrent_019e890d-5866-7393-9124-a03ed3709c25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedEnvironmentalLossContingenciesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_AccruedEnvironmentalLossContingenciesCurrent_019e890d-5866-7393-9124-a03ed3709c25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e890d-5866-72b9-894c-113681f38d95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019e890d-5866-72b9-894c-113681f38d95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019e890d-5866-74f0-a563-d66d1475da02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019e890d-5866-7a7c-91ca-7f4e2ef600bd" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019e890d-5866-74f0-a563-d66d1475da02" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/AccruedLiabilitiesandOtherLongTermLiabilitiesScheduleofOtherLongTermLiabilitiesDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#AccruedLiabilitiesandOtherLongTermLiabilitiesScheduleofOtherLongTermLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/AccruedLiabilitiesandOtherLongTermLiabilitiesScheduleofOtherLongTermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-5866-79da-8b5b-b77f0cdf3efa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent_019e890d-5866-7767-9485-7edee9317e5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-5866-79da-8b5b-b77f0cdf3efa" xlink:to="loc_us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent_019e890d-5866-7767-9485-7edee9317e5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_019e890d-5866-760e-9d0a-052beb5e9dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherSundryLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-5866-79da-8b5b-b77f0cdf3efa" xlink:to="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_019e890d-5866-760e-9d0a-052beb5e9dd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e890d-5866-7c43-b16d-710880746853" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-5866-79da-8b5b-b77f0cdf3efa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019e890d-5866-7c43-b16d-710880746853" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_019e890d-5866-719d-bddb-50d2d9488ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019e890d-5866-79da-8b5b-b77f0cdf3efa" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_019e890d-5866-719d-bddb-50d2d9488ab5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/DebtScheduleofCarryingAmountsofLongTermDebtDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#DebtScheduleofCarryingAmountsofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/DebtScheduleofCarryingAmountsofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e890d-5866-7d94-8c47-51d92e8b31b5" 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_019e890d-5866-7f85-bac6-1dde563bc6cc" 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_019e890d-5866-7d94-8c47-51d92e8b31b5" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e890d-5866-7f85-bac6-1dde563bc6cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019e890d-5866-7f23-a395-c1b80c4d5706" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e890d-5866-7d94-8c47-51d92e8b31b5" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019e890d-5866-7f23-a395-c1b80c4d5706" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hfsinclair.com/role/DerivativeInstrumentsandHedgingActivitiesScheduleofBalanceSheetLocationsAndRelatedFairValuesOfOutstandingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="dino-20260630.xsd#DerivativeInstrumentsandHedgingActivitiesScheduleofBalanceSheetLocationsAndRelatedFairValuesOfOutstandingDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.hfsinclair.com/role/DerivativeInstrumentsandHedgingActivitiesScheduleofBalanceSheetLocationsAndRelatedFairValuesOfOutstandingDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e890d-5866-7fe2-b25c-c95040eb91df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e890d-5866-7270-8b3c-d7094785445e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019e890d-5866-7fe2-b25c-c95040eb91df" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e890d-5866-7270-8b3c-d7094785445e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019e890d-5866-7d3a-aa7d-901e32d03634" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019e890d-5866-7fe2-b25c-c95040eb91df" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019e890d-5866-7d3a-aa7d-901e32d03634" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dino_DerivativeLiabilityNetting_019fa5df-684c-7dc9-9582-95dce33e4acd" xlink:href="dino-20260630.xsd#dino_DerivativeLiabilityNetting"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019fa5df-684c-790e-a578-a73c39711622" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dino_DerivativeLiabilityNetting_019fa5df-684c-7dc9-9582-95dce33e4acd" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019fa5df-684c-790e-a578-a73c39711622" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019fa5df-684c-7ed6-8346-ff30b7e8eac9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_dino_DerivativeLiabilityNetting_019fa5df-684c-7dc9-9582-95dce33e4acd" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019fa5df-684c-7ed6-8346-ff30b7e8eac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e890d-5866-7162-8e7a-1bf5d1022695" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e890d-5866-7e79-b96b-dd1f88cc9cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019e890d-5866-7162-8e7a-1bf5d1022695" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e890d-5866-7e79-b96b-dd1f88cc9cd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019e890d-5866-7bfe-8b44-b7a8a9aae278" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019e890d-5866-7162-8e7a-1bf5d1022695" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019e890d-5866-7bfe-8b44-b7a8a9aae278" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
