| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<!-- XBRL Document Created with the Workiva Platform --> |
<!-- Copyright 2023 Workiva --> |
<!-- r:38e91f6f-d013-4d5a-856c-8d8cfabfc0ba,g:96c8029d-c22c-4a76-b36e-0572cc471cec --> |
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="sun-20230930.xsd#ConsolidatedBalanceSheets"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/ConsolidatedBalanceSheets" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_1ec3227b-f4f8-4e0b-b69f-cc9e4626aed1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_4e1682af-c2f0-4c97-8a2e-72306ab61bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1ec3227b-f4f8-4e0b-b69f-cc9e4626aed1" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_4e1682af-c2f0-4c97-8a2e-72306ab61bd5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_64ff0c3a-ad3c-4428-af09-a8cab4b87ab3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1ec3227b-f4f8-4e0b-b69f-cc9e4626aed1" xlink:to="loc_us-gaap_InventoryNet_64ff0c3a-ad3c-4428-af09-a8cab4b87ab3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_c1648ecb-5641-4e18-ac01-6bf8d951cd90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1ec3227b-f4f8-4e0b-b69f-cc9e4626aed1" xlink:to="loc_us-gaap_OtherAssetsCurrent_c1648ecb-5641-4e18-ac01-6bf8d951cd90" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d685a9cb-57ef-4754-afac-c6834c765560" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1ec3227b-f4f8-4e0b-b69f-cc9e4626aed1" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d685a9cb-57ef-4754-afac-c6834c765560" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_ce511c2a-925c-437f-85ef-f20beab9dcbb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_AssetsCurrent_ce511c2a-925c-437f-85ef-f20beab9dcbb" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_d4efb255-b118-4242-9492-77f1061dceb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_d4efb255-b118-4242-9492-77f1061dceb1" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_91ca5aeb-b170-4989-bf57-53bae2b65195" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_91ca5aeb-b170-4989-bf57-53bae2b65195" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_9c3fedcd-77de-4001-b8b0-06f6864dd298" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_Goodwill_9c3fedcd-77de-4001-b8b0-06f6864dd298" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2a0aa4d4-69b1-41a1-9d2f-cfebb39d1451" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2a0aa4d4-69b1-41a1-9d2f-cfebb39d1451" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9f3238fd-413c-4f2f-a5ce-7782b07ccab9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9f3238fd-413c-4f2f-a5ce-7782b07ccab9" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_3bfca82c-93d2-433e-80da-ca623c368f4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_3bfca82c-93d2-433e-80da-ca623c368f4c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_201c93e9-a73a-494d-b35c-49188562742a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9f48d0b7-7370-447c-b243-731a2399e753" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_201c93e9-a73a-494d-b35c-49188562742a" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_00b6d538-9d11-45dd-82e9-e199415baa2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_1d1feb61-2c09-484f-869f-963f0fb74ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_8c78fdd6-6545-4225-8915-0afa481492cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1d1feb61-2c09-484f-869f-963f0fb74ac2" xlink:to="loc_us-gaap_AccountsPayableCurrent_8c78fdd6-6545-4225-8915-0afa481492cd" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_eb07dcec-f822-4744-a9df-2b93307398b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1d1feb61-2c09-484f-869f-963f0fb74ac2" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_eb07dcec-f822-4744-a9df-2b93307398b5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_34fbca02-73b3-4ae3-b084-1e75ce3fece8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_1d1feb61-2c09-484f-869f-963f0fb74ac2" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_34fbca02-73b3-4ae3-b084-1e75ce3fece8" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_524bf31e-2951-44bb-a85c-7d220d91e6a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_LiabilitiesCurrent_524bf31e-2951-44bb-a85c-7d220d91e6a0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_a226761d-6120-4c94-a638-027533b85bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilities"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_OtherLiabilities_a226761d-6120-4c94-a638-027533b85bdd" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebtNoncurrent_23619d27-edb1-432c-bf06-e697a2d79eba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermDebtNoncurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_OtherLongTermDebtNoncurrent_23619d27-edb1-432c-bf06-e697a2d79eba" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4affa31f-4ca9-4a52-a820-2d2cec7cae53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4affa31f-4ca9-4a52-a820-2d2cec7cae53" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLineOfCredit_be64c411-79c3-4c37-8c25-8c466c8ec262" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermLineOfCredit"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_LongTermLineOfCredit_be64c411-79c3-4c37-8c25-8c466c8ec262" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_6a752ff6-9171-491d-b955-04b08504c9f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_6a752ff6-9171-491d-b955-04b08504c9f3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f06d509d-f929-4fae-8d57-f9880e73e7f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_bbc5a2d9-2c28-4317-9f85-f854e9e07243" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_f06d509d-f929-4fae-8d57-f9880e73e7f1" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2b6caf99-53a7-48da-9e92-f2bca0a77c7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b4be7672-f385-4c90-ab72-7865be4e76ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2b6caf99-53a7-48da-9e92-f2bca0a77c7f" xlink:to="loc_us-gaap_Liabilities_b4be7672-f385-4c90-ab72-7865be4e76ac" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_bf9d5833-dda4-49b1-9632-3eada5d0261f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2b6caf99-53a7-48da-9e92-f2bca0a77c7f" xlink:to="loc_us-gaap_CommitmentsAndContingencies_bf9d5833-dda4-49b1-9632-3eada5d0261f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PartnersCapital_105eaef1-2501-42f6-82aa-769014fe1ca1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PartnersCapital"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2b6caf99-53a7-48da-9e92-f2bca0a77c7f" xlink:to="loc_us-gaap_PartnersCapital_105eaef1-2501-42f6-82aa-769014fe1ca1" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_e22e1619-63d9-4b2f-9b47-c330c33cebed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_83ff96c4-8abc-411e-93ff-f607f77902f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_e22e1619-63d9-4b2f-9b47-c330c33cebed" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_83ff96c4-8abc-411e-93ff-f607f77902f5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_271c5225-4610-471a-952e-b813ca61077a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_e22e1619-63d9-4b2f-9b47-c330c33cebed" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_271c5225-4610-471a-952e-b813ca61077a" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="sun-20230930.xsd#ConsolidatedStatementsofOperationsandComprehensiveIncome"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_8279d0f9-dc7d-4e3e-9a33-bac67e1b4d75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_861c4f53-7c1d-4d08-bf76-2b3aa08671ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8279d0f9-dc7d-4e3e-9a33-bac67e1b4d75" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_861c4f53-7c1d-4d08-bf76-2b3aa08671ef" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_2428038b-3524-4f1e-abb5-f608cc671dff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8279d0f9-dc7d-4e3e-9a33-bac67e1b4d75" xlink:to="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_2428038b-3524-4f1e-abb5-f608cc671dff" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_4141e93a-c1e0-47d3-89e0-586cf1fa7d90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_3fc2ca64-690e-4b0a-90ef-4e2a44a27315" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_4141e93a-c1e0-47d3-89e0-586cf1fa7d90" xlink:to="loc_us-gaap_Revenues_3fc2ca64-690e-4b0a-90ef-4e2a44a27315" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_77d3291a-dcd8-4de7-b9ae-06b9ce498c7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingCostsAndExpenses"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_4141e93a-c1e0-47d3-89e0-586cf1fa7d90" xlink:to="loc_us-gaap_OperatingCostsAndExpenses_77d3291a-dcd8-4de7-b9ae-06b9ce498c7c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_9e5289dd-4ea5-4c9e-b477-91877b5e61ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_5ab96df3-7d81-41aa-8d2b-6a0aaf3d4e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_9e5289dd-4ea5-4c9e-b477-91877b5e61ce" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_5ab96df3-7d81-41aa-8d2b-6a0aaf3d4e1f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_3b18830e-6e1e-4f87-8110-dc52a60c016a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_9e5289dd-4ea5-4c9e-b477-91877b5e61ce" xlink:to="loc_us-gaap_InterestExpense_3b18830e-6e1e-4f87-8110-dc52a60c016a" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_0c215cbd-efcc-4651-a9c8-174243999a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_9e5289dd-4ea5-4c9e-b477-91877b5e61ce" xlink:to="loc_us-gaap_OperatingIncomeLoss_0c215cbd-efcc-4651-a9c8-174243999a0c" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_68749aca-704a-4fe1-a183-61d1484a1fb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossIncludingPortionAttributableToNoncontrollingInterest_9e5289dd-4ea5-4c9e-b477-91877b5e61ce" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_68749aca-704a-4fe1-a183-61d1484a1fb3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingCostsAndExpenses"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_4614dd72-2d0b-4a72-bf6d-0134f7209e61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCostAndExpenseOperating"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_4614dd72-2d0b-4a72-bf6d-0134f7209e61" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_3bb8183f-e844-4ddd-905b-ff4808253c99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseExpense"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:to="loc_us-gaap_OperatingLeaseExpense_3bb8183f-e844-4ddd-905b-ff4808253c99" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_8e058d23-de0d-4e78-b540-8572b636bc29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_8e058d23-de0d-4e78-b540-8572b636bc29" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_fdfab28e-6294-47ba-b478-8ae8857465e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_fdfab28e-6294-47ba-b478-8ae8857465e6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_f8c2a189-a3c5-41cf-b838-ab4d1e493745" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfRevenue"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:to="loc_us-gaap_CostOfRevenue_f8c2a189-a3c5-41cf-b838-ab4d1e493745" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_43cce530-c3de-4efb-8434-a1aebe22c9e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingCostsAndExpenses_8232b362-6e88-40c0-bbc9-f63a57180f1c" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_43cce530-c3de-4efb-8434-a1aebe22c9e6" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="sun-20230930.xsd#ConsolidatedStatementsofCashFlows"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a94a5be6-e8ac-477d-a76a-647192fea4b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_436fccde-b63e-49ba-9a97-7bc6e969ec39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a94a5be6-e8ac-477d-a76a-647192fea4b0" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_436fccde-b63e-49ba-9a97-7bc6e969ec39" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_ab104fd4-8ede-4f38-b515-d2f9d3fa165e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a94a5be6-e8ac-477d-a76a-647192fea4b0" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_ab104fd4-8ede-4f38-b515-d2f9d3fa165e" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPaymentsToAcquireBusinesses_c587fb60-b231-4043-b59f-2938debb2ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherPaymentsToAcquireBusinesses"/> |
| | <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a94a5be6-e8ac-477d-a76a-647192fea4b0" xlink:to="loc_us-gaap_OtherPaymentsToAcquireBusinesses_c587fb60-b231-4043-b59f-2938debb2ae4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_09c555cf-a07b-41a9-8a3e-0e4a51888e55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a94a5be6-e8ac-477d-a76a-647192fea4b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_09c555cf-a07b-41a9-8a3e-0e4a51888e55" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_43675d2b-3d1e-47df-b756-ffd29410740b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/> |
| | <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a94a5be6-e8ac-477d-a76a-647192fea4b0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_43675d2b-3d1e-47df-b756-ffd29410740b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_7e3b9c10-ba01-4f71-a087-4e045ef223eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_7e3b9c10-ba01-4f71-a087-4e045ef223eb" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_a819f8ae-8326-4900-aeb8-a121c736f821" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_a819f8ae-8326-4900-aeb8-a121c736f821" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_a4de5813-af20-477e-b505-1f8391b586ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_a4de5813-af20-477e-b505-1f8391b586ba" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_dada84c2-a699-4d21-af7e-291900824690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_dada84c2-a699-4d21-af7e-291900824690" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_e1592bb7-113b-4c27-b309-79d51c7d769e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/> |
| | <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_e1592bb7-113b-4c27-b309-79d51c7d769e" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_1b01ffee-e531-4626-a73f-994bdd46c8b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_1b01ffee-e531-4626-a73f-994bdd46c8b2" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_8446b2e0-a162-4ae1-9e18-fb81663030a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_8446b2e0-a162-4ae1-9e18-fb81663030a0" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReservePeriodCharge_36c0c083-446c-4029-a2f7-755513d63b53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryLIFOReservePeriodCharge"/> |
| | <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_InventoryLIFOReservePeriodCharge_36c0c083-446c-4029-a2f7-755513d63b53" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToAffiliatesCurrent_355fb908-f1aa-44c2-ab7d-183d8de80b8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDueToAffiliatesCurrent"/> |
| | <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToAffiliatesCurrent_355fb908-f1aa-44c2-ab7d-183d8de80b8b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1c278ed1-025b-435e-831f-ab01dfb20583" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/> |
| | <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1c278ed1-025b-435e-831f-ab01dfb20583" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_8bf86158-4093-4d71-a5b2-a339bd8c6a00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/> |
| | <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_8bf86158-4093-4d71-a5b2-a339bd8c6a00" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromAffiliatesCurrent_edd93445-d1f3-4310-bb60-ef80c73b6c0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDueFromAffiliatesCurrent"/> |
| | <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromAffiliatesCurrent_edd93445-d1f3-4310-bb60-ef80c73b6c0a" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a8c88c3c-4260-407a-889d-3f2e903bcc11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/> |
| | <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_ProfitLoss_a8c88c3c-4260-407a-889d-3f2e903bcc11" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_554dbe56-8f57-4544-80b0-c86bbeb80b22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/> |
| | <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_554dbe56-8f57-4544-80b0-c86bbeb80b22" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_f2a053a5-e675-4e22-8377-e28eff99dddc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/> |
| | <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_ShareBasedCompensation_f2a053a5-e675-4e22-8377-e28eff99dddc" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_ea988ab9-275e-499f-9fb9-fc8c57099823" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/> |
| | <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_63680f07-37af-4b88-85cd-828f910da204" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_ea988ab9-275e-499f-9fb9-fc8c57099823" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_49ead936-e46d-4ff0-979f-6402df04adb8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLongTermDebt"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_49ead936-e46d-4ff0-979f-6402df04adb8" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_80ab4c3d-ca7a-4888-ad51-38c0269785f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_80ab4c3d-ca7a-4888-ad51-38c0269785f6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_dcd43b3e-8d31-4369-bcf4-684697b347b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromLinesOfCredit"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_dcd43b3e-8d31-4369-bcf4-684697b347b8" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DistributionMadeToLimitedPartnerCashDistributionsPaid_6f47de9f-b905-4245-b1e8-96310699e98e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DistributionMadeToLimitedPartnerCashDistributionsPaid"/> |
| | <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:to="loc_us-gaap_DistributionMadeToLimitedPartnerCashDistributionsPaid_6f47de9f-b905-4245-b1e8-96310699e98e" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_b9632230-ad90-41ea-8e3b-f5cb54cc556b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLinesOfCredit"/> |
| | <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_b9632230-ad90-41ea-8e3b-f5cb54cc556b" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_27b98b26-f958-4a72-a827-8fc0d0d27a70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/> |
| | <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_590e9807-7f35-4020-952e-849d3e98713f" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_27b98b26-f958-4a72-a827-8fc0d0d27a70" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_fb875962-b187-42ec-b133-84b812152e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_993aa3cc-ce55-412b-ab9b-41a66f9c3926" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_fb875962-b187-42ec-b133-84b812152e0d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_993aa3cc-ce55-412b-ab9b-41a66f9c3926" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb2d7923-209f-4c4e-a43f-3e18c8e113a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_fb875962-b187-42ec-b133-84b812152e0d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_fb2d7923-209f-4c4e-a43f-3e18c8e113a8" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_faf29530-ce72-4cd0-9253-63984e3607bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_fb875962-b187-42ec-b133-84b812152e0d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_faf29530-ce72-4cd0-9253-63984e3607bc" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/AccountsReceivablenetDetails" xlink:type="simple" xlink:href="sun-20230930.xsd#AccountsReceivablenetDetails"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/AccountsReceivablenetDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_40975f22-be6b-40ad-a3c4-054ece9737ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_6207cdb0-a9ac-49d0-b49b-f1a24acf7dbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableGrossCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_40975f22-be6b-40ad-a3c4-054ece9737ab" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_6207cdb0-a9ac-49d0-b49b-f1a24acf7dbe" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_f47389aa-2041-4ab6-a972-17b53f87fc92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_40975f22-be6b-40ad-a3c4-054ece9737ab" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_f47389aa-2041-4ab6-a972-17b53f87fc92" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/InventoriesnetDetails" xlink:type="simple" xlink:href="sun-20230930.xsd#InventoriesnetDetails"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/InventoriesnetDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_6360a81b-bbaf-4a2a-95e6-76ea5b91a870" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryCrudeOilProductsAndMerchandise_849f5293-80af-4e33-9909-afc8311bc49d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryCrudeOilProductsAndMerchandise"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_6360a81b-bbaf-4a2a-95e6-76ea5b91a870" xlink:to="loc_us-gaap_InventoryCrudeOilProductsAndMerchandise_849f5293-80af-4e33-9909-afc8311bc49d" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventoryNetOfReserves_a047f919-53ab-4a12-8d40-18623ec5804f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherInventoryNetOfReserves"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_6360a81b-bbaf-4a2a-95e6-76ea5b91a870" xlink:to="loc_us-gaap_OtherInventoryNetOfReserves_a047f919-53ab-4a12-8d40-18623ec5804f" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="sun-20230930.xsd#AccruedExpensesandOtherCurrentLiabilitiesDetails"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_525666d1-eeae-444f-ab0a-12bc55326af6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_525666d1-eeae-444f-ab0a-12bc55326af6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_38d84bc8-a579-4762-9400-d4fa89d0d99f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxesPayableCurrent"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_TaxesPayableCurrent_38d84bc8-a579-4762-9400-d4fa89d0d99f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInsuranceCurrent_6021fcf4-b787-468e-a719-a42ffd5f0e73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedInsuranceCurrent"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_AccruedInsuranceCurrent_6021fcf4-b787-468e-a719-a42ffd5f0e73" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_f38f11bb-e6d0-4e3b-872e-6417a7c4b745" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrent"/> |
| | <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_InterestPayableCurrent_f38f11bb-e6d0-4e3b-872e-6417a7c4b745" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositLiabilityCurrent_74d9b904-bf69-46ab-994d-28fc1b893429" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepositLiabilityCurrent"/> |
| | <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_DepositLiabilityCurrent_74d9b904-bf69-46ab-994d-28fc1b893429" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedEnvironmentalLossContingenciesCurrent_199bea0d-c821-43cf-9009-fc1b87c8b5bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedEnvironmentalLossContingenciesCurrent"/> |
| | <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_AccruedEnvironmentalLossContingenciesCurrent_199bea0d-c821-43cf-9009-fc1b87c8b5bf" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_2004d23b-796b-4a74-acb2-b11d6128c27a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/> |
| | <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_4476a55d-6412-432b-8389-e18f7851b438" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_2004d23b-796b-4a74-acb2-b11d6128c27a" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/CommitmentsAndContingenciesLesseeDisclosuresDetails" xlink:type="simple" xlink:href="sun-20230930.xsd#CommitmentsAndContingenciesLesseeDisclosuresDetails"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/CommitmentsAndContingenciesLesseeDisclosuresDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_2ab8e391-1824-4183-925d-3e465fa8c221" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_683acd41-7892-4035-881a-246447d17659" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_2ab8e391-1824-4183-925d-3e465fa8c221" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_683acd41-7892-4035-881a-246447d17659" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_a4368a96-7304-4a5e-bdff-44cc9d72b907" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_2ab8e391-1824-4183-925d-3e465fa8c221" xlink:to="loc_us-gaap_FinanceLeaseLiability_a4368a96-7304-4a5e-bdff-44cc9d72b907" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_sun_LeaseLiabilitiesDue_c47bd2cf-f010-4295-af12-b0516dfb8e73" xlink:href="sun-20230930.xsd#sun_LeaseLiabilitiesDue"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_sun_LeaseLiabilityUndiscountedExcessAmount_96214ff6-21e8-4aff-aa8b-142ee0c05cb7" xlink:href="sun-20230930.xsd#sun_LeaseLiabilityUndiscountedExcessAmount"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sun_LeaseLiabilitiesDue_c47bd2cf-f010-4295-af12-b0516dfb8e73" xlink:to="loc_sun_LeaseLiabilityUndiscountedExcessAmount_96214ff6-21e8-4aff-aa8b-142ee0c05cb7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_sun_LeaseLiabilities_adef783f-ef6e-4081-983f-8d1a7d71c0b5" xlink:href="sun-20230930.xsd#sun_LeaseLiabilities"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sun_LeaseLiabilitiesDue_c47bd2cf-f010-4295-af12-b0516dfb8e73" xlink:to="loc_sun_LeaseLiabilities_adef783f-ef6e-4081-983f-8d1a7d71c0b5" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_894c697f-476d-4487-b50a-9fc2a2c2c912" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4ae77f84-7f00-4c05-9801-cd66820a8645" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_894c697f-476d-4487-b50a-9fc2a2c2c912" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4ae77f84-7f00-4c05-9801-cd66820a8645" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e92f3514-71d9-4662-8378-d42302561193" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_894c697f-476d-4487-b50a-9fc2a2c2c912" xlink:to="loc_us-gaap_OperatingLeaseLiability_e92f3514-71d9-4662-8378-d42302561193" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/IncomeTaxExpenseDetails" xlink:type="simple" xlink:href="sun-20230930.xsd#IncomeTaxExpenseDetails"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/IncomeTaxExpenseDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b648cc5a-89e2-4eb6-b149-566ffc165fc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_5daa27eb-2679-4837-bbbd-b023e25134a4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome"/> |
| | <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_b648cc5a-89e2-4eb6-b149-566ffc165fc0" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_5daa27eb-2679-4837-bbbd-b023e25134a4" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_9fb61c5e-aa8f-42da-b6c8-871d9796eef6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_b648cc5a-89e2-4eb6-b149-566ffc165fc0" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_9fb61c5e-aa8f-42da-b6c8-871d9796eef6" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_815db657-777b-4526-a67c-530b4afc9f33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/> |
| | <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_b648cc5a-89e2-4eb6-b149-566ffc165fc0" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_815db657-777b-4526-a67c-530b4afc9f33" xlink:type="arc"/> |
| | </link:calculationLink> |
| <link:roleRef roleURI="http://www.sunocolp.com/role/NetIncomeperUnitDetails" xlink:type="simple" xlink:href="sun-20230930.xsd#NetIncomeperUnitDetails"/> |
| <link:calculationLink xlink:role="http://www.sunocolp.com/role/NetIncomeperUnitDetails" xlink:type="extended"> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstandingDiluted_93d763b5-30d5-40b6-a0cc-46f981660a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageLimitedPartnershipUnitsOutstandingDiluted"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_47d585eb-94d0-4a57-b60c-15957721fdc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstandingDiluted_93d763b5-30d5-40b6-a0cc-46f981660a0b" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_47d585eb-94d0-4a57-b60c-15957721fdc7" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding_8e0914c9-374e-4165-aae9-675ec67f5ec3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding"/> |
| | <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstandingDiluted_93d763b5-30d5-40b6-a0cc-46f981660a0b" xlink:to="loc_us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding_8e0914c9-374e-4165-aae9-675ec67f5ec3" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_55836b58-ec0a-4d94-80b8-33d6e38280d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAllocatedToLimitedPartners"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_dcbece17-2d8a-477b-930b-ef24506ee92f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/> |
| | <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_55836b58-ec0a-4d94-80b8-33d6e38280d6" xlink:to="loc_us-gaap_NetIncomeLoss_dcbece17-2d8a-477b-930b-ef24506ee92f" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveDistributionDistributionPerYear_9e36bbed-3a74-402d-8509-bd2edddd1e11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncentiveDistributionDistributionPerYear"/> |
| | <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_55836b58-ec0a-4d94-80b8-33d6e38280d6" xlink:to="loc_us-gaap_IncentiveDistributionDistributionPerYear_9e36bbed-3a74-402d-8509-bd2edddd1e11" xlink:type="arc"/> |
| | <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsShareBasedCompensation_36b8b7c8-5cec-44cd-94a9-e2794d15f563" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsShareBasedCompensation"/> |
| | <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_55836b58-ec0a-4d94-80b8-33d6e38280d6" xlink:to="loc_us-gaap_DividendsShareBasedCompensation_36b8b7c8-5cec-44cd-94a9-e2794d15f563" xlink:type="arc"/> |
| | </link:calculationLink> |
| </link:linkbase> |