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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:16715cbd-7ff0-4580-8d2f-23710831d445,g:9ea2da2b-baf8-4eaa-abe7-219714048964-->
<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.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="sre-20240630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a82e9441-d0e0-46cf-b896-1d3f9d927bac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1d6afc37-2caa-49d6-9ce1-6962790c8d26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_a82e9441-d0e0-46cf-b896-1d3f9d927bac" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1d6afc37-2caa-49d6-9ce1-6962790c8d26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_98211141-7794-46d3-bd02-112553467c16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a82e9441-d0e0-46cf-b896-1d3f9d927bac" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_98211141-7794-46d3-bd02-112553467c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_41c50094-44cb-4ba4-b7f3-24cdab69281b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ProfitLoss_a82e9441-d0e0-46cf-b896-1d3f9d927bac" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_41c50094-44cb-4ba4-b7f3-24cdab69281b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_9e63eda5-6625-44de-9a67-db7a01957267" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_c9ba8a16-409f-4ce8-bb48-7184e5329713" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9e63eda5-6625-44de-9a67-db7a01957267" xlink:to="loc_us-gaap_ProfitLoss_c9ba8a16-409f-4ce8-bb48-7184e5329713" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_778b306f-e42c-4d30-aa59-9d1c30e2e4cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9e63eda5-6625-44de-9a67-db7a01957267" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_778b306f-e42c-4d30-aa59-9d1c30e2e4cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_15104afe-9aa5-41da-9264-ef21b609230c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_9e63eda5-6625-44de-9a67-db7a01957267" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_15104afe-9aa5-41da-9264-ef21b609230c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPreferredStockDividendsAndAdjustments_3d46b011-250a-4536-b136-485f0e8d7979" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPreferredStockDividendsAndAdjustments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_9e63eda5-6625-44de-9a67-db7a01957267" xlink:to="loc_us-gaap_OtherPreferredStockDividendsAndAdjustments_3d46b011-250a-4536-b136-485f0e8d7979" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_8e7bb0f3-b362-4862-ae73-3dfeff01956a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenueGas_15b4b3a8-f648-4ff8-8d59-27aa54b75efa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedOperatingRevenueGas"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_8e7bb0f3-b362-4862-ae73-3dfeff01956a" xlink:to="loc_us-gaap_RegulatedOperatingRevenueGas_15b4b3a8-f648-4ff8-8d59-27aa54b75efa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenueElectricNonNuclear_99ae5dbf-1225-41d9-9ff5-50567f99ecd3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedOperatingRevenueElectricNonNuclear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_8e7bb0f3-b362-4862-ae73-3dfeff01956a" xlink:to="loc_us-gaap_RegulatedOperatingRevenueElectricNonNuclear_99ae5dbf-1225-41d9-9ff5-50567f99ecd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnregulatedOperatingRevenue_c5806656-e36d-4b9c-9790-f603689db33c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnregulatedOperatingRevenue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_8e7bb0f3-b362-4862-ae73-3dfeff01956a" xlink:to="loc_us-gaap_UnregulatedOperatingRevenue_c5806656-e36d-4b9c-9790-f603689db33c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_29123f74-be7b-4d4e-a644-5e844eccb859" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_InvestmentIncomeInterest_29123f74-be7b-4d4e-a644-5e844eccb859" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_edf8171e-b1ad-40f4-a34e-957096f0aec1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_InterestExpense_edf8171e-b1ad-40f4-a34e-957096f0aec1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_1bef02f2-1f50-452b-b307-0481c82777c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_1bef02f2-1f50-452b-b307-0481c82777c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_c1a7f930-c764-4b86-9a29-d590a6b2ef86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_c1a7f930-c764-4b86-9a29-d590a6b2ef86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_e08dd458-2add-4623-b52b-2d594cb9d645" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_e08dd458-2add-4623-b52b-2d594cb9d645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_aea56365-c552-4ca6-90d9-11603749927f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_DepreciationAndAmortization_aea56365-c552-4ca6-90d9-11603749927f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesOther_ce1307e8-3934-4dcd-b849-862e4b30077a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TaxesOther"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_TaxesOther_ce1307e8-3934-4dcd-b849-862e4b30077a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_82c89fee-2377-4ba0-b2dd-16cefbba3770" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_82c89fee-2377-4ba0-b2dd-16cefbba3770" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_62abc802-f2a5-42eb-a7d3-aa2af00a915f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_8e78ed78-5d36-4815-9e27-1bcc1dfc77b3" xlink:to="loc_us-gaap_OperatingIncomeLoss_62abc802-f2a5-42eb-a7d3-aa2af00a915f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="sre-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_c14a69ce-0ba2-4832-82ac-83ee55ba1a66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_5834566a-18a8-428f-bbe4-82c36aa26796" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_c14a69ce-0ba2-4832-82ac-83ee55ba1a66" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_5834566a-18a8-428f-bbe4-82c36aa26796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_22caece1-b927-4e26-b425-ffa025ae83a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_c14a69ce-0ba2-4832-82ac-83ee55ba1a66" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_22caece1-b927-4e26-b425-ffa025ae83a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_69284ab4-60e7-43f6-a7b8-6ed2e70a4d7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_10c275fe-e475-4a15-9d36-44f8e0f8c056" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_69284ab4-60e7-43f6-a7b8-6ed2e70a4d7d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_10c275fe-e475-4a15-9d36-44f8e0f8c056" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_074acdfe-a9a0-4eb6-89c4-4242a83b7f95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_69284ab4-60e7-43f6-a7b8-6ed2e70a4d7d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_074acdfe-a9a0-4eb6-89c4-4242a83b7f95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_7ce7137f-800a-40f8-aab6-48dea4d7e592" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToParent_77dd756b-9ce0-4826-a310-84d92c766103" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_7ce7137f-800a-40f8-aab6-48dea4d7e592" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToParent_77dd756b-9ce0-4826-a310-84d92c766103" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToParent_9884dea5-f402-4f6a-9044-88437f0aa0df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_7ce7137f-800a-40f8-aab6-48dea4d7e592" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToParent_9884dea5-f402-4f6a-9044-88437f0aa0df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_76a50f9d-bc67-40f0-8d49-7d31b09060bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_ec0e7ac8-f081-4198-a0e1-a094f3ebee2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_76a50f9d-bc67-40f0-8d49-7d31b09060bf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_ec0e7ac8-f081-4198-a0e1-a094f3ebee2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_583a670c-07d2-44a7-996c-782d9b730739" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_76a50f9d-bc67-40f0-8d49-7d31b09060bf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_583a670c-07d2-44a7-996c-782d9b730739" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_db316575-a3d9-4b00-8078-f9ce6768fad5" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_81404a8f-43c7-4230-9c7d-5705501cda85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_db316575-a3d9-4b00-8078-f9ce6768fad5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_81404a8f-43c7-4230-9c7d-5705501cda85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_b0ca33df-9736-4223-808f-8b5cd675247b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_db316575-a3d9-4b00-8078-f9ce6768fad5" xlink:to="loc_us-gaap_ProfitLoss_b0ca33df-9736-4223-808f-8b5cd675247b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_bc45c1b4-0971-4871-8c4c-f00f47d01703" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_9a3b331f-8e19-410b-8c72-f979bc070db7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_bc45c1b4-0971-4871-8c4c-f00f47d01703" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_9a3b331f-8e19-410b-8c72-f979bc070db7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_687b81da-fcde-4a4e-a622-3f6cce90a7ed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_bc45c1b4-0971-4871-8c4c-f00f47d01703" xlink:to="loc_us-gaap_IncomeLossAttributableToParent_687b81da-fcde-4a4e-a622-3f6cce90a7ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d959081f-b708-41ed-9bc1-f2d6558f49f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a7d6a53b-e062-43ef-ad82-cff7297742b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_d959081f-b708-41ed-9bc1-f2d6558f49f3" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_a7d6a53b-e062-43ef-ad82-cff7297742b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_216d7466-e0a5-456b-8ea1-617f8880723c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d959081f-b708-41ed-9bc1-f2d6558f49f3" xlink:to="loc_us-gaap_IncomeLossAttributableToParent_216d7466-e0a5-456b-8ea1-617f8880723c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_d179f2f0-6fa9-41b7-9f73-afb3342d35cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToNoncontrollingInterests_a8e6bc66-05aa-451c-a5f6-085d6b450f01" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_d179f2f0-6fa9-41b7-9f73-afb3342d35cd" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToNoncontrollingInterests_a8e6bc66-05aa-451c-a5f6-085d6b450f01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_0208b267-1196-4510-b090-d82ce177c9e8" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_d179f2f0-6fa9-41b7-9f73-afb3342d35cd" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_0208b267-1196-4510-b090-d82ce177c9e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossTaxAttributableToParent_2b63a81a-3ead-46a4-96fe-4ace9e2ad624" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_a4096abe-1dd0-44ea-96cb-1b3baa4295bf" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossTaxAttributableToParent_2b63a81a-3ead-46a4-96fe-4ace9e2ad624" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_a4096abe-1dd0-44ea-96cb-1b3baa4295bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesTaxAttributableToParent_246b620b-b36d-40d0-b5b3-b20ecc9e25fc" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossTaxAttributableToParent_2b63a81a-3ead-46a4-96fe-4ace9e2ad624" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesTaxAttributableToParent_246b620b-b36d-40d0-b5b3-b20ecc9e25fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_40c23455-7e97-41b7-b66a-2129f9630fb2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_8fa5b5e9-678d-4271-8492-868c479ff5be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_40c23455-7e97-41b7-b66a-2129f9630fb2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_8fa5b5e9-678d-4271-8492-868c479ff5be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToParent_12f138d2-a55a-4b2a-8774-258c86a48b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_40c23455-7e97-41b7-b66a-2129f9630fb2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToParent_12f138d2-a55a-4b2a-8774-258c86a48b5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_3800cd8c-c30f-4550-9237-7ba5474faf43" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_40c23455-7e97-41b7-b66a-2129f9630fb2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_3800cd8c-c30f-4550-9237-7ba5474faf43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_16f189ce-9781-4a46-972e-226dd06c2174" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_383271e5-a6f6-4894-a058-9007f740f370" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_16f189ce-9781-4a46-972e-226dd06c2174" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_383271e5-a6f6-4894-a058-9007f740f370" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_e5117a93-69e2-4043-9033-d145e4115190" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_16f189ce-9781-4a46-972e-226dd06c2174" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_e5117a93-69e2-4043-9033-d145e4115190" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_81adf54e-7ae2-46de-9f9d-30f3b81cedfb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_300e6a27-c51b-4acb-9e3f-b4cbd5dc4392" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_81adf54e-7ae2-46de-9f9d-30f3b81cedfb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_300e6a27-c51b-4acb-9e3f-b4cbd5dc4392" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_3ab1b62b-a671-4f3a-8c5d-244cdb136e29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_81adf54e-7ae2-46de-9f9d-30f3b81cedfb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_3ab1b62b-a671-4f3a-8c5d-244cdb136e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_59a52630-4dda-47f7-8777-e25c5f57b46f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_81adf54e-7ae2-46de-9f9d-30f3b81cedfb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_59a52630-4dda-47f7-8777-e25c5f57b46f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_9b0c32b5-c428-4d8d-849c-9b61c8a1d626" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2450d903-2198-4885-9857-729c0d3cf16c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_9b0c32b5-c428-4d8d-849c-9b61c8a1d626" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2450d903-2198-4885-9857-729c0d3cf16c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_be5f90d8-74f0-41d1-ad54-3a3b4c300443" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_9b0c32b5-c428-4d8d-849c-9b61c8a1d626" xlink:to="loc_us-gaap_NetIncomeLoss_be5f90d8-74f0-41d1-ad54-3a3b4c300443" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_b91e9417-2745-4430-adb3-82f5e5e73987" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_4ddddbb9-927e-4efb-8adb-7fd7ef63f973" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_b91e9417-2745-4430-adb3-82f5e5e73987" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_4ddddbb9-927e-4efb-8adb-7fd7ef63f973" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_33ce49d1-80c4-4735-87e1-12a9d982c43a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_b91e9417-2745-4430-adb3-82f5e5e73987" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_33ce49d1-80c4-4735-87e1-12a9d982c43a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_dbf57e68-cca8-4f3f-950f-3b7924cee8b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_b25676be-5e11-4ca4-81bc-85eaeb3723ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_dbf57e68-cca8-4f3f-950f-3b7924cee8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_b25676be-5e11-4ca4-81bc-85eaeb3723ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest_d41f49d4-8a4b-43ce-8a8e-a949902d7bba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_dbf57e68-cca8-4f3f-950f-3b7924cee8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest_d41f49d4-8a4b-43ce-8a8e-a949902d7bba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_2d31638e-a465-459e-a682-3f24677519d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest_dbf57e68-cca8-4f3f-950f-3b7924cee8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_2d31638e-a465-459e-a682-3f24677519d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_d407226d-645b-444e-96ab-0ab8ce103e21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_29d17987-77e8-4b1c-8769-649d00b91872" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_d407226d-645b-444e-96ab-0ab8ce103e21" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_29d17987-77e8-4b1c-8769-649d00b91872" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_f7eb10f4-c65a-4e27-8cf3-dc117c6154a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_d407226d-645b-444e-96ab-0ab8ce103e21" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_f7eb10f4-c65a-4e27-8cf3-dc117c6154a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_189318f9-7d84-4cd2-a59c-ab8a8d4b2ef4" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesTaxAttributableToParent_308c7898-1e9b-4b5c-9137-9cb5d5b0eaa8" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_189318f9-7d84-4cd2-a59c-ab8a8d4b2ef4" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesTaxAttributableToParent_308c7898-1e9b-4b5c-9137-9cb5d5b0eaa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesBeforeTaxAttributableToParent_df2b51a1-f1e7-4da0-94a8-25f9ecedcf75" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesBeforeTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_189318f9-7d84-4cd2-a59c-ab8a8d4b2ef4" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesBeforeTaxAttributableToParent_df2b51a1-f1e7-4da0-94a8-25f9ecedcf75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent_3f1b53d3-63c8-4bbc-8f57-0db8b1b6216a" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesBeforeTaxAttributableToParent_9dcdf51b-c655-40a4-8074-8b639c588404" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent_3f1b53d3-63c8-4bbc-8f57-0db8b1b6216a" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesBeforeTaxAttributableToParent_9dcdf51b-c655-40a4-8074-8b639c588404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_2304f9ec-45df-4568-b361-e13eac7905fe" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent_3f1b53d3-63c8-4bbc-8f57-0db8b1b6216a" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_2304f9ec-45df-4568-b361-e13eac7905fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidbySubsidiaries_bdcacd95-0daf-4797-ae4c-a1619ed1915c" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidbySubsidiaries"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToNoncontrollingInterests_8fa9a50f-5be5-4ce2-b20a-b128abbd226d" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_PreferredDividendsPaidbySubsidiaries_bdcacd95-0daf-4797-ae4c-a1619ed1915c" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToNoncontrollingInterests_8fa9a50f-5be5-4ce2-b20a-b128abbd226d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_cb119926-e9a7-4a90-89d2-c9ce5887a86e" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_PreferredDividendsPaidbySubsidiaries_bdcacd95-0daf-4797-ae4c-a1619ed1915c" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_cb119926-e9a7-4a90-89d2-c9ce5887a86e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_ea224964-7299-4f68-97d4-e1d7cbb49bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidbySubsidiaries_b0728d63-1c3c-45b0-9380-5ada4acdde46" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidbySubsidiaries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_ea224964-7299-4f68-97d4-e1d7cbb49bc2" xlink:to="loc_sre_PreferredDividendsPaidbySubsidiaries_b0728d63-1c3c-45b0-9380-5ada4acdde46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_34377f14-19b9-48a9-aa75-d517beaa90b5" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_ea224964-7299-4f68-97d4-e1d7cbb49bc2" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_34377f14-19b9-48a9-aa75-d517beaa90b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_63d96ca3-385c-4c74-96e9-c49e46db166d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_c2800230-689b-4e82-8c72-ef586351526e" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_63d96ca3-385c-4c74-96e9-c49e46db166d" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_c2800230-689b-4e82-8c72-ef586351526e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_488113d4-f0cd-4f06-99ec-cfc89cbcb5b6" xlink:href="sre-20240630.xsd#sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_63d96ca3-385c-4c74-96e9-c49e46db166d" xlink:to="loc_sre_PreferredDividendsPaidBySubsidiariesNetOfTaxAttributableToParent_488113d4-f0cd-4f06-99ec-cfc89cbcb5b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_166b658b-7956-447f-8e1c-03da0e305029" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToParent_68a538d6-5be0-47c7-8f6a-1516da1c2ae8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_166b658b-7956-447f-8e1c-03da0e305029" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToParent_68a538d6-5be0-47c7-8f6a-1516da1c2ae8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_9b14b250-b76e-4ae7-8e01-01302527059d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_166b658b-7956-447f-8e1c-03da0e305029" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxPortionAttributableToParent_9b14b250-b76e-4ae7-8e01-01302527059d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_d1aa5067-7c85-402b-9330-8f47fca2fc7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_166b658b-7956-447f-8e1c-03da0e305029" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_d1aa5067-7c85-402b-9330-8f47fca2fc7c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS_1" xlink:type="simple" xlink:href="sre-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS_1"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f67070aa-8ca4-420d-bd9b-f09b507a63a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_b4545b1c-ca78-40ab-b8c2-9460fb5dc13e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f67070aa-8ca4-420d-bd9b-f09b507a63a6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_b4545b1c-ca78-40ab-b8c2-9460fb5dc13e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_5744fa4f-b0ef-4929-a5f7-dfb013e6e401" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f67070aa-8ca4-420d-bd9b-f09b507a63a6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_5744fa4f-b0ef-4929-a5f7-dfb013e6e401" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_e3019833-b9ff-4c35-8ec2-b1ed2643f827" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f67070aa-8ca4-420d-bd9b-f09b507a63a6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_e3019833-b9ff-4c35-8ec2-b1ed2643f827" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e6ebb871-9bc4-4a9e-aa4f-0720969d1510" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_c034498f-881b-4daa-b8b3-39914f071bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetIncomeLoss_e6ebb871-9bc4-4a9e-aa4f-0720969d1510" xlink:to="loc_us-gaap_ProfitLoss_c034498f-881b-4daa-b8b3-39914f071bb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2b153e54-a9da-4867-86dc-5754f3dd7fb4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e6ebb871-9bc4-4a9e-aa4f-0720969d1510" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2b153e54-a9da-4867-86dc-5754f3dd7fb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_f572cb0d-ad3c-4be7-a84c-9d978b61f5c6" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_cdfaba4c-b92f-47d2-8864-78b8704ca04e" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_f572cb0d-ad3c-4be7-a84c-9d978b61f5c6" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsTaxAttributableToParent_cdfaba4c-b92f-47d2-8864-78b8704ca04e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_db3cc0b7-eae7-49a9-8adb-7a6e3e871960" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_f572cb0d-ad3c-4be7-a84c-9d978b61f5c6" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsBeforeTaxAttributableToParent_db3cc0b7-eae7-49a9-8adb-7a6e3e871960" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_acfdca72-6d65-4b0b-95a8-21301742acaf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_6a6ffd6b-beb6-4b5b-a55a-a63b05093ff9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_acfdca72-6d65-4b0b-95a8-21301742acaf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest_6a6ffd6b-beb6-4b5b-a55a-a63b05093ff9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_3fc82cbf-abf9-44ec-9f19-4e75927faa38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_acfdca72-6d65-4b0b-95a8-21301742acaf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_3fc82cbf-abf9-44ec-9f19-4e75927faa38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_079b2203-5f0a-46ff-a702-ce0c9f65d053" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest_ecb34580-3753-4a5a-8535-891246886c29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_079b2203-5f0a-46ff-a702-ce0c9f65d053" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest_ecb34580-3753-4a5a-8535-891246886c29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_b0096281-84af-4b8a-bd40-f9e7b0ff6bef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_079b2203-5f0a-46ff-a702-ce0c9f65d053" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_b0096281-84af-4b8a-bd40-f9e7b0ff6bef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_4fa06f7e-bfa5-4d7a-a130-5d1a8095fd7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_26909e1c-fd99-4184-b4f3-7dbbec08b90c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_4fa06f7e-bfa5-4d7a-a130-5d1a8095fd7d" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_26909e1c-fd99-4184-b4f3-7dbbec08b90c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_2b3525c7-77b2-44f5-9b1d-3f9fc2d1e49c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_4fa06f7e-bfa5-4d7a-a130-5d1a8095fd7d" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_2b3525c7-77b2-44f5-9b1d-3f9fc2d1e49c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS_2" xlink:type="simple" xlink:href="sre-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS_2"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS_2" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2ddf760c-fa2c-4c7a-809a-871204cfe8b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_dd027001-5dbf-4b09-858a-c0b295b9445a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2ddf760c-fa2c-4c7a-809a-871204cfe8b9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_dd027001-5dbf-4b09-858a-c0b295b9445a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_6734f384-dfdb-45db-81c8-3d10a3bd4c30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2ddf760c-fa2c-4c7a-809a-871204cfe8b9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_6734f384-dfdb-45db-81c8-3d10a3bd4c30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_a4c5fbb8-5a82-4d1d-b7ce-8d221a0b4fd6" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_8edca71c-c065-45bd-bb89-0cd0b1454112" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_a4c5fbb8-5a82-4d1d-b7ce-8d221a0b4fd6" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToNoncontrollingInterests_8edca71c-c065-45bd-bb89-0cd0b1454112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_3e12f54d-0136-430d-9cc4-01b5b9bfe0f0" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirementsNetOfTaxAttributableToParent_a4c5fbb8-5a82-4d1d-b7ce-8d221a0b4fd6" xlink:to="loc_sre_ComprehensiveIncomeLossBeforePreferredStockDividendRequirements_3e12f54d-0136-430d-9cc4-01b5b9bfe0f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_33ef9ce9-f963-45b4-9e44-0c6eddfe14e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent_b53f6d7d-4bd2-4886-a958-6cd9eed23c51" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_33ef9ce9-f963-45b4-9e44-0c6eddfe14e1" xlink:to="loc_sre_ComprehensiveIncomeLossBeforeTaxAttributableToParent_b53f6d7d-4bd2-4886-a958-6cd9eed23c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ComprehensiveIncomeLossTaxAttributableToParent_8fbcfb91-4f0a-442a-8b77-f9cd90d74c5e" xlink:href="sre-20240630.xsd#sre_ComprehensiveIncomeLossTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_33ef9ce9-f963-45b4-9e44-0c6eddfe14e1" xlink:to="loc_sre_ComprehensiveIncomeLossTaxAttributableToParent_8fbcfb91-4f0a-442a-8b77-f9cd90d74c5e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="sre-20240630.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b4d25c73-16fa-4570-965a-272c32ff48cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9c3597ed-6ffc-4b0c-a923-914b3c86f3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b4d25c73-16fa-4570-965a-272c32ff48cb" xlink:to="loc_us-gaap_StockholdersEquity_9c3597ed-6ffc-4b0c-a923-914b3c86f3c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_063d472d-541e-4ee1-95d7-7c49ea8a59f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestAmountRepresentedByPreferredStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b4d25c73-16fa-4570-965a-272c32ff48cb" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_063d472d-541e-4ee1-95d7-7c49ea8a59f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherMinorityInterests_b0afd836-54d6-4006-a5ab-7bb39d471b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherMinorityInterests"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b4d25c73-16fa-4570-965a-272c32ff48cb" xlink:to="loc_us-gaap_OtherMinorityInterests_b0afd836-54d6-4006-a5ab-7bb39d471b1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_98749a5f-f08a-4bab-a910-c1c3d9fd6cd3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_e7ffcb1a-a594-4a21-a0a9-59438acb9f38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_98749a5f-f08a-4bab-a910-c1c3d9fd6cd3" xlink:to="loc_us-gaap_CommitmentsAndContingencies_e7ffcb1a-a594-4a21-a0a9-59438acb9f38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_c2997b54-83d6-4211-aec7-0ac0cd9b91eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_98749a5f-f08a-4bab-a910-c1c3d9fd6cd3" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_c2997b54-83d6-4211-aec7-0ac0cd9b91eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_5005d701-6426-469e-9036-416747e99f92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_98749a5f-f08a-4bab-a910-c1c3d9fd6cd3" xlink:to="loc_us-gaap_LiabilitiesCurrent_5005d701-6426-469e-9036-416747e99f92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9142f7cc-0d21-4648-a778-cd19aa6fca08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_98749a5f-f08a-4bab-a910-c1c3d9fd6cd3" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9142f7cc-0d21-4648-a778-cd19aa6fca08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_65214717-6a03-4fe1-b0ba-1c09615ac78f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_98749a5f-f08a-4bab-a910-c1c3d9fd6cd3" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_65214717-6a03-4fe1-b0ba-1c09615ac78f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_445222af-c8f9-4730-85cb-f002953c0136" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_OtherAssetsCurrent_445222af-c8f9-4730-85cb-f002953c0136" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_1eade445-f8bb-4a88-a3c4-fdc3c227507b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_1eade445-f8bb-4a88-a3c4-fdc3c227507b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_5ecaacc7-f317-4512-b828-bc1e0feaa31f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_5ecaacc7-f317-4512-b828-bc1e0feaa31f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_2031c07b-66b6-4154-990f-a3202cc2bee9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxesReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_IncomeTaxesReceivable_2031c07b-66b6-4154-990f-a3202cc2bee9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_cad138ab-94e5-44a6-b9b5-278c7efaa62d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_cad138ab-94e5-44a6-b9b5-278c7efaa62d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_b6c6e39a-0f53-44ed-b6f1-0634221a53c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_b6c6e39a-0f53-44ed-b6f1-0634221a53c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_fda450db-31c6-4265-893c-4b789052960f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatoryAssetsCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_fda450db-31c6-4265-893c-4b789052960f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_e9c80aae-6f69-46e9-b4a3-5df51b1fd235" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_InventoryNet_e9c80aae-6f69-46e9-b4a3-5df51b1fd235" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasAllowancesCurrent_367ea3c5-36ee-4268-8c5e-688e18e7853f" xlink:href="sre-20240630.xsd#sre_GreenhouseGasAllowancesCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_sre_GreenhouseGasAllowancesCurrent_367ea3c5-36ee-4268-8c5e-688e18e7853f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedges_402b5efa-3d45-4ab8-8137-d9c54bdabef7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsAndHedges"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_DerivativeInstrumentsAndHedges_402b5efa-3d45-4ab8-8137-d9c54bdabef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_40db0c95-f178-4b43-aa5d-dafb5721dbad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_40db0c95-f178-4b43-aa5d-dafb5721dbad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_610b900e-6680-4511-b04e-ecc77c37c37a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsAndOtherReceivablesNetCurrent"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_6b09819c-b51a-4f4f-a73e-724d1553dd33" xlink:to="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_610b900e-6680-4511-b04e-ecc77c37c37a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_b91ccb09-e61c-4cbb-b6e6-f9f86a45b392" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_eb3e7896-103a-4289-8cd0-40e0b2111ba6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_b91ccb09-e61c-4cbb-b6e6-f9f86a45b392" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_eb3e7896-103a-4289-8cd0-40e0b2111ba6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_2c4304bc-90d7-477d-9988-97906edd9c0d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_b91ccb09-e61c-4cbb-b6e6-f9f86a45b392" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_2c4304bc-90d7-477d-9988-97906edd9c0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_80b42be9-3ed3-4c6e-9058-ed49c4b1737a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_f54765b6-03cd-48ce-8598-3a2bf366ae8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_80b42be9-3ed3-4c6e-9058-ed49c4b1737a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_f54765b6-03cd-48ce-8598-3a2bf366ae8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_f5b0e834-7955-43f7-88dc-c72864224b9b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_80b42be9-3ed3-4c6e-9058-ed49c4b1737a" xlink:to="loc_us-gaap_AssetsCurrent_f5b0e834-7955-43f7-88dc-c72864224b9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_TotalInvestmentsAndOtherAssets_23c745d6-9e87-421f-b773-22f3d2afc2b7" xlink:href="sre-20240630.xsd#sre_TotalInvestmentsAndOtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_80b42be9-3ed3-4c6e-9058-ed49c4b1737a" xlink:to="loc_sre_TotalInvestmentsAndOtherAssets_23c745d6-9e87-421f-b773-22f3d2afc2b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_825245aa-a7f3-457b-ac45-268fedd80974" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_da8fbcf2-038d-4d2e-a1db-1788ea7feaf7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_825245aa-a7f3-457b-ac45-268fedd80974" xlink:to="loc_us-gaap_PreferredStockValue_da8fbcf2-038d-4d2e-a1db-1788ea7feaf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_74cf5604-076d-4c25-b4f3-1e691cd3a318" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_825245aa-a7f3-457b-ac45-268fedd80974" xlink:to="loc_us-gaap_CommonStockValue_74cf5604-076d-4c25-b4f3-1e691cd3a318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_02fe9bf1-59fa-41c0-88b3-ba92ed4c081f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_825245aa-a7f3-457b-ac45-268fedd80974" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_02fe9bf1-59fa-41c0-88b3-ba92ed4c081f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_b8cf4718-0f31-49fe-8026-7b81c8a3fba5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_825245aa-a7f3-457b-ac45-268fedd80974" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_b8cf4718-0f31-49fe-8026-7b81c8a3fba5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_4828da05-a8ff-4bf4-a69e-412c80fb8801" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_4828da05-a8ff-4bf4-a69e-412c80fb8801" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_26d45993-a506-4186-81d2-4271f7bce820" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_26d45993-a506-4186-81d2-4271f7bce820" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_12391cb8-e9fb-4c7e-9827-34a33d52c855" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_12391cb8-e9fb-4c7e-9827-34a33d52c855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryLiabilityNoncurrent_a73f2afb-629c-4f74-8649-a0c65aa0602a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatoryLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_us-gaap_RegulatoryLiabilityNoncurrent_a73f2afb-629c-4f74-8649-a0c65aa0602a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_00d4eec5-c5b5-421d-b794-5da19a20f696" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_00d4eec5-c5b5-421d-b794-5da19a20f696" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasObligationsNoncurrent_471900f1-1af3-4829-b71e-a55eafb0f8db" xlink:href="sre-20240630.xsd#sre_GreenhouseGasObligationsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_sre_GreenhouseGasObligationsNoncurrent_471900f1-1af3-4829-b71e-a55eafb0f8db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilities_1aa51d16-300e-48c8-8257-b6d5dabb1886" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredCreditsAndOtherLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_9ff23c13-c7ba-489e-b4e3-bdb0028a52b9" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilities_1aa51d16-300e-48c8-8257-b6d5dabb1886" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_baa675c2-54de-4f87-9e2f-0a0d0b05cf15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_ShortTermBorrowings_baa675c2-54de-4f87-9e2f-0a0d0b05cf15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_01cf9c88-91f9-4078-a328-8e254e5ec1f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_AccountsPayableCurrent_01cf9c88-91f9-4078-a328-8e254e5ec1f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_d596616b-4304-4a5c-8600-ca95a7cfaf47" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_InterestPayableCurrent_d596616b-4304-4a5c-8600-ca95a7cfaf47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationCurrent_93e2aed2-b821-4e51-b4ad-4817e68bb634" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetRetirementObligationCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_AssetRetirementObligationCurrent_93e2aed2-b821-4e51-b4ad-4817e68bb634" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_FranchiseRelatedLiabilitiesCurrent_e743f616-da72-4b14-9790-387b0b180b31" xlink:href="sre-20240630.xsd#sre_FranchiseRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_sre_FranchiseRelatedLiabilitiesCurrent_e743f616-da72-4b14-9790-387b0b180b31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_6d1d2bc7-b081-49d3-a36e-cad6a1bf76ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_6d1d2bc7-b081-49d3-a36e-cad6a1bf76ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryLiabilityCurrent_3f2fd837-3e5c-48a4-8d3d-b1504022bdf3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatoryLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_RegulatoryLiabilityCurrent_3f2fd837-3e5c-48a4-8d3d-b1504022bdf3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_ef2dd661-0de5-4b14-9573-7dfab4fa93d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_ef2dd661-0de5-4b14-9573-7dfab4fa93d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasObligationsCurrent_6dd67327-d56f-45f0-882f-c94b5a46dfea" xlink:href="sre-20240630.xsd#sre_GreenhouseGasObligationsCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_sre_GreenhouseGasObligationsCurrent_6dd67327-d56f-45f0-882f-c94b5a46dfea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_dbd3f31a-cab4-4427-b047-21532cdaa67c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_dbd3f31a-cab4-4427-b047-21532cdaa67c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_e2c8f884-b355-423d-9826-92894f9c8530" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_e2c8f884-b355-423d-9826-92894f9c8530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_dfd3d8de-8752-416c-951c-4919e57cf391" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableOtherCurrent"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_dfd3d8de-8752-416c-951c-4919e57cf391" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendsPayableCurrent_e1423ffa-b44c-4c0a-9f83-ea67aeedcc7f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendsPayableCurrent"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_us-gaap_InterestAndDividendsPayableCurrent_e1423ffa-b44c-4c0a-9f83-ea67aeedcc7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DeferredExcessCapacitySales_ec4b2481-9b6b-4e43-b315-2ae23417e0e0" xlink:href="sre-20240630.xsd#sre_DeferredExcessCapacitySales"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2580836d-f636-4f01-85e2-defe4b735161" xlink:to="loc_sre_DeferredExcessCapacitySales_ec4b2481-9b6b-4e43-b315-2ae23417e0e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:href="sre-20240630.xsd#sre_TotalInvestmentsAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_782451ab-06c2-4419-9ad7-362646150aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_782451ab-06c2-4419-9ad7-362646150aa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PrepaidInsuranceFundAssetNoncurrent_532eae9e-2bb5-4841-90f1-ef84d8b27a9f" xlink:href="sre-20240630.xsd#sre_PrepaidInsuranceFundAssetNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_sre_PrepaidInsuranceFundAssetNoncurrent_532eae9e-2bb5-4841-90f1-ef84d8b27a9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_8d534c3f-277d-472e-8abd-4254d82a8a37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_EquityMethodInvestments_8d534c3f-277d-472e-8abd-4254d82a8a37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_cc5f1216-96c9-47ba-8391-f98d9f3ce65b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_cc5f1216-96c9-47ba-8391-f98d9f3ce65b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldInTrustNoncurrent_668cc39e-5884-4297-9482-d96938ec0d6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsHeldInTrustNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_AssetsHeldInTrustNoncurrent_668cc39e-5884-4297-9482-d96938ec0d6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_06fa1457-b4b0-45d9-927b-452f4b45e84c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_OtherInvestments_06fa1457-b4b0-45d9-927b-452f4b45e84c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_8c02363e-9246-4740-b166-b01e4f934fd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_8c02363e-9246-4740-b166-b01e4f934fd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DecommissioningFundInvestments_6799ae32-33c5-4d1c-aa9a-ff69c12ae7b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DecommissioningFundInvestments"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_DecommissioningFundInvestments_6799ae32-33c5-4d1c-aa9a-ff69c12ae7b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasAllowancesNoncurrent_c649ad51-8bca-4198-8264-aadd6dac4adf" xlink:href="sre-20240630.xsd#sre_GreenhouseGasAllowancesNoncurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_sre_GreenhouseGasAllowancesNoncurrent_c649ad51-8bca-4198-8264-aadd6dac4adf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_32d1ee97-ab53-412e-bf55-6aa611d57660" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_32d1ee97-ab53-412e-bf55-6aa611d57660" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_ba921722-ad93-4de5-a757-ae0cda609198" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatoryAssetsNoncurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_ba921722-ad93-4de5-a757-ae0cda609198" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_934eaa26-96b7-44fe-95f2-ddbd825c2c54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_934eaa26-96b7-44fe-95f2-ddbd825c2c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_ae2788e0-9dd1-4c23-9c7f-5dfa898b070d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_b8387be1-df86-4318-84c4-903f2761c9b4" xlink:to="loc_us-gaap_Goodwill_ae2788e0-9dd1-4c23-9c7f-5dfa898b070d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS_1" xlink:type="simple" xlink:href="sre-20240630.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS_1"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_25c833f0-adfc-4054-a8a7-d1d5bb9ee2fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_LiabilitiesCurrent_25c833f0-adfc-4054-a8a7-d1d5bb9ee2fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_8e54d4d5-c4dc-49a8-af2b-d5eed1015826" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_8e54d4d5-c4dc-49a8-af2b-d5eed1015826" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_5abdda7f-3b7c-45cc-9e69-346975c77590" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_5abdda7f-3b7c-45cc-9e69-346975c77590" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_f61fd507-ed1a-4855-b90a-30d4fec38fce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_StockholdersEquity_f61fd507-ed1a-4855-b90a-30d4fec38fce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherMinorityInterests_97f4b9ae-0db9-4cf5-9224-d6df6dfb6f57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherMinorityInterests"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_OtherMinorityInterests_97f4b9ae-0db9-4cf5-9224-d6df6dfb6f57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_84b3c9b0-4308-4863-87ce-c2e0ecf2064e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_CommitmentsAndContingencies_84b3c9b0-4308-4863-87ce-c2e0ecf2064e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_111bd199-2548-4553-a885-67c793350ea3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestAmountRepresentedByPreferredStock"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2f65a5e8-4aef-4be7-b617-8f0361c5be51" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_111bd199-2548-4553-a885-67c793350ea3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="sre-20240630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4a4b25fb-7350-4cb5-a3b8-5eb78e3e7dc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4a4b25fb-7350-4cb5-a3b8-5eb78e3e7dc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDistributionsToAffiliates_2b10d90e-3094-4222-898c-3338ec2fd9c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDistributionsToAffiliates"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_PaymentsOfDistributionsToAffiliates_2b10d90e-3094-4222-898c-3338ec2fd9c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_0d223067-aa43-4593-ba56-efd82e8f4bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_0d223067-aa43-4593-ba56-efd82e8f4bb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_9bd47359-ff58-4a37-b4f3-74d78b24fa26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_9bd47359-ff58-4a37-b4f3-74d78b24fa26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_9f6b8d5f-0484-4588-8e14-7ebbaa30f51e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_9f6b8d5f-0484-4588-8e14-7ebbaa30f51e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_49cb5e28-01cf-4ca5-9633-c323c19a3829" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_49cb5e28-01cf-4ca5-9633-c323c19a3829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_b799db90-3111-4c01-9d44-563b9bf0b92f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromMinorityShareholders"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_b799db90-3111-4c01-9d44-563b9bf0b92f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForDerivativeInstrumentFinancingActivities_ad1e5cbe-3a98-4421-9f03-7cff99db3bc6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForDerivativeInstrumentFinancingActivities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_PaymentsForDerivativeInstrumentFinancingActivities_ad1e5cbe-3a98-4421-9f03-7cff99db3bc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_266aca42-aef0-4d76-a2fd-e9bdc688c8f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_266aca42-aef0-4d76-a2fd-e9bdc688c8f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ProceedsFromSaleOfNoncontrollingInterestNetOfOfferingCosts_b420131c-1ea9-4d8e-8569-4f7e25c4ef68" xlink:href="sre-20240630.xsd#sre_ProceedsFromSaleOfNoncontrollingInterestNetOfOfferingCosts"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_sre_ProceedsFromSaleOfNoncontrollingInterestNetOfOfferingCosts_b420131c-1ea9-4d8e-8569-4f7e25c4ef68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromContributionsFromAffiliates_93c3412f-2166-4a07-a9a5-f55fe456940b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_ProceedsFromContributionsFromAffiliates_93c3412f-2166-4a07-a9a5-f55fe456940b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_41c6d10c-f556-4e03-a993-0f3ce7fe1d0c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_41c6d10c-f556-4e03-a993-0f3ce7fe1d0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_67e88dbe-aad2-4cf7-b9d6-e587fff82eb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_67e88dbe-aad2-4cf7-b9d6-e587fff82eb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_60cd4f0c-99fe-4faa-a39c-54c3ce650c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_52cf0bb2-d3eb-4ea9-abb2-5425392d51b3" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_60cd4f0c-99fe-4faa-a39c-54c3ce650c1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ecefdfc5-6f28-4322-bb8b-df6380000e25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b168ed5-e105-4a3e-9b0e-7336be668d33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ecefdfc5-6f28-4322-bb8b-df6380000e25" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b168ed5-e105-4a3e-9b0e-7336be668d33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9e93425-5ead-4248-9f8d-7e14b1562a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ecefdfc5-6f28-4322-bb8b-df6380000e25" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b9e93425-5ead-4248-9f8d-7e14b1562a0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1927ea84-f7c5-4353-932f-b62cabea7447" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ecefdfc5-6f28-4322-bb8b-df6380000e25" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1927ea84-f7c5-4353-932f-b62cabea7447" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_ec594a93-0ade-46a0-a793-2e16e4e92e12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ecefdfc5-6f28-4322-bb8b-df6380000e25" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_ec594a93-0ade-46a0-a793-2e16e4e92e12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86a363da-b65c-4d4b-82c4-1bbba3d0d2fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDecommissioningFund_90625e5d-4cb7-4ce2-b8cd-caf52753a147" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDecommissioningFund"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86a363da-b65c-4d4b-82c4-1bbba3d0d2fd" xlink:to="loc_us-gaap_ProceedsFromDecommissioningFund_90625e5d-4cb7-4ce2-b8cd-caf52753a147" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_b9bd5c4c-ce11-44c5-85d9-1a0a30f5fd84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_86a363da-b65c-4d4b-82c4-1bbba3d0d2fd" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_b9bd5c4c-ce11-44c5-85d9-1a0a30f5fd84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_c93faeaa-975d-49ea-9fa4-dbf8022e9ad5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86a363da-b65c-4d4b-82c4-1bbba3d0d2fd" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_c93faeaa-975d-49ea-9fa4-dbf8022e9ad5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_26502478-2574-45d3-8d9c-43f6d6c59413" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86a363da-b65c-4d4b-82c4-1bbba3d0d2fd" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_26502478-2574-45d3-8d9c-43f6d6c59413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToInvestInDecommissioningFund_b68352dd-a98e-4386-8e46-2941ef2188da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToInvestInDecommissioningFund"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86a363da-b65c-4d4b-82c4-1bbba3d0d2fd" xlink:to="loc_us-gaap_PaymentsToInvestInDecommissioningFund_b68352dd-a98e-4386-8e46-2941ef2188da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_5d3f5d91-7f57-4ee1-9299-4b8a02ba3c48" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_5d3f5d91-7f57-4ee1-9299-4b8a02ba3c48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_5384b71b-5f64-4b47-8638-108e14f38269" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_5384b71b-5f64-4b47-8638-108e14f38269" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_7445b1d9-3a27-4872-bede-e7a4ffae0dbd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_7445b1d9-3a27-4872-bede-e7a4ffae0dbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9198a1e0-b5f4-45de-802b-d3a093f78c37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9198a1e0-b5f4-45de-802b-d3a093f78c37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_5a93cab5-cddd-4af5-9994-645899cb6aba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_5a93cab5-cddd-4af5-9994-645899cb6aba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_64946795-502c-452e-bc51-32c2debe0797" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_ProfitLoss_64946795-502c-452e-bc51-32c2debe0797" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_156bacba-85c9-4fe3-893f-01af2fa89e57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_DepreciationAndAmortization_156bacba-85c9-4fe3-893f-01af2fa89e57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_dbaa14ea-b07c-4e62-a40d-f9cb4460b6ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_dbaa14ea-b07c-4e62-a40d-f9cb4460b6ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_2811ceb9-f997-4be5-81cd-41fa7383a7ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_2811ceb9-f997-4be5-81cd-41fa7383a7ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_8bfd9f1e-1ab8-43f2-9739-f3ddfe50a6ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_us-gaap_ShareBasedCompensation_8bfd9f1e-1ab8-43f2-9739-f3ddfe50a6ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_IncreaseDecreaseInBadDebtExpense_ce8be187-d6ef-4127-aa29-f20ee6a72b20" xlink:href="sre-20240630.xsd#sre_IncreaseDecreaseInBadDebtExpense"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0991d7d5-1007-48fd-9394-79cb3249a0cb" xlink:to="loc_sre_IncreaseDecreaseInBadDebtExpense_ce8be187-d6ef-4127-aa29-f20ee6a72b20" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDSTATEMENTSOFOPERATIONSSDGE" xlink:type="simple" xlink:href="sre-20240630.xsd#CONDENSEDSTATEMENTSOFOPERATIONSSDGE"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDSTATEMENTSOFOPERATIONSSDGE" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_bd4be92d-5f53-4692-ae04-957d2124fc75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedOperatingRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenueElectricNonNuclear_34548a45-767b-41ff-ba94-a4ceaa52b0ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedOperatingRevenueElectricNonNuclear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedOperatingRevenue_bd4be92d-5f53-4692-ae04-957d2124fc75" xlink:to="loc_us-gaap_RegulatedOperatingRevenueElectricNonNuclear_34548a45-767b-41ff-ba94-a4ceaa52b0ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenueGas_ae3ce63e-ba1f-40db-96d8-243a54697d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedOperatingRevenueGas"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedOperatingRevenue_bd4be92d-5f53-4692-ae04-957d2124fc75" xlink:to="loc_us-gaap_RegulatedOperatingRevenueGas_ae3ce63e-ba1f-40db-96d8-243a54697d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_2bec3350-a7f0-47f3-8b09-5d9b387dcd46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_790a08c2-96cb-4711-a43d-c17c448746cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_2bec3350-a7f0-47f3-8b09-5d9b387dcd46" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_790a08c2-96cb-4711-a43d-c17c448746cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_09887567-8d68-4388-a366-097d26a5c7c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_2bec3350-a7f0-47f3-8b09-5d9b387dcd46" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_09887567-8d68-4388-a366-097d26a5c7c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5f7e5bae-18f6-408b-bae4-cf012088fa5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_2bec3350-a7f0-47f3-8b09-5d9b387dcd46" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5f7e5bae-18f6-408b-bae4-cf012088fa5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseTaxes_0fb3bf9d-c684-4564-b8e8-fb3199bf6d04" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpenseTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_2bec3350-a7f0-47f3-8b09-5d9b387dcd46" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseTaxes_0fb3bf9d-c684-4564-b8e8-fb3199bf6d04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_d503cd59-1ef5-4ff9-a189-2037a9b95790" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpensePurchasedPower"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_2bec3350-a7f0-47f3-8b09-5d9b387dcd46" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_d503cd59-1ef5-4ff9-a189-2037a9b95790" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_231c71fd-448a-4bf2-9f14-d2653c567bac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_8e313825-6d6e-4a4c-8bd9-b6f40f93c325" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_231c71fd-448a-4bf2-9f14-d2653c567bac" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_8e313825-6d6e-4a4c-8bd9-b6f40f93c325" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_e19a2aea-7ee6-4c01-a8cc-21efba5db72d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedOperatingRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_231c71fd-448a-4bf2-9f14-d2653c567bac" xlink:to="loc_us-gaap_RegulatedOperatingRevenue_e19a2aea-7ee6-4c01-a8cc-21efba5db72d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATACASHCASHEQUIVALENTSANDRESTRICTEDCASHDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATACASHCASHEQUIVALENTSANDRESTRICTEDCASHDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATACASHCASHEQUIVALENTSANDRESTRICTEDCASHDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_543639d9-3a44-4f22-8d58-a9dd3923fae9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_cbe4ae74-bfd8-4839-bfc3-5267e73a6699" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_543639d9-3a44-4f22-8d58-a9dd3923fae9" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_cbe4ae74-bfd8-4839-bfc3-5267e73a6699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e0af20b8-940a-4733-87f9-3fe93c48a8af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_543639d9-3a44-4f22-8d58-a9dd3923fae9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e0af20b8-940a-4733-87f9-3fe93c48a8af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_997fcd47-06e8-49cd-8a61-9b72c524a0ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_543639d9-3a44-4f22-8d58-a9dd3923fae9" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_997fcd47-06e8-49cd-8a61-9b72c524a0ec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAINVENTORIESDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAINVENTORIESDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAINVENTORIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f8acfc89-d589-4ac1-9e7e-b5ced4aa33c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_1d7f1a6a-1b42-4b85-8344-6a6c3ac4b1fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EnergyRelatedInventoryNaturalGasInStorage"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f8acfc89-d589-4ac1-9e7e-b5ced4aa33c5" xlink:to="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_1d7f1a6a-1b42-4b85-8344-6a6c3ac4b1fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_d82e9db0-9254-4518-927c-b83aca1913b7" xlink:href="sre-20240630.xsd#sre_EnergyRelatedInventoryLiquefiedNaturalGas"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f8acfc89-d589-4ac1-9e7e-b5ced4aa33c5" xlink:to="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_d82e9db0-9254-4518-927c-b83aca1913b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_662e5c4c-4053-4e0b-952f-d8e56d6f0e18" xlink:href="sre-20240630.xsd#sre_EnergyRelatedInventoryMaterialsAndSupplies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f8acfc89-d589-4ac1-9e7e-b5ced4aa33c5" xlink:to="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_662e5c4c-4053-4e0b-952f-d8e56d6f0e18" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATACHANGESINACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATACHANGESINACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATACHANGESINACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_15a04fcf-bb90-43c5-a0f6-a58c574b91fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_ae1488a7-36a3-47a8-8cc8-0f0ebd608a30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_15a04fcf-bb90-43c5-a0f6-a58c574b91fe" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_ae1488a7-36a3-47a8-8cc8-0f0ebd608a30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_9b28afec-19d2-4a25-bd75-b0f512ae4f28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_15a04fcf-bb90-43c5-a0f6-a58c574b91fe" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_9b28afec-19d2-4a25-bd75-b0f512ae4f28" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAPENSIONANDOTHERPOSTRETIREMENTBENEFITSDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAPENSIONANDOTHERPOSTRETIREMENTBENEFITSDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAPENSIONANDOTHERPOSTRETIREMENTBENEFITSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_sre_DefinedBenefitPlanExpenseIncome_ca362964-7642-435b-ba35-60e8bdc44862" xlink:href="sre-20240630.xsd#sre_DefinedBenefitPlanExpenseIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_84d0801a-7cd1-4bfa-8afd-153c07f33e88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_DefinedBenefitPlanExpenseIncome_ca362964-7642-435b-ba35-60e8bdc44862" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_84d0801a-7cd1-4bfa-8afd-153c07f33e88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_6b5e1c6b-55ed-4bd9-8800-110dfcd00598" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherRegulatoryAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_DefinedBenefitPlanExpenseIncome_ca362964-7642-435b-ba35-60e8bdc44862" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_6b5e1c6b-55ed-4bd9-8800-110dfcd00598" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_6e16b49a-eb23-4727-bbac-20e794a30451" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_6e16b49a-eb23-4727-bbac-20e794a30451" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_70432e87-3519-48f5-8908-8d9a143d5427" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_70432e87-3519-48f5-8908-8d9a143d5427" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_e95ef0fc-817d-42b1-a625-737f0092c9fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_e95ef0fc-817d-42b1-a625-737f0092c9fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_88a42bd5-51fd-42d2-a132-6a7ab064d50f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_88a42bd5-51fd-42d2-a132-6a7ab064d50f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_0e6797ff-7489-4ebe-9e75-45b306d5872e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_0e6797ff-7489-4ebe-9e75-45b306d5872e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_ffd13b26-b4a9-4f82-bab1-ce24d7d7d11c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_155be837-3257-4601-80de-d6d6af0ffb15" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_ffd13b26-b4a9-4f82-bab1-ce24d7d7d11c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAOTHERINCOMEEXPENSENETDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAOTHERINCOMEEXPENSENETDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAOTHERINCOMEEXPENSENETDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_8c07985b-3980-47d0-9244-de82223a498e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_8c07985b-3980-47d0-9244-de82223a498e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_RegulatoryInterestNet_ed156823-1da4-4ad4-8b58-025dbfc1100f" xlink:href="sre-20240630.xsd#sre_RegulatoryInterestNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_sre_RegulatoryInterestNet_ed156823-1da4-4ad4-8b58-025dbfc1100f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanOtherCosts_7d8a7c2e-586c-41d3-bce9-edb797830a26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanOtherCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_us-gaap_DefinedBenefitPlanOtherCosts_7d8a7c2e-586c-41d3-bce9-edb797830a26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_OtherSundryExpensesNet_fae6b1b3-cc24-459f-ab47-a5c1cd288415" xlink:href="sre-20240630.xsd#sre_OtherSundryExpensesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_sre_OtherSundryExpensesNet_fae6b1b3-cc24-459f-ab47-a5c1cd288415" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_47f7de8c-cc4f-43e2-966d-2dbe9f40ccf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_47f7de8c-cc4f-43e2-966d-2dbe9f40ccf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_4a9c1d12-77ce-4cfa-8701-b3800d6470a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_us-gaap_GainLossOnInvestments_4a9c1d12-77ce-4cfa-8701-b3800d6470a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_c3834d61-8a7b-428a-83e2-7552d49f9b53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_0ce1165e-b674-45cd-831d-4225d1a0c664" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_c3834d61-8a7b-428a-83e2-7552d49f9b53" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/REVENUESDISAGGREGATIONOFREVENUEDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#REVENUESDISAGGREGATIONOFREVENUEDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/REVENUESDISAGGREGATIONOFREVENUEDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_bdcd7a6d-a791-486b-8faf-9ead87d15ec6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_66681840-f05c-4a0c-8d02-8d7598971484" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_RegulatedAndUnregulatedOperatingRevenue_bdcd7a6d-a791-486b-8faf-9ead87d15ec6" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_66681840-f05c-4a0c-8d02-8d7598971484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_UtilitiesRegulatoryRevenue_62611373-e5fb-47c9-9ed1-d12c5aec21be" xlink:href="sre-20240630.xsd#sre_UtilitiesRegulatoryRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_bdcd7a6d-a791-486b-8faf-9ead87d15ec6" xlink:to="loc_sre_UtilitiesRegulatoryRevenue_62611373-e5fb-47c9-9ed1-d12c5aec21be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_2535455e-7e67-451f-a060-416e7aed89b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_bdcd7a6d-a791-486b-8faf-9ead87d15ec6" xlink:to="loc_us-gaap_OtherIncome_2535455e-7e67-451f-a060-416e7aed89b0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/DERIVATIVEFINANCIALINSTRUMENTSDERIVATIVEINSTRUMENTSONTHECONDENSEDBALANCESHEETDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#DERIVATIVEFINANCIALINSTRUMENTSDERIVATIVEINSTRUMENTSONTHECONDENSEDBALANCESHEETDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/DERIVATIVEFINANCIALINSTRUMENTSDERIVATIVEINSTRUMENTSONTHECONDENSEDBALANCESHEETDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_f1c3aecc-ca2b-4747-8973-73bc11f072d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_388d4a91-2b92-4257-9831-da0188a93c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_f1c3aecc-ca2b-4747-8973-73bc11f072d9" xlink:to="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_388d4a91-2b92-4257-9831-da0188a93c3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeAssetAdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_40640d9b-9291-40e0-b7c6-e69badc2a67d" xlink:href="sre-20240630.xsd#sre_DerivativeAssetAdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_f1c3aecc-ca2b-4747-8973-73bc11f072d9" xlink:to="loc_sre_DerivativeAssetAdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_40640d9b-9291-40e0-b7c6-e69badc2a67d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeAssetAdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_acd54844-22d2-4351-a956-6a9d9eca8ea5" xlink:href="sre-20240630.xsd#sre_DerivativeAssetAdditionalMarginPostedForCommodityContractsSubjectToRateRecovery"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_f1c3aecc-ca2b-4747-8973-73bc11f072d9" xlink:to="loc_sre_DerivativeAssetAdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_acd54844-22d2-4351-a956-6a9d9eca8ea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_0ba99226-84c0-4511-8732-eaf7ee66997b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_1243e44e-b7da-45b4-8a14-5b4aba51c3ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_0ba99226-84c0-4511-8732-eaf7ee66997b" xlink:to="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_1243e44e-b7da-45b4-8a14-5b4aba51c3ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeLiabilityAdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_391d5a85-4e92-44db-b02d-a1959136c246" xlink:href="sre-20240630.xsd#sre_DerivativeLiabilityAdditionalMarginPostedForCommodityContractsSubjectToRateRecovery"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_0ba99226-84c0-4511-8732-eaf7ee66997b" xlink:to="loc_sre_DerivativeLiabilityAdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_391d5a85-4e92-44db-b02d-a1959136c246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeLiabilityAdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_5fe1770f-f2fa-4405-aa78-1ebc3980c608" xlink:href="sre-20240630.xsd#sre_DerivativeLiabilityAdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_0ba99226-84c0-4511-8732-eaf7ee66997b" xlink:to="loc_sre_DerivativeLiabilityAdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_5fe1770f-f2fa-4405-aa78-1ebc3980c608" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_ee236b20-a02b-4022-a462-fdfba78e9691" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_c2374f6a-0aa1-4c4e-83c5-50b6d54ed612" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_ee236b20-a02b-4022-a462-fdfba78e9691" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_c2374f6a-0aa1-4c4e-83c5-50b6d54ed612" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_2b1267a0-a4ba-4259-b7cc-5d65d937809e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_ee236b20-a02b-4022-a462-fdfba78e9691" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_2b1267a0-a4ba-4259-b7cc-5d65d937809e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_8e570b8c-3820-43ac-b7fc-eefa8e74fe7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_ee236b20-a02b-4022-a462-fdfba78e9691" xlink:to="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_8e570b8c-3820-43ac-b7fc-eefa8e74fe7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_6246f373-b470-483a-87b3-84b425f12f9c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_3c969717-d5a4-4013-b6ae-2987cc0d95f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_6246f373-b470-483a-87b3-84b425f12f9c" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_3c969717-d5a4-4013-b6ae-2987cc0d95f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_074980a5-58f4-4869-ba92-0b4df4bf1280" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_6246f373-b470-483a-87b3-84b425f12f9c" xlink:to="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_074980a5-58f4-4869-ba92-0b4df4bf1280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_1862a6ab-2253-4c80-88a1-38d88ab5453a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_6246f373-b470-483a-87b3-84b425f12f9c" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_1862a6ab-2253-4c80-88a1-38d88ab5453a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/FAIRVALUEMEASUREMENTSRECURRINGFAIRVALUEMEASURESDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#FAIRVALUEMEASUREMENTSRECURRINGFAIRVALUEMEASURESDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/FAIRVALUEMEASUREMENTSRECURRINGFAIRVALUEMEASURESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_12e12528-2600-4a8d-b337-c5ead7bbcf72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_63200bcf-7fb0-4cd6-a3b8-507d7ddb3016" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_12e12528-2600-4a8d-b337-c5ead7bbcf72" xlink:to="loc_us-gaap_DerivativeAssets_63200bcf-7fb0-4cd6-a3b8-507d7ddb3016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GuarantorObligationsAssetFairValueDisclosure_5e1fc8db-89a4-48a5-a90c-b623b2fe4652" xlink:href="sre-20240630.xsd#sre_GuarantorObligationsAssetFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_12e12528-2600-4a8d-b337-c5ead7bbcf72" xlink:to="loc_sre_GuarantorObligationsAssetFairValueDisclosure_5e1fc8db-89a4-48a5-a90c-b623b2fe4652" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DecommissioningTrustAssetsAmount_7a1112c6-d16e-4145-a207-43c2fa0e110a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DecommissioningTrustAssetsAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_12e12528-2600-4a8d-b337-c5ead7bbcf72" xlink:to="loc_us-gaap_DecommissioningTrustAssetsAmount_7a1112c6-d16e-4145-a207-43c2fa0e110a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ShortTermInvestmentsHeldInTrustsFairValueDisclosure_5edfeed8-a0de-4a6c-b510-9bbba8f25a42" xlink:href="sre-20240630.xsd#sre_ShortTermInvestmentsHeldInTrustsFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_12e12528-2600-4a8d-b337-c5ead7bbcf72" xlink:to="loc_sre_ShortTermInvestmentsHeldInTrustsFairValueDisclosure_5edfeed8-a0de-4a6c-b510-9bbba8f25a42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_ea70c2da-b9c6-42ba-8c95-becb4d6c129f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_e6169913-9298-4948-9ccd-7d08782556db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ea70c2da-b9c6-42ba-8c95-becb4d6c129f" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_e6169913-9298-4948-9ccd-7d08782556db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_5e08cac0-2717-4985-857a-05072bacb579" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ea70c2da-b9c6-42ba-8c95-becb4d6c129f" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_5e08cac0-2717-4985-857a-05072bacb579" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_da97e5f3-8fb4-4d93-9bde-dde86a38c684" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_282adcee-4923-409a-b2fb-6e4abceeb0eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_da97e5f3-8fb4-4d93-9bde-dde86a38c684" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_282adcee-4923-409a-b2fb-6e4abceeb0eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_fa3cb388-e3c1-4923-8806-08de0f713661" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_da97e5f3-8fb4-4d93-9bde-dde86a38c684" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_fa3cb388-e3c1-4923-8806-08de0f713661" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_996b210d-d946-4991-8177-604680153096" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_f96abd39-dfbf-4b17-b1b1-d4ded7d60a85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_996b210d-d946-4991-8177-604680153096" xlink:to="loc_us-gaap_DerivativeLiabilities_f96abd39-dfbf-4b17-b1b1-d4ded7d60a85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/SEMPRAEQUITYANDEARNINGSPERCOMMONSHARENETINCOMEATTRIBUTABLETOSEMPRAANDTRANSFERSTOFROMNCIDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#SEMPRAEQUITYANDEARNINGSPERCOMMONSHARENETINCOMEATTRIBUTABLETOSEMPRAANDTRANSFERSTOFROMNCIDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SEMPRAEQUITYANDEARNINGSPERCOMMONSHARENETINCOMEATTRIBUTABLETOSEMPRAANDTRANSFERSTOFROMNCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_sre_NetIncomeLossIncludingTransfersToNonControllingInterest_2ed9017c-04c1-41c7-8565-00b7334dd4cc" xlink:href="sre-20240630.xsd#sre_NetIncomeLossIncludingTransfersToNonControllingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7d9dc1d4-e3cb-4150-9c1d-555c94868c69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_NetIncomeLossIncludingTransfersToNonControllingInterest_2ed9017c-04c1-41c7-8565-00b7334dd4cc" xlink:to="loc_us-gaap_NetIncomeLoss_7d9dc1d4-e3cb-4150-9c1d-555c94868c69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_StockholdersEquityTransfersToFromNoncontrollingInterest_07645341-9501-4aaa-870c-44739863a378" xlink:href="sre-20240630.xsd#sre_StockholdersEquityTransfersToFromNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_NetIncomeLossIncludingTransfersToNonControllingInterest_2ed9017c-04c1-41c7-8565-00b7334dd4cc" xlink:to="loc_sre_StockholdersEquityTransfersToFromNoncontrollingInterest_07645341-9501-4aaa-870c-44739863a378" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_StockholdersEquityTransfersToFromNoncontrollingInterest_697d9e7b-e286-4d30-8949-ff6591d6bf5d" xlink:href="sre-20240630.xsd#sre_StockholdersEquityTransfersToFromNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_StockholdersEquityTransfersToFromNoncontrollingInterestPurchases_c6cdd177-1df7-4123-8ce6-a51282c04600" xlink:href="sre-20240630.xsd#sre_StockholdersEquityTransfersToFromNoncontrollingInterestPurchases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_StockholdersEquityTransfersToFromNoncontrollingInterest_697d9e7b-e286-4d30-8949-ff6591d6bf5d" xlink:to="loc_sre_StockholdersEquityTransfersToFromNoncontrollingInterestPurchases_c6cdd177-1df7-4123-8ce6-a51282c04600" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/SEMPRAEQUITYANDEARNINGSPERCOMMONSHAREEARNINGSPERCOMMONSHAREDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#SEMPRAEQUITYANDEARNINGSPERCOMMONSHAREEARNINGSPERCOMMONSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SEMPRAEQUITYANDEARNINGSPERCOMMONSHAREEARNINGSPERCOMMONSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e569c7a-6878-47f0-8fe4-ce57d8441b94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0880659c-890d-4a1e-81fe-c40e00707605" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_8e569c7a-6878-47f0-8fe4-ce57d8441b94" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0880659c-890d-4a1e-81fe-c40e00707605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_b53d59f3-b9a9-473f-8ac9-cdbe3f3d51f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e569c7a-6878-47f0-8fe4-ce57d8441b94" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_b53d59f3-b9a9-473f-8ac9-cdbe3f3d51f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToEquityForwardAgreements_be786ec7-2f39-4fbd-a60c-97dd5fe02cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncrementalCommonSharesAttributableToEquityForwardAgreements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8e569c7a-6878-47f0-8fe4-ce57d8441b94" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToEquityForwardAgreements_be786ec7-2f39-4fbd-a60c-97dd5fe02cfa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/SANONOFRENUCLEARGENERATINGSTATIONNUCLEARDECOMMISSIONINGTRUSTSDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#SANONOFRENUCLEARGENERATINGSTATIONNUCLEARDECOMMISSIONINGTRUSTSDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SANONOFRENUCLEARGENERATINGSTATIONNUCLEARDECOMMISSIONINGTRUSTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAmortizedCosts_40d65306-c463-4c4e-8895-7664684e4573" xlink:href="sre-20240630.xsd#sre_SecuritiesHeldInNuclearDecommissioningTrustsAmortizedCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedGainBeforeTax_6d8baa39-94a3-405f-9794-7b26e06aa77d" xlink:href="sre-20240630.xsd#sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAmortizedCosts_40d65306-c463-4c4e-8895-7664684e4573" xlink:to="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedGainBeforeTax_6d8baa39-94a3-405f-9794-7b26e06aa77d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedLossBeforeTax_0fddbba0-6546-4d91-8fb1-6db34502d5c3" xlink:href="sre-20240630.xsd#sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAmortizedCosts_40d65306-c463-4c4e-8895-7664684e4573" xlink:to="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedLossBeforeTax_0fddbba0-6546-4d91-8fb1-6db34502d5c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustFairValue_ceaef8ec-d90e-4d90-813b-43caf109dbf0" xlink:href="sre-20240630.xsd#sre_SecuritiesHeldInNuclearDecommissioningTrustFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAmortizedCosts_40d65306-c463-4c4e-8895-7664684e4573" xlink:to="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustFairValue_ceaef8ec-d90e-4d90-813b-43caf109dbf0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/COMMITMENTSANDCONTINGENCIESLEASEINFORMATIONDetails" xlink:type="simple" xlink:href="sre-20240630.xsd#COMMITMENTSANDCONTINGENCIESLEASEINFORMATIONDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/COMMITMENTSANDCONTINGENCIESLEASEINFORMATIONDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLeaseIncome_72a0d13e-477f-4655-9b2d-ebd62ab1d521" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLeaseIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLeaseIncomeLeasePayments_48e451d8-b2db-42d7-92a9-58295c57a335" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLeaseIncomeLeasePayments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLeaseIncome_72a0d13e-477f-4655-9b2d-ebd62ab1d521" xlink:to="loc_us-gaap_OperatingLeaseLeaseIncomeLeasePayments_48e451d8-b2db-42d7-92a9-58295c57a335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseVariableLeaseIncome_a0296fc0-6308-4c64-a9c4-cb5402b7ea0e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseVariableLeaseIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLeaseIncome_72a0d13e-477f-4655-9b2d-ebd62ab1d521" xlink:to="loc_us-gaap_OperatingLeaseVariableLeaseIncome_a0296fc0-6308-4c64-a9c4-cb5402b7ea0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeLeaseRevenue_5b15d0ac-018c-4a7d-bd08-bfa1e3bab0cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SalesTypeLeaseRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeLeaseInterestIncome_32bfd728-eea7-4d09-8271-a6631b5d1382" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SalesTypeLeaseInterestIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeLeaseRevenue_5b15d0ac-018c-4a7d-bd08-bfa1e3bab0cc" xlink:to="loc_us-gaap_SalesTypeLeaseInterestIncome_32bfd728-eea7-4d09-8271-a6631b5d1382" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
