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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:349e79b0-d102-4834-8f0c-95228f5fd09d,g:94b401fe-b63e-426e-9164-2c5a28afc41b-->
<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-20210930.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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_09b4a9c8-7e0c-486a-a16d-5ecb1ad93666" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_9e7a12b2-aa39-4c3e-b403-31f3a2c842d0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_09b4a9c8-7e0c-486a-a16d-5ecb1ad93666" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_9e7a12b2-aa39-4c3e-b403-31f3a2c842d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b01df61f-f8c3-4fae-9f15-8b7db248e0b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_09b4a9c8-7e0c-486a-a16d-5ecb1ad93666" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_b01df61f-f8c3-4fae-9f15-8b7db248e0b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_IncomeLossFromEquityInvestments_ef329cf0-b0ad-4b2d-b46a-409355b200e8" xlink:href="sre-20210930.xsd#sre_IncomeLossFromEquityInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_09b4a9c8-7e0c-486a-a16d-5ecb1ad93666" xlink:to="loc_sre_IncomeLossFromEquityInvestments_ef329cf0-b0ad-4b2d-b46a-409355b200e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_3bf78243-f6c3-4fd1-bd1b-8ffbdc033956" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatedOperatingRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenueElectricNonNuclear_9c5f6bca-3451-4b3d-9785-2ddc13d679ed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3bf78243-f6c3-4fd1-bd1b-8ffbdc033956" xlink:to="loc_us-gaap_RegulatedOperatingRevenueElectricNonNuclear_9c5f6bca-3451-4b3d-9785-2ddc13d679ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenueGas_35687143-83fa-437c-b198-89e030626f14" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3bf78243-f6c3-4fd1-bd1b-8ffbdc033956" xlink:to="loc_us-gaap_RegulatedOperatingRevenueGas_35687143-83fa-437c-b198-89e030626f14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_1196a398-8f30-44b5-a200-665086c3847c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_525e7313-434e-4267-ac5d-3cb4e0673f79" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1196a398-8f30-44b5-a200-665086c3847c" xlink:to="loc_us-gaap_ProfitLoss_525e7313-434e-4267-ac5d-3cb4e0673f79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_ee55079a-124c-428d-8c46-332554d3ccac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_NetIncomeLossAvailableToCommonStockholdersBasic_1196a398-8f30-44b5-a200-665086c3847c" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_ee55079a-124c-428d-8c46-332554d3ccac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_1bd38f59-5c5c-4ae9-a4e8-9610141efacd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_1196a398-8f30-44b5-a200-665086c3847c" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_1bd38f59-5c5c-4ae9-a4e8-9610141efacd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPreferredStockDividendsAndAdjustments_5952f9bc-4181-40b4-8536-a50ceb5aceb1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1196a398-8f30-44b5-a200-665086c3847c" xlink:to="loc_us-gaap_OtherPreferredStockDividendsAndAdjustments_5952f9bc-4181-40b4-8536-a50ceb5aceb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5d01244f-9171-4354-83de-fe1e468eae64" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_600944fa-08bc-4bbe-beda-89bcc7a3f435" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_InvestmentIncomeInterest_600944fa-08bc-4bbe-beda-89bcc7a3f435" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_02a3da8b-4e24-4050-b6ef-891e48111db8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_InterestExpense_02a3da8b-4e24-4050-b6ef-891e48111db8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_4a6cd53e-be77-4c1e-955c-2a8bd994a406" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_4a6cd53e-be77-4c1e-955c-2a8bd994a406" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_4a598b10-17ae-43c5-9dc2-ff01d9bf49a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_4a598b10-17ae-43c5-9dc2-ff01d9bf49a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_d7272ac9-2d54-4281-b294-ddb5134dfe01" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_d7272ac9-2d54-4281-b294-ddb5134dfe01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_cea3e0db-4d75-41a7-aefc-32a2329e77e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_DepreciationAndAmortization_cea3e0db-4d75-41a7-aefc-32a2329e77e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesOther_9d5a0baf-8a58-4873-83e4-7da314c2424f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_TaxesOther_9d5a0baf-8a58-4873-83e4-7da314c2424f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c98edebb-6d65-4f2d-9788-8acfd6a1a291" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_OperatingIncomeLoss_c98edebb-6d65-4f2d-9788-8acfd6a1a291" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_c275a2b4-899a-46d5-a6f8-27ef9ceeabf7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_c275a2b4-899a-46d5-a6f8-27ef9ceeabf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementExpense_386a3bae-9641-4117-8f68-a1d78104aae6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LitigationSettlementExpense"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5d01244f-9171-4354-83de-fe1e468eae64" xlink:to="loc_us-gaap_LitigationSettlementExpense_386a3bae-9641-4117-8f68-a1d78104aae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_bd1db438-ddf8-433f-ad30-0a72e04fc33b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_58b4ca32-ef8e-459a-a185-6c9c491418ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatedOperatingRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_bd1db438-ddf8-433f-ad30-0a72e04fc33b" xlink:to="loc_us-gaap_RegulatedOperatingRevenue_58b4ca32-ef8e-459a-a185-6c9c491418ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnregulatedOperatingRevenue_1c4c2875-28da-4ac8-917c-6645f871d0b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnregulatedOperatingRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_bd1db438-ddf8-433f-ad30-0a72e04fc33b" xlink:to="loc_us-gaap_UnregulatedOperatingRevenue_1c4c2875-28da-4ac8-917c-6645f871d0b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_edd6f832-c2fa-4711-8063-ae63363ee3b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_1b3236b9-a391-4873-9ed2-216c9e6a9d47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_edd6f832-c2fa-4711-8063-ae63363ee3b1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerBasicShare_1b3236b9-a391-4873-9ed2-216c9e6a9d47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_0250fd3b-15e8-45d9-90f6-118bd3a4199d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareBasic_edd6f832-c2fa-4711-8063-ae63363ee3b1" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare_0250fd3b-15e8-45d9-90f6-118bd3a4199d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_81e19ccd-7b88-4eb0-b206-33ba32d6fc0d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_67e90b62-5119-43fe-a19b-b0a75f276996" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_81e19ccd-7b88-4eb0-b206-33ba32d6fc0d" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_67e90b62-5119-43fe-a19b-b0a75f276996" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_8f3c20c1-793c-46bd-82b9-e79ff985f1ac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_81e19ccd-7b88-4eb0-b206-33ba32d6fc0d" xlink:to="loc_us-gaap_RegulatedOperatingRevenue_8f3c20c1-793c-46bd-82b9-e79ff985f1ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_de66529a-bc4f-4ff7-bdcb-2e09992c2ae7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_de66529a-bc4f-4ff7-bdcb-2e09992c2ae7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_77291da0-c0de-4053-9756-cce75b4c3989" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_77291da0-c0de-4053-9756-cce75b4c3989" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_9dced8ec-c957-406e-8400-bb062f7d691f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_9dced8ec-c957-406e-8400-bb062f7d691f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseTaxes_0b1a9ab2-4dcc-4fa2-b668-528421ac1d81" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseTaxes_0b1a9ab2-4dcc-4fa2-b668-528421ac1d81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_e53e4867-b054-4f14-a15c-d037a019ad07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_e53e4867-b054-4f14-a15c-d037a019ad07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementExpense_9f177016-a306-4908-bc0e-75d2ec2ac12e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LitigationSettlementExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_5f55e10b-744f-45e1-8024-64f3359052f5" xlink:to="loc_us-gaap_LitigationSettlementExpense_9f177016-a306-4908-bc0e-75d2ec2ac12e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_3761d523-11ef-443d-b836-00849590eac0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e531d809-a803-46b1-8f8c-0cad07faf509" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_3761d523-11ef-443d-b836-00849590eac0" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_e531d809-a803-46b1-8f8c-0cad07faf509" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_eeb7867a-06b0-4846-9d1b-651fd937f7d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_3761d523-11ef-443d-b836-00849590eac0" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_eeb7867a-06b0-4846-9d1b-651fd937f7d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_4f51938c-7a5b-4710-8ae1-3b2bfc4889ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_7b8ece21-7650-4b53-b752-c5d24258946b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_4f51938c-7a5b-4710-8ae1-3b2bfc4889ef" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_7b8ece21-7650-4b53-b752-c5d24258946b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_385415d4-18f4-4719-8659-3c314971a4dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EarningsPerShareDiluted_4f51938c-7a5b-4710-8ae1-3b2bfc4889ef" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare_385415d4-18f4-4719-8659-3c314971a4dd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="sre-20210930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_60e8211f-54f2-488a-9e08-10d44d22b398" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_66ac4539-2965-4101-a135-5766d613d630" xlink:href="sre-20210930.xsd#sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_60e8211f-54f2-488a-9e08-10d44d22b398" xlink:to="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_66ac4539-2965-4101-a135-5766d613d630" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PreferredDividendsPaidbySubsidiaries_182926cc-8a48-4606-beb4-8779d8ffdda0" xlink:href="sre-20210930.xsd#sre_PreferredDividendsPaidbySubsidiaries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_60e8211f-54f2-488a-9e08-10d44d22b398" xlink:to="loc_sre_PreferredDividendsPaidbySubsidiaries_182926cc-8a48-4606-beb4-8779d8ffdda0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_253956f3-fb95-4241-900a-8ad83c5a0844" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_2e18868b-77c8-43ac-a972-da3149c92201" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_253956f3-fb95-4241-900a-8ad83c5a0844" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_2e18868b-77c8-43ac-a972-da3149c92201" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_bd2b5fdf-10e8-4016-88b3-c6b9d4bd0fb6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_OtherComprehensiveIncomeLossNetOfTax_253956f3-fb95-4241-900a-8ad83c5a0844" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_bd2b5fdf-10e8-4016-88b3-c6b9d4bd0fb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_0419e6b3-cc90-49fb-841e-4c7cc88ab412" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_253956f3-fb95-4241-900a-8ad83c5a0844" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_0419e6b3-cc90-49fb-841e-4c7cc88ab412" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_9b3fd1fe-288d-4609-a812-f872b012bbf3" xlink:href="sre-20210930.xsd#sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_7568544f-0ae5-478c-9cfc-8e578a235655" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_9b3fd1fe-288d-4609-a812-f872b012bbf3" xlink:to="loc_us-gaap_ProfitLoss_7568544f-0ae5-478c-9cfc-8e578a235655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e3017f2c-d4ee-4ac6-b894-0fc23ed64d8c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_9b3fd1fe-288d-4609-a812-f872b012bbf3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_e3017f2c-d4ee-4ac6-b894-0fc23ed64d8c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="sre-20210930.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_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_68281c97-ee94-4c22-aab6-0c2b7a0f7632" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_68281c97-ee94-4c22-aab6-0c2b7a0f7632" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_39140733-7e1c-4c0b-884d-a8590436d81e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_39140733-7e1c-4c0b-884d-a8590436d81e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_4ea36284-6d81-4eba-b0ce-085695bdcddf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_4ea36284-6d81-4eba-b0ce-085695bdcddf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_3bc17b3c-ef1b-46ad-ab04-39bf560bf5c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsAndOtherReceivablesNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_3bc17b3c-ef1b-46ad-ab04-39bf560bf5c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_e3f716c1-8fe5-4593-bd99-3998f01d2f09" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DueFromAffiliateCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_e3f716c1-8fe5-4593-bd99-3998f01d2f09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_2490a7ec-57d9-40ee-b38a-08d583b7e0df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_InventoryNet_2490a7ec-57d9-40ee-b38a-08d583b7e0df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_a9cbfce4-30ef-49bc-bb9b-97070547fb7e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_a9cbfce4-30ef-49bc-bb9b-97070547fb7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasAllowancesCurrent_f79da09e-5756-491d-87bc-b4f8b9f386b2" xlink:href="sre-20210930.xsd#sre_GreenhouseGasAllowancesCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_sre_GreenhouseGasAllowancesCurrent_f79da09e-5756-491d-87bc-b4f8b9f386b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_465c19b7-74ed-4db4-80d2-c65663c10cb4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_OtherAssetsCurrent_465c19b7-74ed-4db4-80d2-c65663c10cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_437f7383-edfe-4906-b877-ab2a8f3b8da5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_437f7383-edfe-4906-b877-ab2a8f3b8da5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_859040f9-124e-4f0e-abc4-2add8dab20cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_859040f9-124e-4f0e-abc4-2add8dab20cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_e61d1156-bd46-4351-a4f7-56e35c87c628" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_9be52d9c-dee9-41cd-8291-5c6c4e47b8fd" xlink:to="loc_us-gaap_IncomeTaxesReceivable_e61d1156-bd46-4351-a4f7-56e35c87c628" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_79ea9242-f69b-46fe-876f-7e7a621c703b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_90e2231f-7428-41dc-af09-539d54c105f3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_79ea9242-f69b-46fe-876f-7e7a621c703b" xlink:to="loc_us-gaap_PreferredStockValue_90e2231f-7428-41dc-af09-539d54c105f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_eb1b634a-a5ef-470a-a5e2-e84658d55e02" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_79ea9242-f69b-46fe-876f-7e7a621c703b" xlink:to="loc_us-gaap_CommonStockValue_eb1b634a-a5ef-470a-a5e2-e84658d55e02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5da9f7d5-718f-4cab-9874-037677ee44b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_79ea9242-f69b-46fe-876f-7e7a621c703b" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5da9f7d5-718f-4cab-9874-037677ee44b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2042e385-787b-41f2-93cd-6390a3a222f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_79ea9242-f69b-46fe-876f-7e7a621c703b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2042e385-787b-41f2-93cd-6390a3a222f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_bb3c77d9-1c58-4f40-8d17-b7608f4c75bb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_e320cdbc-a946-4bc4-90b7-e1268bf83b71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_bb3c77d9-1c58-4f40-8d17-b7608f4c75bb" xlink:to="loc_us-gaap_AssetsCurrent_e320cdbc-a946-4bc4-90b7-e1268bf83b71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_TotalInvestmentsAndOtherAssets_a6a804dc-b917-4c96-96c4-41221e7d2147" xlink:href="sre-20210930.xsd#sre_TotalInvestmentsAndOtherAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_bb3c77d9-1c58-4f40-8d17-b7608f4c75bb" xlink:to="loc_sre_TotalInvestmentsAndOtherAssets_a6a804dc-b917-4c96-96c4-41221e7d2147" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_b9f31f3f-f867-4e6e-b940-9b04a3b8647d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_bb3c77d9-1c58-4f40-8d17-b7608f4c75bb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_b9f31f3f-f867-4e6e-b940-9b04a3b8647d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8519308e-be52-48d4-a0e5-2db8d97f3b28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_31249f5b-bfee-454f-8b45-55b1aee0a4de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8519308e-be52-48d4-a0e5-2db8d97f3b28" xlink:to="loc_us-gaap_StockholdersEquity_31249f5b-bfee-454f-8b45-55b1aee0a4de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_84a464a1-427c-44f0-814a-ec31ca120184" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8519308e-be52-48d4-a0e5-2db8d97f3b28" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_84a464a1-427c-44f0-814a-ec31ca120184" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherMinorityInterests_aa3a2450-de26-453b-8b1c-831dc62a7555" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8519308e-be52-48d4-a0e5-2db8d97f3b28" xlink:to="loc_us-gaap_OtherMinorityInterests_aa3a2450-de26-453b-8b1c-831dc62a7555" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_dee86fea-9a03-4a73-8894-9c72b2515b07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_LiabilitiesCurrent_dee86fea-9a03-4a73-8894-9c72b2515b07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_86b5420a-cc71-480e-a920-894da01bfc4d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_86b5420a-cc71-480e-a920-894da01bfc4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_5ccc3212-3f12-4ad5-b659-bac30f8d88b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_5ccc3212-3f12-4ad5-b659-bac30f8d88b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b5cb8b98-d334-4bd8-a942-bff51c3a2775" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_StockholdersEquity_b5cb8b98-d334-4bd8-a942-bff51c3a2775" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherMinorityInterests_7c0e79df-1cb6-45a0-9469-941880f5bb45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_OtherMinorityInterests_7c0e79df-1cb6-45a0-9469-941880f5bb45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_7de704f1-8ed3-4b71-8364-b939095a8c52" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_CommitmentsAndContingencies_7de704f1-8ed3-4b71-8364-b939095a8c52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_dccab0d2-0e57-4c0a-bac0-c23d9e0c61f3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8af8899d-75ee-47a0-a174-0e306df7225f" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_dccab0d2-0e57-4c0a-bac0-c23d9e0c61f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:href="sre-20210930.xsd#sre_TotalInvestmentsAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_ffd92020-24fe-4fb4-b01d-948bc616d60d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_ffd92020-24fe-4fb4-b01d-948bc616d60d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_fb017d35-0806-4dc3-8fa4-9f5a1ed20e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatoryAssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_fb017d35-0806-4dc3-8fa4-9f5a1ed20e4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DecommissioningFundInvestments_fe56be85-1a89-4bcf-9932-b3039db04237" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DecommissioningFundInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_DecommissioningFundInvestments_fe56be85-1a89-4bcf-9932-b3039db04237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasAllowancesNoncurrent_bed42f97-017c-4da9-b765-9d8eb44a53b5" xlink:href="sre-20210930.xsd#sre_GreenhouseGasAllowancesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_sre_GreenhouseGasAllowancesNoncurrent_bed42f97-017c-4da9-b765-9d8eb44a53b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_9b623fc0-927b-434a-991e-faf23e453c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_9b623fc0-927b-434a-991e-faf23e453c2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PrepaidInsuranceFundAssetNoncurrent_f75b81ae-18e6-4ff8-a2f6-8758021d1711" xlink:href="sre-20210930.xsd#sre_PrepaidInsuranceFundAssetNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_sre_PrepaidInsuranceFundAssetNoncurrent_f75b81ae-18e6-4ff8-a2f6-8758021d1711" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_f8350de2-31cc-4d3b-9e88-b7c66d7c3172" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_f8350de2-31cc-4d3b-9e88-b7c66d7c3172" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_c66be712-3057-4233-8a30-0680037fb072" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_c66be712-3057-4233-8a30-0680037fb072" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_3f3c4260-7a8d-4501-aab0-eb6e17093151" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_EquityMethodInvestments_3f3c4260-7a8d-4501-aab0-eb6e17093151" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_9bc5bdc0-0159-4278-a25c-f10c08ca41ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_OtherInvestments_9bc5bdc0-0159-4278-a25c-f10c08ca41ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_b0603c7b-c642-4386-b427-11d6b5496edc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_Goodwill_b0603c7b-c642-4386-b427-11d6b5496edc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_92a93869-c82d-4fd8-8d57-67b50ce65115" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_92a93869-c82d-4fd8-8d57-67b50ce65115" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldInTrustNoncurrent_edd397e1-47b9-4c62-9c11-c6411a75376e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldInTrustNoncurrent"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_AssetsHeldInTrustNoncurrent_edd397e1-47b9-4c62-9c11-c6411a75376e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceSettlementsReceivableNoncurrent_242a1dc9-4b44-480b-ab05-21151e7d11a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InsuranceSettlementsReceivableNoncurrent"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_InsuranceSettlementsReceivableNoncurrent_242a1dc9-4b44-480b-ab05-21151e7d11a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_243f4217-240f-4548-9b75-d3eb8df97e12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_fad698cc-e626-49d6-a99e-73c9588fa381" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_243f4217-240f-4548-9b75-d3eb8df97e12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_12a5bf4a-6810-41d3-a351-5fde193fb2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DueToAffiliateNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_12a5bf4a-6810-41d3-a351-5fde193fb2dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_d0ae8374-5f4a-42ae-b04d-897ac200dbc4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_d0ae8374-5f4a-42ae-b04d-897ac200dbc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_78ad8852-17f5-4d30-a9a0-f85078681e32" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_78ad8852-17f5-4d30-a9a0-f85078681e32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDeferredInvestmentTaxCredit_22f147e7-d3db-4b80-a28a-20a947baf2aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDeferredInvestmentTaxCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_AccumulatedDeferredInvestmentTaxCredit_22f147e7-d3db-4b80-a28a-20a947baf2aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryLiabilityNoncurrent_a6a51097-21b4-4495-ad0c-a9bed5e5af29" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatoryLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_RegulatoryLiabilityNoncurrent_a6a51097-21b4-4495-ad0c-a9bed5e5af29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_f01d9f34-45a6-4b93-a2a9-e18f57db7f96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_f01d9f34-45a6-4b93-a2a9-e18f57db7f96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasObligationsNoncurrent_0290e01b-68cf-4163-bddb-d292d5d397e8" xlink:href="sre-20210930.xsd#sre_GreenhouseGasObligationsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_sre_GreenhouseGasObligationsNoncurrent_0290e01b-68cf-4163-bddb-d292d5d397e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilities_7f4891e2-c470-491d-b7ac-71e3dada7953" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredCreditsAndOtherLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilities_7f4891e2-c470-491d-b7ac-71e3dada7953" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PayableRelatedToNaturalGasLeakNoncurrent_e9d5b3c1-7d03-47e5-be75-53e1f0b18018" xlink:href="sre-20210930.xsd#sre_PayableRelatedToNaturalGasLeakNoncurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_cae045d9-3148-4223-96ea-a20ef56c3da8" xlink:to="loc_sre_PayableRelatedToNaturalGasLeakNoncurrent_e9d5b3c1-7d03-47e5-be75-53e1f0b18018" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_2be930e0-29d9-4e17-b821-f5295a6eed1e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_ShortTermBorrowings_2be930e0-29d9-4e17-b821-f5295a6eed1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_b109999d-1ab6-4a44-b77c-ff4c9a280640" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_AccountsPayableCurrent_b109999d-1ab6-4a44-b77c-ff4c9a280640" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToAffiliateCurrent_afc3d70a-826b-416a-a29b-80429b5bc6ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DueToAffiliateCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_DueToAffiliateCurrent_afc3d70a-826b-416a-a29b-80429b5bc6ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_305ab1fa-57cb-4c2b-bf09-7dbab6d1cefb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_305ab1fa-57cb-4c2b-bf09-7dbab6d1cefb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_22b902d2-edf0-4997-bf2b-14908289272c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_22b902d2-edf0-4997-bf2b-14908289272c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryLiabilityCurrent_e6f84df0-eda1-4f49-8de1-34bf9a6c56c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatoryLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_RegulatoryLiabilityCurrent_e6f84df0-eda1-4f49-8de1-34bf9a6c56c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_206edd75-ec36-47a9-b1b4-69cd6e5baad6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_206edd75-ec36-47a9-b1b4-69cd6e5baad6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GreenhouseGasObligationsCurrent_f13465c3-6e24-461c-8584-7ab020e24503" xlink:href="sre-20210930.xsd#sre_GreenhouseGasObligationsCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_sre_GreenhouseGasObligationsCurrent_f13465c3-6e24-461c-8584-7ab020e24503" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationCurrent_403d333e-17b0-46d5-83ca-3e15cb8a51d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetRetirementObligationCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_AssetRetirementObligationCurrent_403d333e-17b0-46d5-83ca-3e15cb8a51d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_ea874311-5e4a-450f-a81d-a3c86205cf0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_ea874311-5e4a-450f-a81d-a3c86205cf0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_4f4ecf24-97cc-44e3-90a8-f86a046aa0c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_InterestPayableCurrent_4f4ecf24-97cc-44e3-90a8-f86a046aa0c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_9989638b-c868-4846-9135-d2dc74e80859" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_9989638b-c868-4846-9135-d2dc74e80859" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_952f0799-eaac-4a56-ad85-064d39d41e80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableOtherCurrent"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_952f0799-eaac-4a56-ad85-064d39d41e80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_PayableRelatedToNaturalGasLeakCurrent_4b1fe219-8421-4f86-a7ce-161aef916e9c" xlink:href="sre-20210930.xsd#sre_PayableRelatedToNaturalGasLeakCurrent"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_sre_PayableRelatedToNaturalGasLeakCurrent_4b1fe219-8421-4f86-a7ce-161aef916e9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendsPayableCurrent_7301bfbb-0ed5-4469-b36b-9cec6b5ea14f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendsPayableCurrent"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_InterestAndDividendsPayableCurrent_7301bfbb-0ed5-4469-b36b-9cec6b5ea14f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e0683ab1-e83f-4242-8546-46cd64a1c832" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_9e2239fc-d649-416d-a81e-cdaec8adf043" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e0683ab1-e83f-4242-8546-46cd64a1c832" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_fc9fcc18-3df8-4062-b1eb-a27fc3f530a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_8ff43fc5-f50a-40a1-a5c1-93e22571c3b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_fc9fcc18-3df8-4062-b1eb-a27fc3f530a4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_8ff43fc5-f50a-40a1-a5c1-93e22571c3b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_8c053a7a-b2db-4c85-abe7-878e9fab62b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_fc9fcc18-3df8-4062-b1eb-a27fc3f530a4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_8c053a7a-b2db-4c85-abe7-878e9fab62b9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="sre-20210930.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_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_4bb85a2a-7bdc-4d9d-a7b2-467407c02953" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_4bb85a2a-7bdc-4d9d-a7b2-467407c02953" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_8036f7c3-976e-4793-84b2-1242ddfde96d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_8036f7c3-976e-4793-84b2-1242ddfde96d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_c17203ee-05af-4b0f-93ab-9eb386fc978e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_c17203ee-05af-4b0f-93ab-9eb386fc978e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_5afde75e-e77a-4020-9739-2eef2ebf4066" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_5afde75e-e77a-4020-9739-2eef2ebf4066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToInvestInDecommissioningFund_1fb43ea3-4903-4900-a23e-a3246e195b15" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_PaymentsToInvestInDecommissioningFund_1fb43ea3-4903-4900-a23e-a3246e195b15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDecommissioningFund_2717a73d-5611-4319-b15e-56395ed6b49a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromDecommissioningFund"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_ProceedsFromDecommissioningFund_2717a73d-5611-4319-b15e-56395ed6b49a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_743955da-d79d-4232-a428-2ca5a16e18e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToFundLongtermLoansToRelatedParties"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_743955da-d79d-4232-a428-2ca5a16e18e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_ae3e9f4e-9405-4b1d-90e9-1b982ec9038a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_ae3e9f4e-9405-4b1d-90e9-1b982ec9038a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_903c7454-6025-4447-8a42-b90d996a7321" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_3ebeebbc-43cf-48b6-9b62-8d22d6c7b3a3" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_903c7454-6025-4447-8a42-b90d996a7321" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9602e40a-e8ae-4350-80e9-cecdffd62c9c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsContinuingOperations_c0f07f95-4f26-4e33-93f5-992b77004606" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9602e40a-e8ae-4350-80e9-cecdffd62c9c" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsContinuingOperations_c0f07f95-4f26-4e33-93f5-992b77004606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsDiscontinuedOperations_64b5a6e8-6625-4b0f-a1ed-b53275c8a671" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9602e40a-e8ae-4350-80e9-cecdffd62c9c" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsDiscontinuedOperations_64b5a6e8-6625-4b0f-a1ed-b53275c8a671" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cdf84f66-8976-42d8-be7f-744ef6c6f94e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b885e7d6-1a21-43c8-b5bf-c47c2dcb5f51" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cdf84f66-8976-42d8-be7f-744ef6c6f94e" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b885e7d6-1a21-43c8-b5bf-c47c2dcb5f51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e74578fe-c748-4411-ad68-209eec287294" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cdf84f66-8976-42d8-be7f-744ef6c6f94e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e74578fe-c748-4411-ad68-209eec287294" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a1cc6c66-7eae-41e7-a6e0-787d3c3dc8e6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cdf84f66-8976-42d8-be7f-744ef6c6f94e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a1cc6c66-7eae-41e7-a6e0-787d3c3dc8e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_64ba53a9-9582-458e-ace0-cf77da28f088" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cdf84f66-8976-42d8-be7f-744ef6c6f94e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_64ba53a9-9582-458e-ace0-cf77da28f088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_72d60f34-eccf-4476-a074-090a965c3a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_d1fd0777-7255-4935-a60f-8712c6be4428" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_72d60f34-eccf-4476-a074-090a965c3a3b" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_d1fd0777-7255-4935-a60f-8712c6be4428" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_dbbd0864-fc1b-4a4a-9c33-7e31aac021ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_72d60f34-eccf-4476-a074-090a965c3a3b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_dbbd0864-fc1b-4a4a-9c33-7e31aac021ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_96a9f8b6-7cd9-48ed-bac4-49c61d06a740" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_96a9f8b6-7cd9-48ed-bac4-49c61d06a740" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_27c91e4d-9d3b-4cc1-90c6-fe0934b0a1b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_DepreciationAndAmortization_27c91e4d-9d3b-4cc1-90c6-fe0934b0a1b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1150f0a1-137f-4391-ab1d-2ad09f66b8b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1150f0a1-137f-4391-ab1d-2ad09f66b8b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_IncomeLossFromEquityInvestments_094d09f0-a956-4311-a9bc-8aa7b025476e" xlink:href="sre-20210930.xsd#sre_IncomeLossFromEquityInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_sre_IncomeLossFromEquityInvestments_094d09f0-a956-4311-a9bc-8aa7b025476e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_566835ab-f2c8-497c-a145-f8bf5a279ca9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_ShareBasedCompensation_566835ab-f2c8-497c-a145-f8bf5a279ca9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_41f0e674-f7be-42a8-b145-7e6470a6a2eb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_41f0e674-f7be-42a8-b145-7e6470a6a2eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_884c44b3-51ca-4b41-b56e-70aaa6d327da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_884c44b3-51ca-4b41-b56e-70aaa6d327da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_6cdf5627-4753-4e89-a453-e044f4f47137" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_6cdf5627-4753-4e89-a453-e044f4f47137" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_2ff8ca3f-ef04-4c72-9765-f54ed5fb73a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_2ff8ca3f-ef04-4c72-9765-f54ed5fb73a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_4bb2ecae-e9b7-46a7-a219-4e0e02e9e8ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_4bb2ecae-e9b7-46a7-a219-4e0e02e9e8ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_24eb0c9d-beab-47dc-9fde-4a9cdc008812" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_24eb0c9d-beab-47dc-9fde-4a9cdc008812" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_fcf3907d-25c5-4154-99b5-ce6bf58b735c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_fcf3907d-25c5-4154-99b5-ce6bf58b735c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_e4f34218-3ef1-46e9-91a8-854c69f804ee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_47ce1ec3-9566-4795-988c-96de7baf25a9" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_e4f34218-3ef1-46e9-91a8-854c69f804ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bb44bcee-3b8e-48dc-a85d-000e400c2aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_d5c45fd5-2907-4b91-9259-37d720a74ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bb44bcee-3b8e-48dc-a85d-000e400c2aa9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_d5c45fd5-2907-4b91-9259-37d720a74ce8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_02b424ea-dc12-4ae6-a2cb-5242e6851172" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_bb44bcee-3b8e-48dc-a85d-000e400c2aa9" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_02b424ea-dc12-4ae6-a2cb-5242e6851172" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_f30ab04f-3982-498c-8ae5-5fe7a8cd7a41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_f30ab04f-3982-498c-8ae5-5fe7a8cd7a41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToInvestInDecommissioningFund_be4b1009-2f44-459e-ac62-41039743ee34" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToInvestInDecommissioningFund"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_PaymentsToInvestInDecommissioningFund_be4b1009-2f44-459e-ac62-41039743ee34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDecommissioningFund_c6bf42a1-7113-45b2-b348-8c2e94d36407" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromDecommissioningFund"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_ProceedsFromDecommissioningFund_c6bf42a1-7113-45b2-b348-8c2e94d36407" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_f7573783-d573-43b6-b449-1bdf9a4504cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_f7573783-d573-43b6-b449-1bdf9a4504cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_8debc71a-30e8-4e74-8694-f820b42b1a91" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_8debc71a-30e8-4e74-8694-f820b42b1a91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_dfee1b9d-1e37-4011-806a-657c5b9489f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_dfee1b9d-1e37-4011-806a-657c5b9489f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_9ea96539-2bd5-4c14-a237-ee75b0b695df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_9ea96539-2bd5-4c14-a237-ee75b0b695df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_28212939-4ef2-4e73-9fa3-ae23cba0f109" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToFundLongtermLoansToRelatedParties"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_28212939-4ef2-4e73-9fa3-ae23cba0f109" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_d3e3e9db-c017-4750-8e64-e849046c0b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1474ef6c-901b-4f11-9003-8df01a0dae3a" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_d3e3e9db-c017-4750-8e64-e849046c0b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_b90574a4-7553-4295-9d87-d1a2dfbd8a7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_b90574a4-7553-4295-9d87-d1a2dfbd8a7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8754eb79-aaf3-401c-8476-ca4df9bbb290" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8754eb79-aaf3-401c-8476-ca4df9bbb290" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_60ec57af-809c-4318-b4ef-a90412efb763" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_60ec57af-809c-4318-b4ef-a90412efb763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_375732ea-3721-4f2b-aca7-22a571d0e239" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_375732ea-3721-4f2b-aca7-22a571d0e239" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_51e842a3-9902-47b4-803a-1786a1e00837" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_51e842a3-9902-47b4-803a-1786a1e00837" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_9f4652c9-00a4-4188-83c3-044574ec71d8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_9f4652c9-00a4-4188-83c3-044574ec71d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_0a72ad76-b6fb-4e78-b77e-9d84ff3eb047" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_0a72ad76-b6fb-4e78-b77e-9d84ff3eb047" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromContributionsFromAffiliates_d54725ef-b97b-45f6-ab81-356bfcfed7a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_ProceedsFromContributionsFromAffiliates_d54725ef-b97b-45f6-ab81-356bfcfed7a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_7495b012-99c2-44bb-9352-9c8108183259" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_7495b012-99c2-44bb-9352-9c8108183259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ProceedsFromSaleOfNoncontrollingInterestNetOfOfferingCosts_703bcf43-7e69-4506-8cb5-3a40d8e728f2" xlink:href="sre-20210930.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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_sre_ProceedsFromSaleOfNoncontrollingInterestNetOfOfferingCosts_703bcf43-7e69-4506-8cb5-3a40d8e728f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_10673f28-3b3a-4741-8870-8c9c9fcf775a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_10673f28-3b3a-4741-8870-8c9c9fcf775a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock_586543c3-d1f3-4f55-bf11-5766c3baaef1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_bfb3b222-f908-4629-b0cd-9d7cf912ac56" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock_586543c3-d1f3-4f55-bf11-5766c3baaef1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS_1" xlink:type="simple" xlink:href="sre-20210930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS_1"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_9b3585b2-b95f-4c6d-9558-03470998dd12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_9b3585b2-b95f-4c6d-9558-03470998dd12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_fd2dd137-bd4e-495f-b6bb-8ad099b60306" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_fd2dd137-bd4e-495f-b6bb-8ad099b60306" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_3cc7ac82-9396-438e-806e-2c4e1d29b32e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_3cc7ac82-9396-438e-806e-2c4e1d29b32e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_ff11a116-0b84-4c9a-8262-47db4ce8697b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_ff11a116-0b84-4c9a-8262-47db4ce8697b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_dc023f4c-cf42-430a-aa94-79a8fb1a6813" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_dc023f4c-cf42-430a-aa94-79a8fb1a6813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_bfe5fd49-a7f3-41ba-a034-c2e66ceddb49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_bfe5fd49-a7f3-41ba-a034-c2e66ceddb49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_baa2d7eb-93cd-4210-8e12-06dc599df376" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_baa2d7eb-93cd-4210-8e12-06dc599df376" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_0f9cbb84-2368-450b-981a-907bd4dd5aa2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88316b64-1689-496a-8169-892b1d7542a7" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_0f9cbb84-2368-450b-981a-907bd4dd5aa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_46ee1ef8-4440-4062-a6fa-419db264a679" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_ProfitLoss_46ee1ef8-4440-4062-a6fa-419db264a679" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_4faab7b8-021a-4072-a47f-8295ec618915" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_4faab7b8-021a-4072-a47f-8295ec618915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_1ccd77c8-19c9-4e3c-b20a-d91cdf501f68" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet_1ccd77c8-19c9-4e3c-b20a-d91cdf501f68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_b4473347-cd59-4de7-944c-9c4b00df691f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_b4473347-cd59-4de7-944c-9c4b00df691f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_3bd287cc-c600-495f-8cf2-44f40975f991" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_3bd287cc-c600-495f-8cf2-44f40975f991" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_a6a4dcc5-a77c-408e-b0bf-47f94e8da24d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_a6a4dcc5-a77c-408e-b0bf-47f94e8da24d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_b1eca7f7-7940-4a0d-9137-916f30fc5d23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_b1eca7f7-7940-4a0d-9137-916f30fc5d23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_ReserveForAlisoCanyonCosts_6267ab64-023c-4821-bb56-108b97d24e2d" xlink:href="sre-20210930.xsd#sre_ReserveForAlisoCanyonCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_caa0d1fe-e0cd-42ef-8946-6bdcaa016f6a" xlink:to="loc_sre_ReserveForAlisoCanyonCosts_6267ab64-023c-4821-bb56-108b97d24e2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3a2d582a-2f64-4aa1-9407-7a632b0205d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_86c314a9-605b-4eb6-9bd6-0b596599af41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3a2d582a-2f64-4aa1-9407-7a632b0205d5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_86c314a9-605b-4eb6-9bd6-0b596599af41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_205a747b-49aa-403d-b91f-e91c3c562b4d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3a2d582a-2f64-4aa1-9407-7a632b0205d5" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_205a747b-49aa-403d-b91f-e91c3c562b4d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAINVENTORIESDetails" xlink:type="simple" xlink:href="sre-20210930.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_d3eefeab-f9ec-4d45-b106-4b0c65f0b3d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_e648c870-1ccc-4df4-8a0a-9258897a0866" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_d3eefeab-f9ec-4d45-b106-4b0c65f0b3d9" xlink:to="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_e648c870-1ccc-4df4-8a0a-9258897a0866" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_57a91efe-174a-4823-bcfa-1c03861e3caf" xlink:href="sre-20210930.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_d3eefeab-f9ec-4d45-b106-4b0c65f0b3d9" xlink:to="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_57a91efe-174a-4823-bcfa-1c03861e3caf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_6d5cbda8-60bd-4c9d-9ae5-786546e5d855" xlink:href="sre-20210930.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_d3eefeab-f9ec-4d45-b106-4b0c65f0b3d9" xlink:to="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_6d5cbda8-60bd-4c9d-9ae5-786546e5d855" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAOTHERINTANGIBLEASSETSDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAOTHERINTANGIBLEASSETSDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAOTHERINTANGIBLEASSETSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_aba8b12a-d440-4c9d-ac00-3fb39b77a439" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a930ca0b-2591-4711-9a04-3c2dfd92c316" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_aba8b12a-d440-4c9d-ac00-3fb39b77a439" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a930ca0b-2591-4711-9a04-3c2dfd92c316" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_88173639-5fb7-4226-a071-ac3286d232b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_aba8b12a-d440-4c9d-ac00-3fb39b77a439" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_88173639-5fb7-4226-a071-ac3286d232b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAPENSIONANDOTHERPOSTRETIREMENTBENEFITSDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAPENSIONANDOTHERPOSTRETIREMENTBENEFITSDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAPENSIONANDOTHERPOSTRETIREMENTBENEFITSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_sre_DefinedBenefitPlanExpense_57aa4e53-c5bc-42e2-98fa-4c8e586a1e2c" xlink:href="sre-20210930.xsd#sre_DefinedBenefitPlanExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_8e80571e-f0c0-41f9-8633-8c226e9318fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_DefinedBenefitPlanExpense_57aa4e53-c5bc-42e2-98fa-4c8e586a1e2c" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_8e80571e-f0c0-41f9-8633-8c226e9318fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_15fc6407-fb76-428f-ab21-a7d422f47f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_DefinedBenefitPlanExpense_57aa4e53-c5bc-42e2-98fa-4c8e586a1e2c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_15fc6407-fb76-428f-ab21-a7d422f47f9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_ad03bd63-33ea-46c7-93cf-e839c48744ee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_ad03bd63-33ea-46c7-93cf-e839c48744ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_a5cdfdfc-c6b0-459d-855f-027129300a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_a5cdfdfc-c6b0-459d-855f-027129300a0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_a05f25e7-fbf7-4937-8080-3bceea478ff3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_a05f25e7-fbf7-4937-8080-3bceea478ff3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_29d3fe1d-9274-4b61-a669-82a6e63f5077" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_29d3fe1d-9274-4b61-a669-82a6e63f5077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4cc4f91c-be36-494b-8128-27f35ec9662a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4cc4f91c-be36-494b-8128-27f35ec9662a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_65242092-1b1d-41d7-9c6a-607721994584" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_ece183fe-62e8-46e8-9243-5f6d49870ad5" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_65242092-1b1d-41d7-9c6a-607721994584" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAEARNINGSPERCOMMONSHAREDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAEARNINGSPERCOMMONSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAEARNINGSPERCOMMONSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_a1a16ed9-ebee-4004-a741-eadbe39c17d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_d837019e-f1c4-4d66-b478-ac87fc577616" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a1a16ed9-ebee-4004-a741-eadbe39c17d4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_d837019e-f1c4-4d66-b478-ac87fc577616" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e46933a4-6faf-4d02-bd95-19585de66377" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a1a16ed9-ebee-4004-a741-eadbe39c17d4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e46933a4-6faf-4d02-bd95-19585de66377" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_a5273299-da6f-42d5-8016-b2f3f9159088" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_a1a16ed9-ebee-4004-a741-eadbe39c17d4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_a5273299-da6f-42d5-8016-b2f3f9159088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersDiluted_1a9deb6d-6cbd-4b7b-9073-2110f030f094" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_a356514a-2502-46f3-b5fd-f21e9bfb8268" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersDiluted_1a9deb6d-6cbd-4b7b-9073-2110f030f094" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_a356514a-2502-46f3-b5fd-f21e9bfb8268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity_57b2fb79-10eb-4147-9815-df7deafc55a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersDiluted_1a9deb6d-6cbd-4b7b-9073-2110f030f094" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity_57b2fb79-10eb-4147-9815-df7deafc55a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_f2f2b789-d3b6-40f0-8848-00f4542ba8dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersDiluted_1a9deb6d-6cbd-4b7b-9073-2110f030f094" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_f2f2b789-d3b6-40f0-8848-00f4542ba8dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPreferredStockDividendsAndAdjustments_ca77c1bb-1856-461e-b568-878bb7dedc26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersDiluted_1a9deb6d-6cbd-4b7b-9073-2110f030f094" xlink:to="loc_us-gaap_OtherPreferredStockDividendsAndAdjustments_ca77c1bb-1856-461e-b568-878bb7dedc26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_3f1640ce-ef6e-4b71-96e2-316a1482adba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_f89a8a7a-d19a-48db-b480-81b4d93a7b9b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_3f1640ce-ef6e-4b71-96e2-316a1482adba" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_f89a8a7a-d19a-48db-b480-81b4d93a7b9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_b17bfac7-16f0-4d39-9ae4-2246c78725f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_3f1640ce-ef6e-4b71-96e2-316a1482adba" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_b17bfac7-16f0-4d39-9ae4-2246c78725f4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATACHANGESINACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails" xlink:type="simple" xlink:href="sre-20210930.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_0614cdaa-591e-48da-a5dc-f2509f7fc028" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_77cad348-008b-45a6-a2d0-52f78cbe947c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_0614cdaa-591e-48da-a5dc-f2509f7fc028" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_77cad348-008b-45a6-a2d0-52f78cbe947c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_9be869ac-1551-40fb-b741-8ce01d10e399" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_0614cdaa-591e-48da-a5dc-f2509f7fc028" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_9be869ac-1551-40fb-b741-8ce01d10e399" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAOTHEREXPENSEINCOMENETDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#GENERALINFORMATIONANDOTHERFINANCIALDATAOTHEREXPENSEINCOMENETDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GENERALINFORMATIONANDOTHERFINANCIALDATAOTHEREXPENSEINCOMENETDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_35444240-a56e-435a-9967-f92e255aacb3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_35444240-a56e-435a-9967-f92e255aacb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_ae5f0e8e-0a89-49ae-a2e0-a20b74a3d95b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_us-gaap_GainLossOnInvestments_ae5f0e8e-0a89-49ae-a2e0-a20b74a3d95b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_4eae1052-4340-4996-91ab-25c4d0ef7d77" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_4eae1052-4340-4996-91ab-25c4d0ef7d77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DefinedBenefitPlanNetPeriodicBenefitCostCredit.ExcludingServiceCost_8f5e37b9-4fd3-4a2f-a3e6-5bea59ca1d3a" xlink:href="sre-20210930.xsd#sre_DefinedBenefitPlanNetPeriodicBenefitCostCredit.ExcludingServiceCost"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_sre_DefinedBenefitPlanNetPeriodicBenefitCostCredit.ExcludingServiceCost_8f5e37b9-4fd3-4a2f-a3e6-5bea59ca1d3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_RegulatoryInterestNet_c3b527be-3bd0-4b1d-9163-1b44833ae315" xlink:href="sre-20210930.xsd#sre_RegulatoryInterestNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_sre_RegulatoryInterestNet_c3b527be-3bd0-4b1d-9163-1b44833ae315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_20a21fae-5abd-4cf4-a0bb-c9c7a383ca4f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_20a21fae-5abd-4cf4-a0bb-c9c7a383ca4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_OtherSundryExpensesNet_8ca8b0f7-2450-45df-a84e-4dc9e5e22fda" xlink:href="sre-20210930.xsd#sre_OtherSundryExpensesNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_sre_OtherSundryExpensesNet_8ca8b0f7-2450-45df-a84e-4dc9e5e22fda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_LegalFinesRelatedToEEPInquiry_6d3b8aca-ab0a-4a57-a03a-3004b1d91d55" xlink:href="sre-20210930.xsd#sre_LegalFinesRelatedToEEPInquiry"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_c2e00852-6da1-43e7-afcc-1a0e194e0161" xlink:to="loc_sre_LegalFinesRelatedToEEPInquiry_6d3b8aca-ab0a-4a57-a03a-3004b1d91d55" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/REVENUESDISAGGREGATIONOFREVENUEDetails" xlink:type="simple" xlink:href="sre-20210930.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_95c7a1db-3e4d-4ed6-99c0-1a84430d30ac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_337f3001-bd92-4c40-895c-9767dc183096" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_95c7a1db-3e4d-4ed6-99c0-1a84430d30ac" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_337f3001-bd92-4c40-895c-9767dc183096" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_UtilitiesRegulatoryRevenue_42e32d62-2a8a-47e9-8373-00d680be874f" xlink:href="sre-20210930.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_95c7a1db-3e4d-4ed6-99c0-1a84430d30ac" xlink:to="loc_sre_UtilitiesRegulatoryRevenue_42e32d62-2a8a-47e9-8373-00d680be874f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_1e79dacd-2a96-44cc-96d0-7b64b395f32b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_95c7a1db-3e4d-4ed6-99c0-1a84430d30ac" xlink:to="loc_us-gaap_OtherIncome_1e79dacd-2a96-44cc-96d0-7b64b395f32b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/ACQUISITIONSDIVESTITURESANDDISCONTINUEDOPERATIONSDISCONTINUEDOPERATIONSDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#ACQUISITIONSDIVESTITURESANDDISCONTINUEDOPERATIONSDISCONTINUEDOPERATIONSDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/ACQUISITIONSDIVESTITURESANDDISCONTINUEDOPERATIONSDISCONTINUEDOPERATIONSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_0997c97d-f75f-40fc-b6fa-49a268c07440" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_4b0d82d9-9dcc-4de2-ab7b-aaf28b4a528d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_0997c97d-f75f-40fc-b6fa-49a268c07440" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_4b0d82d9-9dcc-4de2-ab7b-aaf28b4a528d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_604cf3e4-86e6-4c09-92ea-b50044a9abad" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_0997c97d-f75f-40fc-b6fa-49a268c07440" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_604cf3e4-86e6-4c09-92ea-b50044a9abad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense_a1ab028b-efc1-4196-b95d-843e85f6d931" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_0997c97d-f75f-40fc-b6fa-49a268c07440" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense_a1ab028b-efc1-4196-b95d-843e85f6d931" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_50f72ea7-db09-46f7-941b-dfbbf7e2a741" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_0997c97d-f75f-40fc-b6fa-49a268c07440" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_50f72ea7-db09-46f7-941b-dfbbf7e2a741" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_6c065ecd-f081-4ee4-a41e-c5d49ba5ab4b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_0997c97d-f75f-40fc-b6fa-49a268c07440" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_6c065ecd-f081-4ee4-a41e-c5d49ba5ab4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/INVESTMENTSINUNCONSOLIDATEDENTITIESSUMMARIZEDFINANCIALINFORMATIONDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#INVESTMENTSINUNCONSOLIDATEDENTITIESSUMMARIZEDFINANCIALINFORMATIONDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/INVESTMENTSINUNCONSOLIDATEDENTITIESSUMMARIZEDFINANCIALINFORMATIONDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_743a76ad-43af-4616-9b53-2d25d25ccc45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_7ab3b897-cd9a-420a-bdb0-c159ce649029" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RegulatedOperatingRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_743a76ad-43af-4616-9b53-2d25d25ccc45" xlink:to="loc_us-gaap_RegulatedOperatingRevenue_7ab3b897-cd9a-420a-bdb0-c159ce649029" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_Equitymethodinvestmentsummarizedfinancialinformationoperatingexpense_5bc23b02-149c-4c62-9b50-b2ce26e49ffe" xlink:href="sre-20210930.xsd#sre_Equitymethodinvestmentsummarizedfinancialinformationoperatingexpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_743a76ad-43af-4616-9b53-2d25d25ccc45" xlink:to="loc_sre_Equitymethodinvestmentsummarizedfinancialinformationoperatingexpense_5bc23b02-149c-4c62-9b50-b2ce26e49ffe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/DERIVATIVEFINANCIALINSTRUMENTSDERIVATIVEINSTRUMENTSONTHECONDENSEDBALANCESHEETDetails" xlink:type="simple" xlink:href="sre-20210930.xsd#DERIVATIVEFINANCIALINSTRUMENTSDERIVATIVEINSTRUMENTSONTHECONDENSEDBALANCESHEETDetails"/>
  <link:calculationLink xlink:role="http://www.sempra.com/role/DERIVATIVEFINANCIALINSTRUMENTSDERIVATIVEINSTRUMENTSONTHECONDENSEDBALANCESHEETDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:href="sre-20210930.xsd#sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated_2352637e-055d-480b-8fb0-40424efc99cc" xlink:href="sre-20210930.xsd#sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated_2352637e-055d-480b-8fb0-40424efc99cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated_b526047d-b4e2-458b-a79d-887e1a4177b5" xlink:href="sre-20210930.xsd#sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated_b526047d-b4e2-458b-a79d-887e1a4177b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated_c4cf574b-d800-4afe-ada7-7a0a72b2d512" xlink:href="sre-20210930.xsd#sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated_c4cf574b-d800-4afe-ada7-7a0a72b2d512" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated_a66b686d-afa6-4a03-8542-4dbfbbdff3ab" xlink:href="sre-20210930.xsd#sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated_a66b686d-afa6-4a03-8542-4dbfbbdff3ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated_6930a620-e0e3-44ec-a4fc-b2b50c95ccd4" xlink:href="sre-20210930.xsd#sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated_6930a620-e0e3-44ec-a4fc-b2b50c95ccd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeForeignExchangeInstrumentsNondesignated_1b06fd8d-45d7-4f5b-b8a2-53581d42f1d4" xlink:href="sre-20210930.xsd#sre_DerivativeForeignExchangeInstrumentsNondesignated"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeForeignExchangeInstrumentsNondesignated_1b06fd8d-45d7-4f5b-b8a2-53581d42f1d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_DerivativeOffsettingCashCollateralNotSubjectToRateRecoveryNondesignated_0b59ecd9-334d-48b7-9d5c-7a4b1d2be946" xlink:href="sre-20210930.xsd#sre_DerivativeOffsettingCashCollateralNotSubjectToRateRecoveryNondesignated"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_84248757-402f-4ab1-a14c-ab13f3f9dc9d" xlink:to="loc_sre_DerivativeOffsettingCashCollateralNotSubjectToRateRecoveryNondesignated_0b59ecd9-334d-48b7-9d5c-7a4b1d2be946" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_961852a0-0574-4af0-99f5-f384ede6f66a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6b66a9ae-6dbf-4ec6-a7b8-37b348e3902e" xlink:href="sre-20210930.xsd#sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_961852a0-0574-4af0-99f5-f384ede6f66a" xlink:to="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6b66a9ae-6dbf-4ec6-a7b8-37b348e3902e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_d48c522b-9784-492c-b287-bc29b4f17464" xlink:href="sre-20210930.xsd#sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_961852a0-0574-4af0-99f5-f384ede6f66a" xlink:to="loc_sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_d48c522b-9784-492c-b287-bc29b4f17464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_b5a6ea5a-0b31-42f2-a371-f61c7881baeb" xlink:href="sre-20210930.xsd#sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_961852a0-0574-4af0-99f5-f384ede6f66a" xlink:to="loc_sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_b5a6ea5a-0b31-42f2-a371-f61c7881baeb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/FAIRVALUEMEASUREMENTSRECURRINGFAIRVALUEMEASURESDetails" xlink:type="simple" xlink:href="sre-20210930.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_23715847-0dc7-43d6-b708-36465b798824" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_GuarantorObligationsAssetFairValueDisclosure_34f45833-5882-409e-9eb4-c8915ba0ae37" xlink:href="sre-20210930.xsd#sre_GuarantorObligationsAssetFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_23715847-0dc7-43d6-b708-36465b798824" xlink:to="loc_sre_GuarantorObligationsAssetFairValueDisclosure_34f45833-5882-409e-9eb4-c8915ba0ae37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_422e39c8-c61f-4cbc-8763-c0d07b79747a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_AssetsFairValueDisclosure_23715847-0dc7-43d6-b708-36465b798824" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_422e39c8-c61f-4cbc-8763-c0d07b79747a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_7adac6ea-6fc8-4691-bc74-77134a636d48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_145e2756-a5d1-4adc-83ca-1fb7930ec548" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_LiabilitiesFairValueDisclosure_7adac6ea-6fc8-4691-bc74-77134a636d48" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_145e2756-a5d1-4adc-83ca-1fb7930ec548" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DecommissioningTrustAssetsAmount_c0cf16ae-15b9-480b-bffb-498ec00b1d56" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DecommissioningTrustAssetsAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_487d836b-c610-4f6a-9e31-4c92b3f4f9f9" xlink:href="sre-20210930.xsd#sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DecommissioningTrustAssetsAmount_c0cf16ae-15b9-480b-bffb-498ec00b1d56" xlink:to="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_487d836b-c610-4f6a-9e31-4c92b3f4f9f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue_4dcde368-9169-4198-b3a6-4bf38274ffe1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DecommissioningTrustAssetsAmount_c0cf16ae-15b9-480b-bffb-498ec00b1d56" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue_4dcde368-9169-4198-b3a6-4bf38274ffe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_032cb1c8-02fb-4d54-ac80-505bc6c07ef4" xlink:href="sre-20210930.xsd#sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue_3d57b771-9e0a-4637-a64b-e3381f785a3c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_032cb1c8-02fb-4d54-ac80-505bc6c07ef4" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue_3d57b771-9e0a-4637-a64b-e3381f785a3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue_fdc858c8-f095-44e7-9b64-434226039e3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_032cb1c8-02fb-4d54-ac80-505bc6c07ef4" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue_fdc858c8-f095-44e7-9b64-434226039e3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedOtherAtFairValue_e2fb835b-0180-4f04-86cf-ceb24d463778" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedOtherAtFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_032cb1c8-02fb-4d54-ac80-505bc6c07ef4" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedOtherAtFairValue_e2fb835b-0180-4f04-86cf-ceb24d463778" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sempra.com/role/SANONOFRENUCLEARGENERATINGSTATIONNUCLEARDECOMMISSIONINGTRUSTSDetails" xlink:type="simple" xlink:href="sre-20210930.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_6d71090b-6ec3-46b3-bc1e-489ba90b0ef5" xlink:href="sre-20210930.xsd#sre_SecuritiesHeldInNuclearDecommissioningTrustsAmortizedCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedGainBeforeTax_65c37d3c-16c0-4eec-9163-3f22a3d99593" xlink:href="sre-20210930.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_6d71090b-6ec3-46b3-bc1e-489ba90b0ef5" xlink:to="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedGainBeforeTax_65c37d3c-16c0-4eec-9163-3f22a3d99593" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedLossBeforeTax_5c678d39-e23d-4cfa-bd21-cb54b546b709" xlink:href="sre-20210930.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_6d71090b-6ec3-46b3-bc1e-489ba90b0ef5" xlink:to="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustsAccumulatedGrossUnrealizedLossBeforeTax_5c678d39-e23d-4cfa-bd21-cb54b546b709" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustFairValue_caaf1338-3bca-4b54-95e8-33497786cce4" xlink:href="sre-20210930.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_6d71090b-6ec3-46b3-bc1e-489ba90b0ef5" xlink:to="loc_sre_SecuritiesHeldInNuclearDecommissioningTrustFairValue_caaf1338-3bca-4b54-95e8-33497786cce4" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
