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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:064b41f9-0baa-4892-b06e-19e316625cb0,g:cbf30edc-a2d9-434e-a378-db3a285de13e-->
<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.oneok.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="oke-20230930.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_90cd67c9-7f1c-4490-9fc1-3f4fb422ddf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_abdb1dbf-af1a-4059-8615-4d148a10293c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_90cd67c9-7f1c-4490-9fc1-3f4fb422ddf2" xlink:to="loc_us-gaap_ProfitLoss_abdb1dbf-af1a-4059-8615-4d148a10293c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_c2a172f2-dc05-4f99-b698-e7bce090908c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_90cd67c9-7f1c-4490-9fc1-3f4fb422ddf2" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_c2a172f2-dc05-4f99-b698-e7bce090908c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_d7bf5cca-ccc6-453f-9ab7-4e1e6331cee2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_36c73b92-a138-4213-976e-449613d58bb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_d7bf5cca-ccc6-453f-9ab7-4e1e6331cee2" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_36c73b92-a138-4213-976e-449613d58bb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6e6bc35a-8895-43e4-b3d7-876df9564e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_d7bf5cca-ccc6-453f-9ab7-4e1e6331cee2" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6e6bc35a-8895-43e4-b3d7-876df9564e1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_46b5aed9-1294-4ba9-97c7-5c14539d8906" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_3bc30c58-4370-4774-a098-9ae1953132d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_46b5aed9-1294-4ba9-97c7-5c14539d8906" xlink:to="loc_us-gaap_InterestExpense_3bc30c58-4370-4774-a098-9ae1953132d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_0a21c750-8bf8-45c2-8919-4bd3a4defd16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_46b5aed9-1294-4ba9-97c7-5c14539d8906" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_0a21c750-8bf8-45c2-8919-4bd3a4defd16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_2d6e2e08-5765-4f1b-b670-34323261f8ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_46b5aed9-1294-4ba9-97c7-5c14539d8906" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_2d6e2e08-5765-4f1b-b670-34323261f8ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_1e8b8ea3-a77b-46a3-8659-5258ce8a4053" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_46b5aed9-1294-4ba9-97c7-5c14539d8906" xlink:to="loc_us-gaap_OperatingIncomeLoss_1e8b8ea3-a77b-46a3-8659-5258ce8a4053" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" 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_RevenueFromContractWithCustomerExcludingAssessedTax_190d67df-8562-4643-83b7-bb5164e5f2e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_190d67df-8562-4643-83b7-bb5164e5f2e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_25cc096c-394e-44ad-a6de-5061dd48a773" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_25cc096c-394e-44ad-a6de-5061dd48a773" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_6b5fc119-9dca-404e-8b49-5284f7988396" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_6b5fc119-9dca-404e-8b49-5284f7988396" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesOther_1805876a-e67a-4a48-ab6f-520f00b6b745" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxesOther"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_TaxesOther_1805876a-e67a-4a48-ab6f-520f00b6b745" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_f531d712-d8e1-49ba-bda5-12fcd78f31dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_f531d712-d8e1-49ba-bda5-12fcd78f31dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_84adb512-85cf-43e5-bb44-2609034fc613" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_CostOfRevenue_84adb512-85cf-43e5-bb44-2609034fc613" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_87e8cfde-d08b-4657-8b62-ae607b1c6da9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c30fb84f-4763-4f7a-b122-6a59105b4eb7" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_87e8cfde-d08b-4657-8b62-ae607b1c6da9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="oke-20230930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_641cea6b-eb54-421c-bef1-a4425f74ad90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_923f5490-4d80-4568-a0c3-dd967e0c329d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_641cea6b-eb54-421c-bef1-a4425f74ad90" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_923f5490-4d80-4568-a0c3-dd967e0c329d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_aec82a2e-18cd-4716-89f0-3834ee9c72e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_641cea6b-eb54-421c-bef1-a4425f74ad90" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_aec82a2e-18cd-4716-89f0-3834ee9c72e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_60061bdb-060b-4a8e-b14e-7340a5cda60c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_641cea6b-eb54-421c-bef1-a4425f74ad90" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_60061bdb-060b-4a8e-b14e-7340a5cda60c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTax_a28c6cc0-cf4b-43c6-b2d6-2f1141ab07fa" xlink:href="oke-20230930.xsd#oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_641cea6b-eb54-421c-bef1-a4425f74ad90" xlink:to="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTax_a28c6cc0-cf4b-43c6-b2d6-2f1141ab07fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_c3303e6e-dd9b-488e-954b-218253977cdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_b0195f66-1d4d-473e-ae63-aa740f9482b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_c3303e6e-dd9b-488e-954b-218253977cdc" xlink:to="loc_us-gaap_ProfitLoss_b0195f66-1d4d-473e-ae63-aa740f9482b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_90c4b386-8a6d-480b-8a7b-c400bc40c920" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_c3303e6e-dd9b-488e-954b-218253977cdc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_90c4b386-8a6d-480b-8a7b-c400bc40c920" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="oke-20230930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_c65693f2-df8e-4dcf-ba74-5d29eec8d6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:to="loc_us-gaap_PreferredStockValue_c65693f2-df8e-4dcf-ba74-5d29eec8d6fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_a2f3f83a-9086-484a-a3c8-cddf40d907ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:to="loc_us-gaap_CommonStockValue_a2f3f83a-9086-484a-a3c8-cddf40d907ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_760803a9-6739-4991-822c-23f28ab954af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:to="loc_us-gaap_AdditionalPaidInCapital_760803a9-6739-4991-822c-23f28ab954af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_958e1129-9ec7-4dbe-8ef6-90f894cb74b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_958e1129-9ec7-4dbe-8ef6-90f894cb74b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_98384d4c-60bb-4286-84e7-5a7254d46a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_98384d4c-60bb-4286-84e7-5a7254d46a1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_e3cffb68-2530-4290-826e-27a724db5a91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cdac06e-5b8e-4ddc-ae0d-8ed9aece2dbe" xlink:to="loc_us-gaap_TreasuryStockValue_e3cffb68-2530-4290-826e-27a724db5a91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_2c024142-7f5a-46fc-beae-e22bd831d2af" 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_PropertyPlantAndEquipmentNet_bb5012b7-18e3-470e-bf73-bef69d5c32fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c024142-7f5a-46fc-beae-e22bd831d2af" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_bb5012b7-18e3-470e-bf73-bef69d5c32fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_f33f236c-6f68-48db-99ac-4b1125fd9da2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c024142-7f5a-46fc-beae-e22bd831d2af" xlink:to="loc_us-gaap_AssetsCurrent_f33f236c-6f68-48db-99ac-4b1125fd9da2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_821c18d2-57db-4692-bc4b-4dfa4a1d070e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsAndOtherNoncurrentAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_2c024142-7f5a-46fc-beae-e22bd831d2af" xlink:to="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_821c18d2-57db-4692-bc4b-4dfa4a1d070e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_5d6c7cbe-304c-4e5e-a240-871c92e23373" 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_LiabilitiesCurrent_badc365e-41b6-4e2c-8f18-207a6d1f7fe9" 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_LiabilitiesAndStockholdersEquity_5d6c7cbe-304c-4e5e-a240-871c92e23373" xlink:to="loc_us-gaap_LiabilitiesCurrent_badc365e-41b6-4e2c-8f18-207a6d1f7fe9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_e7d92da6-4be0-4eab-a54c-f97559330410" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5d6c7cbe-304c-4e5e-a240-871c92e23373" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_e7d92da6-4be0-4eab-a54c-f97559330410" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_bd4d1b7b-30ba-491b-aa9d-fbdedea72254" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5d6c7cbe-304c-4e5e-a240-871c92e23373" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_bd4d1b7b-30ba-491b-aa9d-fbdedea72254" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_538cba3e-484a-40af-a679-e3b626c75222" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5d6c7cbe-304c-4e5e-a240-871c92e23373" xlink:to="loc_us-gaap_CommitmentsAndContingencies_538cba3e-484a-40af-a679-e3b626c75222" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3a77f5cd-8aed-465c-a2c8-84c0455ccdb0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_5d6c7cbe-304c-4e5e-a240-871c92e23373" xlink:to="loc_us-gaap_StockholdersEquity_3a77f5cd-8aed-465c-a2c8-84c0455ccdb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" 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_97a8f905-17d4-49e7-bfb5-aeb2d702bf99" 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_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_us-gaap_AccountsPayableCurrent_97a8f905-17d4-49e7-bfb5-aeb2d702bf99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_8fff9fc6-5387-4ff1-b742-c31e9a3253aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_us-gaap_LongTermDebtCurrent_8fff9fc6-5387-4ff1-b742-c31e9a3253aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_feba1dbd-1441-4a42-ba7b-0ade81c8c6da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_feba1dbd-1441-4a42-ba7b-0ade81c8c6da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CommodityExchangesAndImbalancesLiabilitiesCurrent_77f4f148-edb4-4492-b77b-7c43457180ae" xlink:href="oke-20230930.xsd#oke_CommodityExchangesAndImbalancesLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_oke_CommodityExchangesAndImbalancesLiabilitiesCurrent_77f4f148-edb4-4492-b77b-7c43457180ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_79e64629-aa20-4c30-adc6-faa55a56742a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_us-gaap_InterestPayableCurrent_79e64629-aa20-4c30-adc6-faa55a56742a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_4d22abec-6eab-4170-a717-0d228da855ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_4d22abec-6eab-4170-a717-0d228da855ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxes_86fb5686-ed9b-4158-bcb9-99d0e1d0eff9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxes"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2840e7c9-d4b0-4410-b215-698f26f76832" xlink:to="loc_us-gaap_AccruedIncomeTaxes_86fb5686-ed9b-4158-bcb9-99d0e1d0eff9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_bf9f7c74-48f6-4e75-9608-4fcf7de4af1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsAndOtherNoncurrentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ff4affda-c63d-4ddf-affd-cb13fccac2db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_bf9f7c74-48f6-4e75-9608-4fcf7de4af1e" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ff4affda-c63d-4ddf-affd-cb13fccac2db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_260c0cb2-7dad-47ee-b47a-1c6c0d7bc68b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_bf9f7c74-48f6-4e75-9608-4fcf7de4af1e" xlink:to="loc_us-gaap_EquityMethodInvestments_260c0cb2-7dad-47ee-b47a-1c6c0d7bc68b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_cb506fa5-8832-492a-be7b-905f04a1a262" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_bf9f7c74-48f6-4e75-9608-4fcf7de4af1e" xlink:to="loc_us-gaap_Goodwill_cb506fa5-8832-492a-be7b-905f04a1a262" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_5e3589b6-fc14-440f-9de4-9af52cee46f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsAndOtherNoncurrentAssets_bf9f7c74-48f6-4e75-9608-4fcf7de4af1e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_5e3589b6-fc14-440f-9de4-9af52cee46f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" 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_CashAndCashEquivalentsAtCarryingValue_a3853334-3fa9-4ff5-bd5d-e348f9632389" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a3853334-3fa9-4ff5-bd5d-e348f9632389" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_ca7f640e-9ec3-4dcc-96b8-d2764243b3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivablesNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" xlink:to="loc_us-gaap_ReceivablesNetCurrent_ca7f640e-9ec3-4dcc-96b8-d2764243b3d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_3af1795d-36ce-4a8d-b7af-bc53b52483f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" xlink:to="loc_us-gaap_InventoryNet_3af1795d-36ce-4a8d-b7af-bc53b52483f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CommodityExchangesAndImbalances_93e84cbd-8960-4aa6-aa58-e67a20077631" xlink:href="oke-20230930.xsd#oke_CommodityExchangesAndImbalances"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" xlink:to="loc_oke_CommodityExchangesAndImbalances_93e84cbd-8960-4aa6-aa58-e67a20077631" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialsSuppliesAndOther_e7ba5cc1-ac38-46e6-990c-1e8caa0b6bed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MaterialsSuppliesAndOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" xlink:to="loc_us-gaap_MaterialsSuppliesAndOther_e7ba5cc1-ac38-46e6-990c-1e8caa0b6bed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_b25759ef-9d34-4991-90eb-7123fb9724d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9a947b72-aece-40ff-914e-9836ca20227d" xlink:to="loc_us-gaap_OtherAssetsCurrent_b25759ef-9d34-4991-90eb-7123fb9724d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_8591828e-ddaf-4ed4-99dd-a435dccbf401" 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_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c03ffac7-14c1-44fc-b164-f35486dbd393" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_8591828e-ddaf-4ed4-99dd-a435dccbf401" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c03ffac7-14c1-44fc-b164-f35486dbd393" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_cf6aa52c-8797-4774-b590-97126f8a44d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_8591828e-ddaf-4ed4-99dd-a435dccbf401" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_cf6aa52c-8797-4774-b590-97126f8a44d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_abff10c1-8acf-4a20-b05e-a39fb4f1d6bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_797e149e-2b70-4eb9-80b6-4c55acf82153" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_abff10c1-8acf-4a20-b05e-a39fb4f1d6bd" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_797e149e-2b70-4eb9-80b6-4c55acf82153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b3d36d84-8790-4f14-a223-4e2144b074ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_abff10c1-8acf-4a20-b05e-a39fb4f1d6bd" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b3d36d84-8790-4f14-a223-4e2144b074ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_ce59d9f3-bd9c-42ca-8c27-0c787f18f3e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_abff10c1-8acf-4a20-b05e-a39fb4f1d6bd" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_ce59d9f3-bd9c-42ca-8c27-0c787f18f3e2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="oke-20230930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" 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_IncreaseDecreaseInReceivables_bfca3c10-4ede-4748-bb0d-b92c7964ad35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_bfca3c10-4ede-4748-bb0d-b92c7964ad35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a07e2e6b-4e92-4281-9803-6b68c4cf6429" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_ProfitLoss_a07e2e6b-4e92-4281-9803-6b68c4cf6429" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_f102e0e2-fb74-48e3-994d-0a52ff0b468d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_f102e0e2-fb74-48e3-994d-0a52ff0b468d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f8903b08-ae11-4619-91cf-d1b583cc0b16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f8903b08-ae11-4619-91cf-d1b583cc0b16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_6b050709-3896-4d6c-8af1-19edfa01a596" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_6b050709-3896-4d6c-8af1-19edfa01a596" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_641d5e67-6fd9-457d-b1f2-b39fbf6c1c17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_641d5e67-6fd9-457d-b1f2-b39fbf6c1c17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_0eb62a92-5adb-4c7b-a5b8-a18eb0d29bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_0eb62a92-5adb-4c7b-a5b8-a18eb0d29bb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_6cdf5c6d-4bf6-43d5-a0ab-1b423f407493" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_6cdf5c6d-4bf6-43d5-a0ab-1b423f407493" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainOnBusinessInterruptionInsuranceRecovery_b92df123-8d3e-4d40-80e7-6266a28a5c91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainOnBusinessInterruptionInsuranceRecovery"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_GainOnBusinessInterruptionInsuranceRecovery_b92df123-8d3e-4d40-80e7-6266a28a5c91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_e16ecb83-d5c4-4dc6-bf32-3b3f64692bf1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_e16ecb83-d5c4-4dc6-bf32-3b3f64692bf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_24ebf876-959f-4c03-ab1b-66e481882701" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_24ebf876-959f-4c03-ab1b-66e481882701" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromInsuranceSettlementOperatingActivities_07460493-111e-4bf8-99f3-cb5fd8fc2ad8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromInsuranceSettlementOperatingActivities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_15d5e44f-4884-4d50-9df2-77247dc6ca72" xlink:to="loc_us-gaap_ProceedsFromInsuranceSettlementOperatingActivities_07460493-111e-4bf8-99f3-cb5fd8fc2ad8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" 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_ProceedsFromInsuranceSettlementInvestingActivities_59c661d2-ce3a-476d-aedd-7842ee8744a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromInsuranceSettlementInvestingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" xlink:to="loc_us-gaap_ProceedsFromInsuranceSettlementInvestingActivities_59c661d2-ce3a-476d-aedd-7842ee8744a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_f6e6bf00-ab5e-479c-a8ed-b9a93339daa2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_f6e6bf00-ab5e-479c-a8ed-b9a93339daa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_5b72de3a-11ed-4e47-84d8-b4c725cc9c34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_5b72de3a-11ed-4e47-84d8-b4c725cc9c34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_594d1426-c81d-4158-8b4b-10447a6050ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_594d1426-c81d-4158-8b4b-10447a6050ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_1be8ecf7-01b0-4872-858a-6cd981fce366" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_1be8ecf7-01b0-4872-858a-6cd981fce366" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_db7c0689-c892-4d27-9679-63eb14487165" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_993a8f9f-7ff8-44f8-9a57-f64727b189a8" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_db7c0689-c892-4d27-9679-63eb14487165" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_905cfe91-6a64-46b5-aa33-d6ec3285abf0" 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_a69b9cf0-5fc3-4d02-a24d-b77311fc5574" 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_905cfe91-6a64-46b5-aa33-d6ec3285abf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a69b9cf0-5fc3-4d02-a24d-b77311fc5574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b087fda0-8de2-41a6-aac4-4d24301f5f64" 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_905cfe91-6a64-46b5-aa33-d6ec3285abf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b087fda0-8de2-41a6-aac4-4d24301f5f64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a9ae1da1-953a-4d34-8843-73e3124b8369" 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_905cfe91-6a64-46b5-aa33-d6ec3285abf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a9ae1da1-953a-4d34-8843-73e3124b8369" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2668dff-eb5e-450f-b0a3-773c991f3b53" 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_da850e14-6f34-431d-8696-93192c351345" 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_e2668dff-eb5e-450f-b0a3-773c991f3b53" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_da850e14-6f34-431d-8696-93192c351345" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_bb112f9e-1fa1-4465-845f-1a6b09dc5406" 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_e2668dff-eb5e-450f-b0a3-773c991f3b53" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_bb112f9e-1fa1-4465-845f-1a6b09dc5406" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0f24d531-979d-418d-acdd-432781f1f72d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2668dff-eb5e-450f-b0a3-773c991f3b53" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0f24d531-979d-418d-acdd-432781f1f72d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_4877a9b3-d68c-4824-91de-9db53bc283dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2668dff-eb5e-450f-b0a3-773c991f3b53" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_4877a9b3-d68c-4824-91de-9db53bc283dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_9541b6c0-5b48-4c76-92c9-decfa7801ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2668dff-eb5e-450f-b0a3-773c991f3b53" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_9541b6c0-5b48-4c76-92c9-decfa7801ae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_b3e393ee-b2f7-4d05-af50-908680cbd03c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2668dff-eb5e-450f-b0a3-773c991f3b53" xlink:to="loc_us-gaap_PaymentsOfDividends_b3e393ee-b2f7-4d05-af50-908680cbd03c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/MAGELLANACQUISITIONAcquisitionConsiderationDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#MAGELLANACQUISITIONAcquisitionConsiderationDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/MAGELLANACQUISITIONAcquisitionConsiderationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_391b19ab-0a4b-4772-9ca5-61b58c9f806f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_c21dcf74-9b32-49c7-9c65-d0bdb3a2c3eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_391b19ab-0a4b-4772-9ca5-61b58c9f806f" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_c21dcf74-9b32-49c7-9c65-d0bdb3a2c3eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_850c9a38-3afb-49d5-b99c-441c3961028b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_391b19ab-0a4b-4772-9ca5-61b58c9f806f" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_850c9a38-3afb-49d5-b99c-441c3961028b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/MAGELLANACQUISITIONAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#MAGELLANACQUISITIONAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/MAGELLANACQUISITIONAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_f3c34bd7-5517-4864-b9eb-5b8ed4d31d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_ae3347bd-6d27-4618-a6f7-fc05868bbaa3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_f3c34bd7-5517-4864-b9eb-5b8ed4d31d5d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_ae3347bd-6d27-4618-a6f7-fc05868bbaa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherDeferredCreditsAndLiabilities_db431f09-394d-4b44-b429-ba203b5374e0" xlink:href="oke-20230930.xsd#oke_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherDeferredCreditsAndLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_f3c34bd7-5517-4864-b9eb-5b8ed4d31d5d" xlink:to="loc_oke_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherDeferredCreditsAndLiabilities_db431f09-394d-4b44-b429-ba203b5374e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_3c8b5afe-cdd0-4f26-aaf6-b7ab0edb1104" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_f3c34bd7-5517-4864-b9eb-5b8ed4d31d5d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_3c8b5afe-cdd0-4f26-aaf6-b7ab0edb1104" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_eec4d791-961d-4d53-90ac-555279e113cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_f3c34bd7-5517-4864-b9eb-5b8ed4d31d5d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_eec4d791-961d-4d53-90ac-555279e113cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_54a7a011-fc77-4ff4-8761-7f83ba169dea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_fbfcfaac-7935-46aa-aa82-6476fe6b633d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_54a7a011-fc77-4ff4-8761-7f83ba169dea" xlink:to="loc_us-gaap_Goodwill_fbfcfaac-7935-46aa-aa82-6476fe6b633d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_9809d3df-db87-49f5-846b-a52f1cc303f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_54a7a011-fc77-4ff4-8761-7f83ba169dea" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_9809d3df-db87-49f5-846b-a52f1cc303f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_90f021ff-5727-4797-98eb-458b905937a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_837c97c5-4f82-44ed-9d67-e2be4c803ee8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_90f021ff-5727-4797-98eb-458b905937a2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_837c97c5-4f82-44ed-9d67-e2be4c803ee8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_7b416a03-3c91-400d-b57b-57c4f4bde122" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_90f021ff-5727-4797-98eb-458b905937a2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_7b416a03-3c91-400d-b57b-57c4f4bde122" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_c4ad41eb-45d6-4356-a93b-10bd5bf44951" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_c4ad41eb-45d6-4356-a93b-10bd5bf44951" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_84d766fd-667c-4eeb-9174-4a5da6661442" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_84d766fd-667c-4eeb-9174-4a5da6661442" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_9e9fc9e7-da02-4a32-8bff-b04bbcb261b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_9e9fc9e7-da02-4a32-8bff-b04bbcb261b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_c7178306-3afb-48b4-9661-36bc610a6673" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_c7178306-3afb-48b4-9661-36bc610a6673" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInvestmentsInUnconsolidatedAffiliates_d51f2bf0-490a-4084-92a1-9601a7b83b6a" xlink:href="oke-20230930.xsd#oke_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInvestmentsInUnconsolidatedAffiliates"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_oke_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInvestmentsInUnconsolidatedAffiliates_d51f2bf0-490a-4084-92a1-9601a7b83b6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_426e400d-2e5d-4225-8432-f94ed7421158" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_426e400d-2e5d-4225-8432-f94ed7421158" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_84fac362-2aae-4647-9bf7-1f2f2004f24a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_84fac362-2aae-4647-9bf7-1f2f2004f24a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_c65083f8-fc56-4fc4-afe9-e6a91629f6b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_996d7a2c-0579-422d-b4bb-cd78c5a9124a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_c65083f8-fc56-4fc4-afe9-e6a91629f6b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/MAGELLANACQUISITIONGoodwillRelatedToAcquisitionDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#MAGELLANACQUISITIONGoodwillRelatedToAcquisitionDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/MAGELLANACQUISITIONGoodwillRelatedToAcquisitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_3af50b82-520c-4b90-b37c-edc4acf80be6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_19f6ed48-ab34-4712-8235-51077916a764" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Goodwill_3af50b82-520c-4b90-b37c-edc4acf80be6" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_19f6ed48-ab34-4712-8235-51077916a764" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillGross_5c0fcb93-4994-43ca-a958-588724cba0a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Goodwill_3af50b82-520c-4b90-b37c-edc4acf80be6" xlink:to="loc_us-gaap_GoodwillGross_5c0fcb93-4994-43ca-a958-588724cba0a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/MAGELLANACQUISITIONAcquisitionRelatedTransactionCostsDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#MAGELLANACQUISITIONAcquisitionRelatedTransactionCostsDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/MAGELLANACQUISITIONAcquisitionRelatedTransactionCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_11c175c9-f4ca-4ff3-8d0e-7765210e1abf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_c6b4f1d6-83b6-43bf-b1d1-8b08c6e62224" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_11c175c9-f4ca-4ff3-8d0e-7765210e1abf" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_c6b4f1d6-83b6-43bf-b1d1-8b08c6e62224" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ebc21ee7-a3da-4386-a68a-9d892a09bf4d" 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_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_11c175c9-f4ca-4ff3-8d0e-7765210e1abf" xlink:to="loc_us-gaap_InterestExpense_ebc21ee7-a3da-4386-a68a-9d892a09bf4d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/FAIRVALUEMEASUREMENTSRecurringFairValueMeasurementsDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#FAIRVALUEMEASUREMENTSRecurringFairValueMeasurementsDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/FAIRVALUEMEASUREMENTSRecurringFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_4facfee4-a7a5-47ad-b55d-3884bcd9aa28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_924c3730-3689-4a11-a344-4131ba6a965b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_4facfee4-a7a5-47ad-b55d-3884bcd9aa28" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_924c3730-3689-4a11-a344-4131ba6a965b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_06053d2b-6bc4-4517-97e4-78c5e24bc059" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_4facfee4-a7a5-47ad-b55d-3884bcd9aa28" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_06053d2b-6bc4-4517-97e4-78c5e24bc059" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_65ce211d-1d61-4f61-ba2e-37b68487030e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_3382fcc6-32d5-45b3-91ce-bb2d4e2c616b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_65ce211d-1d61-4f61-ba2e-37b68487030e" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_3382fcc6-32d5-45b3-91ce-bb2d4e2c616b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_c97d21c5-4cb6-46af-8d6f-0eed56a18b91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_65ce211d-1d61-4f61-ba2e-37b68487030e" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_c97d21c5-4cb6-46af-8d6f-0eed56a18b91" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSAOCIRepresentingUnrealizedGainsLossRelatedtoRiskManagementDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#ACCUMULATEDOTHERCOMPREHENSIVELOSSAOCIRepresentingUnrealizedGainsLossRelatedtoRiskManagementDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSAOCIRepresentingUnrealizedGainsLossRelatedtoRiskManagementDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps._ac1e625a-1d82-486c-b20b-80cd0ae15741" xlink:href="oke-20230930.xsd#oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps."/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_UnrealizedGainLossOnCashFlowHedgesNetOfTaxAccumulatedOtherComprehensiveIncomeLoss_9dd91fb6-0bce-4440-ba2f-3682c947fb84" xlink:href="oke-20230930.xsd#oke_UnrealizedGainLossOnCashFlowHedgesNetOfTaxAccumulatedOtherComprehensiveIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps._ac1e625a-1d82-486c-b20b-80cd0ae15741" xlink:to="loc_oke_UnrealizedGainLossOnCashFlowHedgesNetOfTaxAccumulatedOtherComprehensiveIncomeLoss_9dd91fb6-0bce-4440-ba2f-3682c947fb84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_AmountOfAccumulatedOtherComprehensiveIncomeLossAttributablePrimarilyToSettledInterestRateSwaps_ca67f035-ca7f-4c29-b299-82b06d9d9dd4" xlink:href="oke-20230930.xsd#oke_AmountOfAccumulatedOtherComprehensiveIncomeLossAttributablePrimarilyToSettledInterestRateSwaps"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps._ac1e625a-1d82-486c-b20b-80cd0ae15741" xlink:to="loc_oke_AmountOfAccumulatedOtherComprehensiveIncomeLossAttributablePrimarilyToSettledInterestRateSwaps_ca67f035-ca7f-4c29-b299-82b06d9d9dd4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.oneok.com/role/EARNINGSPERSHAREDetails" xlink:type="simple" xlink:href="oke-20230930.xsd#EARNINGSPERSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.oneok.com/role/EARNINGSPERSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f4dd86c7-684c-4cd9-b54c-3b298c53b537" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_943ffab9-01ad-4beb-a918-ae0872dc5d24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f4dd86c7-684c-4cd9-b54c-3b298c53b537" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_943ffab9-01ad-4beb-a918-ae0872dc5d24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_2fe7cc37-5a6b-44c6-89d5-c89632734102" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f4dd86c7-684c-4cd9-b54c-3b298c53b537" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_2fe7cc37-5a6b-44c6-89d5-c89632734102" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a65add39-779b-4188-ab01-96b5f6b3c415" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_57dda2f8-3902-4929-96c3-695bfdd5d442" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a65add39-779b-4188-ab01-96b5f6b3c415" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_57dda2f8-3902-4929-96c3-695bfdd5d442" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecurities_dbad6263-9be6-4251-adfd-e3f18c166831" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DilutiveSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a65add39-779b-4188-ab01-96b5f6b3c415" xlink:to="loc_us-gaap_DilutiveSecurities_dbad6263-9be6-4251-adfd-e3f18c166831" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
