<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" 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">
  <link:roleRef roleURI="http://www.sempra.com/role/AcquisitionAndDivestitureActivity" xlink:href="sre-20170331.xsd#AcquisitionAndDivestitureActivity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquisitionAndDivestitureActivityAssetsHeldForSaleDetails" xlink:href="sre-20170331.xsd#AcquisitionAndDivestitureActivityAssetsHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquisitionAndDivestitureActivityDivestituresDetails" xlink:href="sre-20170331.xsd#AcquisitionAndDivestitureActivityDivestituresDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquisitionAndDivestitureActivityTables" xlink:href="sre-20170331.xsd#AcquisitionAndDivestitureActivityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingencies" xlink:href="sre-20170331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesContractualCommitmentsDetails" xlink:href="sre-20170331.xsd#CommitmentsAndContingenciesContractualCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesLegalProceedingsDetails" xlink:href="sre-20170331.xsd#CommitmentsAndContingenciesLegalProceedingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesNuclearFuelDisposalDetails" xlink:href="sre-20170331.xsd#CommitmentsAndContingenciesNuclearFuelDisposalDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesNuclearInsuranceDetails" xlink:href="sre-20170331.xsd#CommitmentsAndContingenciesNuclearInsuranceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesOtherLitigationDetails" xlink:href="sre-20170331.xsd#CommitmentsAndContingenciesOtherLitigationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesTables" xlink:href="sre-20170331.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedBalanceSheets" xlink:href="sre-20170331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedBalanceSheetsParentheticals" xlink:href="sre-20170331.xsd#CondensedConsolidatedBalanceSheetsParentheticals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="sre-20170331.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="sre-20170331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="sre-20170331.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilities" xlink:href="sre-20170331.xsd#DebtAndCreditFacilities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilitiesLinesOfCreditDetails" xlink:href="sre-20170331.xsd#DebtAndCreditFacilitiesLinesOfCreditDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilitiesLongTermDebtDetails" xlink:href="sre-20170331.xsd#DebtAndCreditFacilitiesLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilitiesTables" xlink:href="sre-20170331.xsd#DebtAndCreditFacilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstruments" xlink:href="sre-20170331.xsd#DerivativeFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsCashFlowHedgesDetails" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsCashFlowHedgesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeCommodityVolumesDetails" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsDerivativeCommodityVolumesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeImpactOnIncomeDetails" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsDerivativeImpactOnIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeInstrumentsOnCondensedBalanceSheetDetails" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsDerivativeInstrumentsOnCondensedBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeInstrumentsWithContingentFeaturesDetails" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsDerivativeInstrumentsWithContingentFeaturesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeNotionalsDetails" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsDerivativeNotionalsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsTables" xlink:href="sre-20170331.xsd#DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DocumentAndEntityInformation" xlink:href="sre-20170331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurements" xlink:href="sre-20170331.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="sre-20170331.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsReconOfLevel3AssetsDetails" xlink:href="sre-20170331.xsd#FairValueMeasurementsReconOfLevel3AssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsRecurringFairValueMeasuresDetails" xlink:href="sre-20170331.xsd#FairValueMeasurementsRecurringFairValueMeasuresDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsTables" xlink:href="sre-20170331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/General" xlink:href="sre-20170331.xsd#General" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntities" xlink:href="sre-20170331.xsd#InvestmentsInUnconsolidatedEntities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesDetails" xlink:href="sre-20170331.xsd#InvestmentsInUnconsolidatedEntitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandards" xlink:href="sre-20170331.xsd#NewAccountingStandards" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandardsDetails" xlink:href="sre-20170331.xsd#NewAccountingStandardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandardsPolicies" xlink:href="sre-20170331.xsd#NewAccountingStandardsPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandardsTables" xlink:href="sre-20170331.xsd#NewAccountingStandardsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialData" xlink:href="sre-20170331.xsd#OtherFinancialData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataAffiliatesRevenueAndCostOfSalesDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataAffiliatesRevenueAndCostOfSalesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataCapitalizedFinancingCostsDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataCapitalizedFinancingCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataChangesInAccumulatedOtherComprehensiveIncomeDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataChangesInAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataDueToDueFromAffiliatesDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataDueToDueFromAffiliatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataEarningsPerShareEpsDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataEarningsPerShareEpsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataGoodwillDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataGreenhouseGasGhgAllowancesDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataGreenhouseGasGhgAllowancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataIncomeTaxesDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataInventoriesDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataOtherIncomeDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataOtherIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataOtherNoncontrollingInterestsDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataOtherNoncontrollingInterestsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataPensionAndOtherPostretirementBenefitsDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataPensionAndOtherPostretirementBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataRabbiTrustDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataRabbiTrustDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataReclassificationFromAccumulatedOtherComprehensiveIncomeDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataReclassificationFromAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataShareholdersEquityAndNoncontrollingInterestDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataShareholdersEquityAndNoncontrollingInterestDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataTables" xlink:href="sre-20170331.xsd#OtherFinancialDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/OtherFinancialDataVariableInterestEntitiesDetails" xlink:href="sre-20170331.xsd#OtherFinancialDataVariableInterestEntitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RegulatoryMatters" xlink:href="sre-20170331.xsd#RegulatoryMatters" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RegulatoryMattersDetails" xlink:href="sre-20170331.xsd#RegulatoryMattersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongs" xlink:href="sre-20170331.xsd#SanOnofreNuclearGeneratingStationSongs" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongsDetails" xlink:href="sre-20170331.xsd#SanOnofreNuclearGeneratingStationSongsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongsNuclearDecommissioningTrustsDetails" xlink:href="sre-20170331.xsd#SanOnofreNuclearGeneratingStationSongsNuclearDecommissioningTrustsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongsTables" xlink:href="sre-20170331.xsd#SanOnofreNuclearGeneratingStationSongsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SegmentInformation" xlink:href="sre-20170331.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SegmentInformationDetails" xlink:href="sre-20170331.xsd#SegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SegmentInformationTables" xlink:href="sre-20170331.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquisitionAndDivestitureActivity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquisitionAndDivestitureActivityAssetsHeldForSaleDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_4261f940-0770-1f63-4ea0-ed369bdecc2a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_4261f940-0770-1f63-4ea0-ed369bdecc2a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent_bd534c41-3fa4-d46c-1e89-9153801cd2a4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent_bd534c41-3fa4-d46c-1e89-9153801cd2a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_bbd3d6c4-c11c-a80d-1a2b-92600cbb4f4f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_bbd3d6c4-c11c-a80d-1a2b-92600cbb4f4f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredTaxAssetsNoncurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredTaxAssetsNoncurrent_03d82c1f-1125-1cc5-3edd-2db15cbaf2e2" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredTaxAssetsNoncurrent_03d82c1f-1125-1cc5-3edd-2db15cbaf2e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_801beeac-83f6-673c-5ebd-a64d8f1e4d8a" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_801beeac-83f6-673c-5ebd-a64d8f1e4d8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_0cb67263-9bf5-139b-6b6f-1387af2cfb77" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_e25c1baf-47b1-521b-d6c7-a48b20c97b41" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_0cb67263-9bf5-139b-6b6f-1387af2cfb77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_88a01ff4-c291-37bd-f443-4903cd2fd91b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_0cf763fe-6cf4-fb6a-97c8-03dd1e5d9733" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_88a01ff4-c291-37bd-f443-4903cd2fd91b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_0cf763fe-6cf4-fb6a-97c8-03dd1e5d9733" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities_b6271460-ba0d-71d9-285e-24b41622c48a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_88a01ff4-c291-37bd-f443-4903cd2fd91b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities_b6271460-ba0d-71d9-285e-24b41622c48a" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_Disposalgroupincludingdiscontinuedoperationassetretirementobligationsnoncurrent" xlink:label="loc_sre_Disposalgroupincludingdiscontinuedoperationassetretirementobligationsnoncurrent_8e822af4-4f0e-a2db-fb7a-fcdfa3adb69a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_88a01ff4-c291-37bd-f443-4903cd2fd91b" xlink:to="loc_sre_Disposalgroupincludingdiscontinuedoperationassetretirementobligationsnoncurrent_8e822af4-4f0e-a2db-fb7a-fcdfa3adb69a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentLiabilities_80766dd1-b0ff-4ed5-3ed3-d7ac32cdfae1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_88a01ff4-c291-37bd-f443-4903cd2fd91b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentLiabilities_80766dd1-b0ff-4ed5-3ed3-d7ac32cdfae1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquisitionAndDivestitureActivityDivestituresDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquisitionAndDivestitureActivityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingenciesContractualCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:type="locator" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationRemainderofFiscalYear" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationRemainderofFiscalYear_DB515B06EC8A718C3977875481DD9151" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationRemainderofFiscalYear_DB515B06EC8A718C3977875481DD9151" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearTwo" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearTwo_406ccf0b-27d4-b71e-185d-fcdfa3c2b1f6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearTwo_406ccf0b-27d4-b71e-185d-fcdfa3c2b1f6" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearThree" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearThree_bced3ee4-4bbc-cec2-1585-fcdfa3d6a0cd" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearThree_bced3ee4-4bbc-cec2-1585-fcdfa3d6a0cd" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFour" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFour_e9273220-03f6-8ecb-b719-fcdfa4625c62" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFour_e9273220-03f6-8ecb-b719-fcdfa4625c62" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFive" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFive_c2c58f3b-c29e-c2ca-5ddf-fcdfa58cd1eb" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFive_c2c58f3b-c29e-c2ca-5ddf-fcdfa58cd1eb" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationAfterFiveYears" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationAfterFiveYears_4aa3db46-053e-4f2d-4f67-fcdfa4ae6136" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_18bdc235-6da9-1c7e-5141-fcdfa689bc74" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationAfterFiveYears_4aa3db46-053e-4f2d-4f67-fcdfa4ae6136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_98b07d1b-8c88-a6b3-7206-56fbc47d52c8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_98b07d1b-8c88-a6b3-7206-56fbc47d52c8" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear_978bf54f-94f4-6d95-31d0-cc33097dd6a0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear_978bf54f-94f4-6d95-31d0-cc33097dd6a0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_74608514-6c9e-8537-59a6-0d935b66d87e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears_74608514-6c9e-8537-59a6-0d935b66d87e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_31e1482a-2c65-1330-9267-1f3e05ceda5f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears_31e1482a-2c65-1330-9267-1f3e05ceda5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_c9e6708b-c7a2-02bd-ecf0-5193aecad28d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears_c9e6708b-c7a2-02bd-ecf0-5193aecad28d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_e5ad3cbd-26fd-1084-dbb7-f0db97dcab88" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears_e5ad3cbd-26fd-1084-dbb7-f0db97dcab88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_abe882fd-6bb3-833e-6347-2137743a6394" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDue_af22c084-5dfa-db11-1d14-662ebdcdba41" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter_abe882fd-6bb3-833e-6347-2137743a6394" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments" xlink:label="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_40657fe7-e256-6c2c-94d6-705185e9dc07" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments_98b07d1b-8c88-a6b3-7206-56fbc47d52c8" xlink:to="loc_us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments_40657fe7-e256-6c2c-94d6-705185e9dc07" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingenciesLegalProceedingsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingenciesNuclearFuelDisposalDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingenciesNuclearInsuranceDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingenciesOtherLitigationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_d6e62e4f-fa41-c5ac-31c0-f175f0c219a7" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_d6e62e4f-fa41-c5ac-31c0-f175f0c219a7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d28874fa-4543-5746-c91a-559d7ab47f77" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d28874fa-4543-5746-c91a-559d7ab47f77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_5459306e-e655-2d48-dc3f-25b608b1f0c1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_5459306e-e655-2d48-dc3f-25b608b1f0c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_329737b9-52b4-030e-8973-0a41bf7e864e" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_329737b9-52b4-030e-8973-0a41bf7e864e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="loc_us-gaap_IncomeTaxesReceivable_e84b8cf7-5c16-4daf-da6e-6c656f6f2757" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_IncomeTaxesReceivable_e84b8cf7-5c16-4daf-da6e-6c656f6f2757" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_a5201305-cb63-d1e5-f4e7-e25409fb5d3a" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_InventoryNet_a5201305-cb63-d1e5-f4e7-e25409fb5d3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_4cde1efa-07a8-ded0-f592-2cecba3dedaf" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_4cde1efa-07a8-ded0-f592-2cecba3dedaf" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_RegulatoryBalancingAccountsUndercollected" xlink:label="loc_sre_RegulatoryBalancingAccountsUndercollected_7ca7dc51-5c78-6169-3a8f-fcdfa3cc9021" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_sre_RegulatoryBalancingAccountsUndercollected_7ca7dc51-5c78-6169-3a8f-fcdfa3cc9021" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssetsCurrent" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_1d0f255e-d4c2-42e5-53b8-db48946f9bac" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_1d0f255e-d4c2-42e5-53b8-db48946f9bac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeAssetsCurrent" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_12f61625-c89b-a1be-7f54-3947141774e2" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_12f61625-c89b-a1be-7f54-3947141774e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_fdb77e30-ba68-0e41-abc1-70858b11de5b" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_OtherAssetsCurrent_fdb77e30-ba68-0e41-abc1-70858b11de5b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_ed9fae98-3ae1-7659-630e-7314e2eeb5de" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_ed9fae98-3ae1-7659-630e-7314e2eeb5de" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_TotalInvestmentsAndOtherAssets" xlink:label="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_3f9aa892-872a-217e-f4da-55b8bc195d22" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_3f9aa892-872a-217e-f4da-55b8bc195d22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_a1073012-c2a3-c7c5-e942-bdced3789443" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_a1073012-c2a3-c7c5-e942-bdced3789443" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssetsNoncurrent" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_37520242-4cab-d668-66e7-3dfbfa22da48" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_37520242-4cab-d668-66e7-3dfbfa22da48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DecommissioningFundInvestments" xlink:label="loc_us-gaap_DecommissioningFundInvestments_0c9e5099-ae0c-0610-5f07-a29708db7fb0" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_DecommissioningFundInvestments_0c9e5099-ae0c-0610-5f07-a29708db7fb0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_085ab9d9-1e31-9549-0258-e0a7a40c26c8" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_085ab9d9-1e31-9549-0258-e0a7a40c26c8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_d723083e-f7a3-6d89-9926-32afaa010d8a" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_Goodwill_d723083e-f7a3-6d89-9926-32afaa010d8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_27b15389-386a-f983-c189-731d6d3c3fbb" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_27b15389-386a-f983-c189-731d6d3c3fbb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsHeldInTrustNoncurrent" xlink:label="loc_us-gaap_AssetsHeldInTrustNoncurrent_06f1aa1e-bd99-3819-2b24-524efff20a75" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_AssetsHeldInTrustNoncurrent_06f1aa1e-bd99-3819-2b24-524efff20a75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InsuranceSettlementsReceivableNoncurrent" xlink:label="loc_us-gaap_InsuranceSettlementsReceivableNoncurrent_da4aa89f-e622-6219-74e1-27b07ab17ef3" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_InsuranceSettlementsReceivableNoncurrent_da4aa89f-e622-6219-74e1-27b07ab17ef3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_77f006fd-b727-9e55-3ff1-d8268898b4c7" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_77f006fd-b727-9e55-3ff1-d8268898b4c7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_e6ade192-0839-bdd8-d08b-20387a0e8201" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_e6ade192-0839-bdd8-d08b-20387a0e8201" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DeferredIncomeTaxesRecoverableInRates" xlink:label="loc_sre_DeferredIncomeTaxesRecoverableInRates_3f20a673-6cf4-bf1e-b555-fcdfa524b055" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_sre_DeferredIncomeTaxesRecoverableInRates_3f20a673-6cf4-bf1e-b555-fcdfa524b055" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_RegulatoryAssetsArisingFromPensionAndOtherPostretirementBenefitObligations" xlink:label="loc_sre_RegulatoryAssetsArisingFromPensionAndOtherPostretirementBenefitObligations_3a669663-3d2b-8560-9860-fcdfa55cd2c0" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_51199f26-5099-7155-a6ad-fcdfa5ce0e7b" xlink:to="loc_sre_RegulatoryAssetsArisingFromPensionAndOtherPostretirementBenefitObligations_3a669663-3d2b-8560-9860-fcdfa55cd2c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_8c99d26c-e257-b8ba-86ee-4f792a9452ce" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_8c99d26c-e257-b8ba-86ee-4f792a9452ce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_95ebcb07-1c4a-1ded-365f-edc9cd2fa101" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_95ebcb07-1c4a-1ded-365f-edc9cd2fa101" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_71d04050-374b-2145-53d0-dc098f6f5b95" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_ShortTermBorrowings_71d04050-374b-2145-53d0-dc098f6f5b95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableTradeCurrent" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_6404190e-7530-9419-64f9-64b8c9675aae" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_6404190e-7530-9419-64f9-64b8c9675aae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableOtherCurrent" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_94d863d6-9d78-b8c5-0e95-a885d29471cd" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_94d863d6-9d78-b8c5-0e95-a885d29471cd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_f81c614a-0d27-a19f-f861-a40c88c11546" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_DueToAffiliateCurrent_f81c614a-0d27-a19f-f861-a40c88c11546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_cd1623dd-4d7a-16b7-05d7-1ab0d4540c5c" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_cd1623dd-4d7a-16b7-05d7-1ab0d4540c5c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestAndDividendsPayableCurrent" xlink:label="loc_us-gaap_InterestAndDividendsPayableCurrent_da6be9d7-1ca6-387f-f546-508b79d3ba4f" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_InterestAndDividendsPayableCurrent_da6be9d7-1ca6-387f-f546-508b79d3ba4f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaap_InterestPayableCurrent_d9abcce1-c2aa-ae62-a692-f2fc9e1deb74" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_InterestPayableCurrent_d9abcce1-c2aa-ae62-a692-f2fc9e1deb74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e20e4396-1ab7-d9ec-b779-e1a72ae620da" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e20e4396-1ab7-d9ec-b779-e1a72ae620da" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_RegulatoryBalancingAccountsOvercollected" xlink:label="loc_sre_RegulatoryBalancingAccountsOvercollected_49180f94-788f-ea4c-6974-fcdfa3cab3aa" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_sre_RegulatoryBalancingAccountsOvercollected_49180f94-788f-ea4c-6974-fcdfa3cab3aa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_3b18b100-5c23-de0c-2b69-6ea7677a5a64" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_3b18b100-5c23-de0c-2b69-6ea7677a5a64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_73b80d47-a1b6-841c-8c0d-41fc44e0a89f" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_73b80d47-a1b6-841c-8c0d-41fc44e0a89f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetRetirementObligationCurrent" xlink:label="loc_us-gaap_AssetRetirementObligationCurrent_c604be6b-bff6-53ea-6800-f50aa02ff216" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AssetRetirementObligationCurrent_c604be6b-bff6-53ea-6800-f50aa02ff216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_abb88b5c-ef84-43b7-a075-78b44bb32132" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_abb88b5c-ef84-43b7-a075-78b44bb32132" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent_59d2acf1-74df-4019-07a4-635024eee9bf" xlink:type="locator" />
    <link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_CustomerDepositsCurrent_59d2acf1-74df-4019-07a4-635024eee9bf" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_PayableRelatedToNaturalGasLeak" xlink:label="loc_sre_PayableRelatedToNaturalGasLeak_cb8952b1-6bea-24a6-7bf2-fcdfa570f7fa" xlink:type="locator" />
    <link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_sre_PayableRelatedToNaturalGasLeak_cb8952b1-6bea-24a6-7bf2-fcdfa570f7fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_6a60d556-a11e-4bed-09d1-f2c511f699d6" xlink:type="locator" />
    <link:calculationArc order="16" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_6a60d556-a11e-4bed-09d1-f2c511f699d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_0ff25fd8-f6de-e7fa-c6c3-85d94f17f57b" xlink:type="locator" />
    <link:calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_0ff25fd8-f6de-e7fa-c6c3-85d94f17f57b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_8946510c-36b9-b4e9-aad5-5a89036a4dfa" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_8946510c-36b9-b4e9-aad5-5a89036a4dfa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerAdvancesForConstruction" xlink:label="loc_us-gaap_CustomerAdvancesForConstruction_06b6f169-8052-082a-cc9f-36379e4b1f2b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_CustomerAdvancesForConstruction_06b6f169-8052-082a-cc9f-36379e4b1f2b" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_PensionObligationNetOfPlanAssets" xlink:label="loc_sre_PensionObligationNetOfPlanAssets_a3df61de-6c1e-2980-3ae4-fcdfa41e627c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_sre_PensionObligationNetOfPlanAssets_a3df61de-6c1e-2980-3ae4-fcdfa41e627c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_3b38d8c3-335c-53c8-5510-f59766fb81d5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_3b38d8c3-335c-53c8-5510-f59766fb81d5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDeferredInvestmentTaxCredit" xlink:label="loc_us-gaap_AccumulatedDeferredInvestmentTaxCredit_aa9588b0-b309-a9af-4334-762daed66e1b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_AccumulatedDeferredInvestmentTaxCredit_aa9588b0-b309-a9af-4334-762daed66e1b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DecommissioningLiabilityNoncurrent" xlink:label="loc_us-gaap_DecommissioningLiabilityNoncurrent_2a0610b6-0395-a3aa-748b-cc0868ecb35f" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_DecommissioningLiabilityNoncurrent_2a0610b6-0395-a3aa-748b-cc0868ecb35f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetRetirementObligationsNoncurrent" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_3d061de4-711b-61a3-06fd-1cca424b80ca" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_3d061de4-711b-61a3-06fd-1cca424b80ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredCreditsAndOtherLiabilities" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilities_3a4bc0fa-b0b9-abc7-5f45-048e2bcb4367" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilities_3a4bc0fa-b0b9-abc7-5f45-048e2bcb4367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_0bae88b8-1d8b-a8ef-3832-24e6d176184d" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_0bae88b8-1d8b-a8ef-3832-24e6d176184d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_4123a96e-29ea-6514-742b-5efe77d3541a" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_6a960026-3572-9931-5026-028885dbb6dc" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_4123a96e-29ea-6514-742b-5efe77d3541a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_3c8f3df4-466c-f78c-b021-17337fc4a147" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_PreferredStockValue_3c8f3df4-466c-f78c-b021-17337fc4a147" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherMinorityInterests" xlink:label="loc_us-gaap_OtherMinorityInterests_ed53e792-50f8-f0dc-a36b-00832dda2f8a" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_OtherMinorityInterests_ed53e792-50f8-f0dc-a36b-00832dda2f8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_49d65a66-0444-b198-9d28-5c0811b1bdf3" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_CommitmentsAndContingencies_49d65a66-0444-b198-9d28-5c0811b1bdf3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinorityInterestAmountRepresentedByPreferredStock" xlink:label="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_71e45b78-48dc-81c2-f692-1fe903cc7043" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_71e45b78-48dc-81c2-f692-1fe903cc7043" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_48ae1e41-8bb7-d139-f404-61b44b37e179" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_48ae1e41-8bb7-d139-f404-61b44b37e179" xlink:to="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_48ae1e41-8bb7-d139-f404-61b44b37e179" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_71e45b78-48dc-81c2-f692-1fe903cc7043" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_48ae1e41-8bb7-d139-f404-61b44b37e179" xlink:to="loc_us-gaap_OtherMinorityInterests_ed53e792-50f8-f0dc-a36b-00832dda2f8a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedBalanceSheetsParentheticals" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_aa347117-ecf0-6b31-16d5-636a7c2499b9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_aa347117-ecf0-6b31-16d5-636a7c2499b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_4b6f45e1-c792-5189-c9b2-fc3420268cfd" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_4b6f45e1-c792-5189-c9b2-fc3420268cfd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapital" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapital_508666ef-3b57-1200-ebae-65a477bc7dec" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapital_508666ef-3b57-1200-ebae-65a477bc7dec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_7c8a7ed5-e324-f4d1-e0f2-1bef47015198" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_7c8a7ed5-e324-f4d1-e0f2-1bef47015198" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_ea2f1c63-e49d-6ee4-286c-9c83476dc9f1" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_ea2f1c63-e49d-6ee4-286c-9c83476dc9f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_d64dc88a-3863-cee6-1410-0ab0492ecd56" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_d64dc88a-3863-cee6-1410-0ab0492ecd56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_35950518-de38-091b-1ea1-23860fdcd45e" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_35950518-de38-091b-1ea1-23860fdcd45e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_35d7e9b2-6ffb-6e68-f590-8605f30d5f8a" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DepreciationAndAmortization_35d7e9b2-6ffb-6e68-f590-8605f30d5f8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_7006122d-577a-6ab2-d69a-acde44a64b3e" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_7006122d-577a-6ab2-d69a-acde44a64b3e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_4bfb598c-5b20-1fea-5801-a6da79e5a964" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_4bfb598c-5b20-1fea-5801-a6da79e5a964" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_654ef290-e18b-2d7e-cb70-6523e6bff51a" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_654ef290-e18b-2d7e-cb70-6523e6bff51a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_ed3866ed-d229-5b3e-0e77-49a1d2bbce3a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_ed3866ed-d229-5b3e-0e77-49a1d2bbce3a" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_PurchasesOfNuclearDecommissioningAndOtherTrustAssets" xlink:label="loc_sre_PurchasesOfNuclearDecommissioningAndOtherTrustAssets_e463125e-f1fc-4986-e9fe-fcdfa3e626fc" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_sre_PurchasesOfNuclearDecommissioningAndOtherTrustAssets_e463125e-f1fc-4986-e9fe-fcdfa3e626fc" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_ProceedsFromSalesByNuclearDecommissioningAndOtherTrusts" xlink:label="loc_sre_ProceedsFromSalesByNuclearDecommissioningAndOtherTrusts_81972e69-58be-4140-867d-fcdfa4c38d0f" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_sre_ProceedsFromSalesByNuclearDecommissioningAndOtherTrusts_81972e69-58be-4140-867d-fcdfa4c38d0f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DecreaseInRestrictedCash" xlink:label="loc_us-gaap_DecreaseInRestrictedCash_df9dc518-43f3-3065-839a-1fe37ae93103" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_DecreaseInRestrictedCash_df9dc518-43f3-3065-839a-1fe37ae93103" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseInRestrictedCash" xlink:label="loc_us-gaap_IncreaseInRestrictedCash_b283a72e-2d26-ea37-e55f-654ffc0f8089" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_IncreaseInRestrictedCash_b283a72e-2d26-ea37-e55f-654ffc0f8089" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToFundLongtermLoansToRelatedParties" xlink:label="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_bbb079b4-f907-7292-e7ea-9bf66059226e" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_bbb079b4-f907-7292-e7ea-9bf66059226e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties" xlink:label="loc_us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties_8f5b4a6a-4ded-cab8-e077-2b246d3db09a" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties_8f5b4a6a-4ded-cab8-e077-2b246d3db09a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_f727506e-917a-c7f2-effd-742269ec6604" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_f727506e-917a-c7f2-effd-742269ec6604" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToInvestInDecommissioningFund" xlink:label="loc_us-gaap_PaymentsToInvestInDecommissioningFund_0d9baa70-de3a-5ae2-e4cc-1a85cba7a3fc" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToInvestInDecommissioningFund_0d9baa70-de3a-5ae2-e4cc-1a85cba7a3fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromDecommissioningFund" xlink:label="loc_us-gaap_ProceedsFromDecommissioningFund_5af35178-0fe8-346b-bd80-8ff260fc59c2" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromDecommissioningFund_5af35178-0fe8-346b-bd80-8ff260fc59c2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_f48c0937-387b-63ed-f9f7-98f267b0cd30" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_f48c0937-387b-63ed-f9f7-98f267b0cd30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_a269f982-b168-8b73-b7b4-38da20c0fb35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_90cd6d89-f315-788f-d750-05a68667e398" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_90cd6d89-f315-788f-d750-05a68667e398" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_bc4f1aa9-95c0-68aa-5280-be2a83e73757" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_bc4f1aa9-95c0-68aa-5280-be2a83e73757" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToMinorityShareholders" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_d99101a2-d2c4-1e75-4abe-12b80c7f2ae3" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_d99101a2-d2c4-1e75-4abe-12b80c7f2ae3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df373d95-9aed-55aa-3255-855344ae0add" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df373d95-9aed-55aa-3255-855344ae0add" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_fc2ca57d-dc62-7ce6-b2c4-25896bddd1fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_866e0d33-eabf-2b46-aabe-ae0e1d229b78" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_866e0d33-eabf-2b46-aabe-ae0e1d229b78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_7e341d9c-b561-17b2-6b84-9236041ffef0" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_7e341d9c-b561-17b2-6b84-9236041ffef0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_9f72449f-62f6-71b1-0128-c7088f4f3527" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_9f72449f-62f6-71b1-0128-c7088f4f3527" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:href="sre-20170331.xsd#sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements" xlink:label="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_64db4ac1-1b13-5a52-4c31-fcdfa3b7bac8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_64db4ac1-1b13-5a52-4c31-fcdfa3b7bac8" xlink:to="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_64db4ac1-1b13-5a52-4c31-fcdfa3b7bac8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_619c54c6-bfe9-5a80-b8fc-61991b4f4239" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_619c54c6-bfe9-5a80-b8fc-61991b4f4239" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_7888ca55-4b2a-9f3e-262a-d47103cbdac1" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_7888ca55-4b2a-9f3e-262a-d47103cbdac1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_d8bc96e3-060f-f5ff-d324-c7cecf3273f4" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_369c90d1-6da1-8050-c604-fad527301a92" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_d8bc96e3-060f-f5ff-d324-c7cecf3273f4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilityRevenue" xlink:label="loc_us-gaap_UtilityRevenue_03054ef0-8ba8-bd76-0696-056471c55fb6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_UtilityRevenue_03054ef0-8ba8-bd76-0696-056471c55fb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ElectricUtilityRevenue" xlink:label="loc_us-gaap_ElectricUtilityRevenue_2a5a2af8-2929-ff37-249d-c049f57a2269" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilityRevenue_03054ef0-8ba8-bd76-0696-056471c55fb6" xlink:to="loc_us-gaap_ElectricUtilityRevenue_2a5a2af8-2929-ff37-249d-c049f57a2269" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GasDomesticRegulatedRevenue" xlink:label="loc_us-gaap_GasDomesticRegulatedRevenue_7e2a53f0-80f0-a157-9d7e-af411da6d4a4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilityRevenue_03054ef0-8ba8-bd76-0696-056471c55fb6" xlink:to="loc_us-gaap_GasDomesticRegulatedRevenue_7e2a53f0-80f0-a157-9d7e-af411da6d4a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_a01342ec-a15c-d2eb-92ae-d3432f33237e" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_a01342ec-a15c-d2eb-92ae-d3432f33237e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_9a0538c9-76ce-3522-3ee3-ee6174838e36" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_9a0538c9-76ce-3522-3ee3-ee6174838e36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseTaxes" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseTaxes_4bed701e-a39f-f957-1aba-3e0e6acc4d23" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseTaxes_4bed701e-a39f-f957-1aba-3e0e6acc4d23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_InterestExpense_4b6ddf50-6253-3349-fa29-8fc77f744f58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpensePurchasedPower" xlink:label="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_e43447f0-57b2-f842-80e5-0d57ac9f2f30" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_e43447f0-57b2-f842-80e5-0d57ac9f2f30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_ed735562-dfa2-f50c-cfbd-c90d6a562718" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_InvestmentIncomeInterest_ed735562-dfa2-f50c-cfbd-c90d6a562718" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_fd18afbd-df51-cd0c-2ab4-3284c695f6ec" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_fd18afbd-df51-cd0c-2ab4-3284c695f6ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatedOperatingRevenue" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_d361e69e-7413-5c23-c425-9b2cc3877e06" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_fd18afbd-df51-cd0c-2ab4-3284c695f6ec" xlink:to="loc_us-gaap_RegulatedOperatingRevenue_d361e69e-7413-5c23-c425-9b2cc3877e06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnregulatedOperatingRevenue" xlink:label="loc_us-gaap_UnregulatedOperatingRevenue_e392bc2b-8202-94cb-65fa-17f90be02a48" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_fd18afbd-df51-cd0c-2ab4-3284c695f6ec" xlink:to="loc_us-gaap_UnregulatedOperatingRevenue_e392bc2b-8202-94cb-65fa-17f90be02a48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfNaturalGasPurchases" xlink:label="loc_us-gaap_CostOfNaturalGasPurchases_6fafda69-9901-a078-b4b1-92dd24a22189" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_CostOfNaturalGasPurchases_6fafda69-9901-a078-b4b1-92dd24a22189" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfDomesticRegulatedElectric" xlink:label="loc_us-gaap_CostOfDomesticRegulatedElectric_b7fe9a09-42f0-4bc1-7b3c-06d9409a87d7" xlink:type="locator" />
    <link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_CostOfDomesticRegulatedElectric_b7fe9a09-42f0-4bc1-7b3c-06d9409a87d7" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_CostOfNaturalGasElectricFuelAndPurchasedPower" xlink:label="loc_sre_CostOfNaturalGasElectricFuelAndPurchasedPower_a89623b7-c867-71b7-c7be-fcdfa2ea4253" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_sre_CostOfNaturalGasElectricFuelAndPurchasedPower_a89623b7-c867-71b7-c7be-fcdfa2ea4253" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GasGatheringTransportationMarketingAndProcessingCosts" xlink:label="loc_us-gaap_GasGatheringTransportationMarketingAndProcessingCosts_0faeaf7a-84e8-41fd-b696-fa74d4b581ac" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_GasGatheringTransportationMarketingAndProcessingCosts_0faeaf7a-84e8-41fd-b696-fa74d4b581ac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_70080ee2-ea2b-6059-c384-0abc533bb406" xlink:type="locator" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_70080ee2-ea2b-6059-c384-0abc533bb406" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_35d7e9b2-6ffb-6e68-f590-8605f30d5f8a" xlink:type="locator" />
    <link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_DepreciationAndAmortization_35d7e9b2-6ffb-6e68-f590-8605f30d5f8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxesOther" xlink:label="loc_us-gaap_TaxesOther_b1f7627a-9cd4-eb99-508a-93d34e3ed2a8" xlink:type="locator" />
    <link:calculationArc order="17" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_TaxesOther_b1f7627a-9cd4-eb99-508a-93d34e3ed2a8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="locator" />
    <link:calculationArc order="18" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5ba85eae-c4c2-72cc-f9e5-b0edc41783e5" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_359134c0-3512-0437-07c4-28574636fc79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_IncomeLossFromEquityMethodInvestmentsNetOfTax" xlink:label="loc_sre_IncomeLossFromEquityMethodInvestmentsNetOfTax_bd5da9b1-8c0c-9257-04d6-fcdfa52ef766" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:to="loc_sre_IncomeLossFromEquityMethodInvestmentsNetOfTax_bd5da9b1-8c0c-9257-04d6-fcdfa52ef766" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_57932a93-02bc-f4e7-4538-5a7fc65a1b5b" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_57932a93-02bc-f4e7-4538-5a7fc65a1b5b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:to="loc_us-gaap_UtilityRevenue_03054ef0-8ba8-bd76-0696-056471c55fb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpense" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:type="arc" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_a01342ec-a15c-d2eb-92ae-d3432f33237e" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_9a0538c9-76ce-3522-3ee3-ee6174838e36" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="arc" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseTaxes_4bed701e-a39f-f957-1aba-3e0e6acc4d23" xlink:type="arc" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_fbfbe6ce-1e28-58d2-7a1e-da0a65831abf" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_e43447f0-57b2-f842-80e5-0d57ac9f2f30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:to="loc_us-gaap_ProfitLoss_00a475d0-9ed4-5ca4-8e09-183f13a0aa46" xlink:type="arc" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_11a7c554-b3e3-7a3c-a81e-5c5ff89c25e9" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_57932a93-02bc-f4e7-4538-5a7fc65a1b5b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/DebtAndCreditFacilities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DebtAndCreditFacilitiesLinesOfCreditDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DebtAndCreditFacilitiesLongTermDebtDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DebtAndCreditFacilitiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstruments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsCashFlowHedgesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeCommodityVolumesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeImpactOnIncomeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeInstrumentsOnCondensedBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_b5923082-cd3e-d2b6-f7f5-bf56b23c733a" xlink:type="locator" />
    <link:loc xlink:href="sre-20170331.xsd#sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral" xlink:label="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_b5923082-cd3e-d2b6-f7f5-bf56b23c733a" xlink:to="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated" xlink:label="loc_sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated_a506effb-cd68-4f98-e2a0-fcdfa48b3e64" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated_a506effb-cd68-4f98-e2a0-fcdfa48b3e64" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_CommodityContractsNotSubjectToRateRecoveryDesignated" xlink:label="loc_sre_CommodityContractsNotSubjectToRateRecoveryDesignated_bc1eeb12-8c5e-bf8a-0f03-fcdfa5581a33" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_CommodityContractsNotSubjectToRateRecoveryDesignated_bc1eeb12-8c5e-bf8a-0f03-fcdfa5581a33" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated_823b4ccc-0976-ea7e-f386-fcdfa42cad0d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated_823b4ccc-0976-ea7e-f386-fcdfa42cad0d" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated_152a9081-baa2-e086-9c8b-fcdfa4def779" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated_152a9081-baa2-e086-9c8b-fcdfa4def779" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_AssociatedCashCollateralCommodityContractsNotSubjectToRateRecovery" xlink:label="loc_sre_AssociatedCashCollateralCommodityContractsNotSubjectToRateRecovery_0ccf074b-3f6b-e799-8cd0-fcdfa438fe80" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_AssociatedCashCollateralCommodityContractsNotSubjectToRateRecovery_0ccf074b-3f6b-e799-8cd0-fcdfa438fe80" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated_b906dac2-3a29-7d0c-c744-fcdfa481dc8e" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated_b906dac2-3a29-7d0c-c744-fcdfa481dc8e" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated_91a35fd8-0bf4-a3b1-6cd9-fcdfa2e5ddfa" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated_91a35fd8-0bf4-a3b1-6cd9-fcdfa2e5ddfa" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_AssociatedCashCollateralCommodityContractsSubjectToRateRecovery" xlink:label="loc_sre_AssociatedCashCollateralCommodityContractsSubjectToRateRecovery_1604b4e1-0a3d-437c-acce-fcdfa499eae4" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_AssociatedCashCollateralCommodityContractsSubjectToRateRecovery_1604b4e1-0a3d-437c-acce-fcdfa499eae4" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_DerivativeForeignExchangeInstrumentsNondesignated" xlink:label="loc_sre_DerivativeForeignExchangeInstrumentsNondesignated_b50fb454-a64d-69e2-577c-fcdfa52c0814" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_6e118c85-86ae-2f1f-9c13-fcdfa5863263" xlink:to="loc_sre_DerivativeForeignExchangeInstrumentsNondesignated_b50fb454-a64d-69e2-577c-fcdfa52c0814" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery" xlink:label="loc_sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_a7dcac6d-612a-fcc0-4813-fcdfa46df126" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_b5923082-cd3e-d2b6-f7f5-bf56b23c733a" xlink:to="loc_sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_a7dcac6d-612a-fcc0-4813-fcdfa46df126" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery" xlink:label="loc_sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_89ed12e1-016f-92e1-40e5-fcdfa2fbd2fb" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_b5923082-cd3e-d2b6-f7f5-bf56b23c733a" xlink:to="loc_sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_89ed12e1-016f-92e1-40e5-fcdfa2fbd2fb" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeInstrumentsWithContingentFeaturesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeNotionalsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DerivativeFinancialInstrumentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/FairValueMeasurementsReconOfLevel3AssetsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/FairValueMeasurementsRecurringFairValueMeasuresDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosureRecurring" xlink:label="loc_us-gaap_AssetsFairValueDisclosureRecurring_a0a1fd33-7636-70e3-0b76-f0755fa3c462" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_822f8ba2-b243-2634-fc8e-3f754121605a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosureRecurring_a0a1fd33-7636-70e3-0b76-f0755fa3c462" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_822f8ba2-b243-2634-fc8e-3f754121605a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosureRecurring" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureRecurring_b641f7fc-d5fe-4341-ba13-4c84175dd42f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_c7b0e6af-6a12-b105-2632-f06c1fca86ea" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureRecurring_b641f7fc-d5fe-4341-ba13-4c84175dd42f" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_c7b0e6af-6a12-b105-2632-f06c1fca86ea" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DecommissioningTrustAssetsAmount" xlink:label="loc_us-gaap_DecommissioningTrustAssetsAmount_708dae85-1aa6-8a3e-2b96-1485708c61ce" xlink:type="locator" />
    <link:loc xlink:href="sre-20170331.xsd#sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities" xlink:label="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_8b7f924f-bf56-7e20-6479-fcdfa5356001" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DecommissioningTrustAssetsAmount_708dae85-1aa6-8a3e-2b96-1485708c61ce" xlink:to="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_8b7f924f-bf56-7e20-6479-fcdfa5356001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue_53b1ec1a-c7f1-c00d-df9f-683a542230f7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_8b7f924f-bf56-7e20-6479-fcdfa5356001" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue_53b1ec1a-c7f1-c00d-df9f-683a542230f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue_1dcf555f-4418-a532-3f21-9b8f18d7d594" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_8b7f924f-bf56-7e20-6479-fcdfa5356001" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue_1dcf555f-4418-a532-3f21-9b8f18d7d594" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsOwnedOtherAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedOtherAtFairValue_9a5c5ab7-b6c4-ac5e-7c49-770c7658c8ba" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_8b7f924f-bf56-7e20-6479-fcdfa5356001" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedOtherAtFairValue_9a5c5ab7-b6c4-ac5e-7c49-770c7658c8ba" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue_7a9055bd-251e-64bb-9a4a-ccaf6deb7047" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DecommissioningTrustAssetsAmount_708dae85-1aa6-8a3e-2b96-1485708c61ce" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue_7a9055bd-251e-64bb-9a4a-ccaf6deb7047" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/General" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/NewAccountingStandards" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/NewAccountingStandardsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/NewAccountingStandardsPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/NewAccountingStandardsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialData" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataAffiliatesRevenueAndCostOfSalesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataCapitalizedFinancingCostsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataChangesInAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fc027bcf-19a3-7936-be65-3ec1deb94fb4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_a5947936-ad1d-a5c1-a96a-7382183b164a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fc027bcf-19a3-7936-be65-3ec1deb94fb4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_a5947936-ad1d-a5c1-a96a-7382183b164a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_3cb07dbb-b6b9-b4a1-cf56-3d766658ee02" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_fc027bcf-19a3-7936-be65-3ec1deb94fb4" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_3cb07dbb-b6b9-b4a1-cf56-3d766658ee02" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataDueToDueFromAffiliatesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataEarningsPerShareEpsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9dba38ce-5067-b4c4-09f7-0cf74e4693de" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae404dc0-76bc-cd1d-811f-e233c07e0569" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_9dba38ce-5067-b4c4-09f7-0cf74e4693de" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataGoodwillDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataGreenhouseGasGhgAllowancesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssets" xlink:label="loc_us-gaap_RegulatoryAssets_56c354f2-0da9-2871-cb05-27205e7364bc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssetsCurrent" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_1d0f255e-d4c2-42e5-53b8-db48946f9bac" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatoryAssets_56c354f2-0da9-2871-cb05-27205e7364bc" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_1d0f255e-d4c2-42e5-53b8-db48946f9bac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssetsNoncurrent" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_37520242-4cab-d668-66e7-3dfbfa22da48" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatoryAssets_56c354f2-0da9-2871-cb05-27205e7364bc" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_37520242-4cab-d668-66e7-3dfbfa22da48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryLiabilities" xlink:label="loc_us-gaap_RegulatoryLiabilities_d6cb0ddd-f5d7-5b08-7b46-0c5bab74a5c4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryLiabilityCurrent" xlink:label="loc_us-gaap_RegulatoryLiabilityCurrent_9e92d735-d9b9-cade-5658-f15e30bcd80b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatoryLiabilities_d6cb0ddd-f5d7-5b08-7b46-0c5bab74a5c4" xlink:to="loc_us-gaap_RegulatoryLiabilityCurrent_9e92d735-d9b9-cade-5658-f15e30bcd80b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryLiabilityNoncurrent" xlink:label="loc_us-gaap_RegulatoryLiabilityNoncurrent_74e7d56c-3452-83d0-e6ab-d7bf0a77a3c8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatoryLiabilities_d6cb0ddd-f5d7-5b08-7b46-0c5bab74a5c4" xlink:to="loc_us-gaap_RegulatoryLiabilityNoncurrent_74e7d56c-3452-83d0-e6ab-d7bf0a77a3c8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataIncomeTaxesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataInventoriesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_a5201305-cb63-d1e5-f4e7-e25409fb5d3a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EnergyRelatedInventoryNaturalGasInStorage" xlink:label="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_65c208a5-d9da-6d5c-c9ba-757e421865ed" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a5201305-cb63-d1e5-f4e7-e25409fb5d3a" xlink:to="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_65c208a5-d9da-6d5c-c9ba-757e421865ed" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_EnergyRelatedInventoryLiquefiedNaturalGas" xlink:label="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_3b72da19-8999-9ced-3578-fcdfa478fb59" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a5201305-cb63-d1e5-f4e7-e25409fb5d3a" xlink:to="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_3b72da19-8999-9ced-3578-fcdfa478fb59" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_EnergyRelatedInventoryMaterialsAndSupplies" xlink:label="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_e30c1df0-d66a-7822-0588-fcdfa4a6ec75" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a5201305-cb63-d1e5-f4e7-e25409fb5d3a" xlink:to="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_e30c1df0-d66a-7822-0588-fcdfa4a6ec75" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataOtherIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity" xlink:label="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_b491733b-d691-f046-2407-68c8e146dc6c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_b491733b-d691-f046-2407-68c8e146dc6c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_fa836162-fbaf-8b1a-bba2-04846e7439fa" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_GainLossOnInvestments_fa836162-fbaf-8b1a-bba2-04846e7439fa" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_Electricalinfrastructurerelocationincome" xlink:label="loc_sre_Electricalinfrastructurerelocationincome_ad22e56e-08a5-7039-e289-fcdfa3efb94b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_sre_Electricalinfrastructurerelocationincome_ad22e56e-08a5-7039-e289-fcdfa3efb94b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_8142266f-50f6-f3f2-de6a-6680dcae1275" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_8142266f-50f6-f3f2-de6a-6680dcae1275" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfOtherInvestments" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherInvestments_3d9deaaa-b8c7-3c73-8534-5cd0fb0fcdbc" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherInvestments_3d9deaaa-b8c7-3c73-8534-5cd0fb0fcdbc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_e12aeb0d-27d1-0850-c555-421a1bf4edb6" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_e12aeb0d-27d1-0850-c555-421a1bf4edb6" xlink:type="arc" />
    <link:loc xlink:href="sre-20170331.xsd#sre_RegulatoryInterestNet" xlink:label="loc_sre_RegulatoryInterestNet_b6b052b2-42da-da8c-b96b-fcdfa4a98bcc" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_sre_RegulatoryInterestNet_b6b052b2-42da-da8c-b96b-fcdfa4a98bcc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_b936f21a-1a1f-465e-d82c-5e014c9c5399" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_b936f21a-1a1f-465e-d82c-5e014c9c5399" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataOtherNoncontrollingInterestsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataPensionAndOtherPostretirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_f2ed32d2-85ad-f58f-ab2d-3b2179460e9b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_f2ed32d2-85ad-f58f-ab2d-3b2179460e9b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_cd88e803-25ae-d4fb-0989-daba14b2ac68" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_cd88e803-25ae-d4fb-0989-daba14b2ac68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c19f8e1b-2030-51d6-2fba-848f04e86d5a" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_c19f8e1b-2030-51d6-2fba-848f04e86d5a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_7493028d-92b4-42b2-4575-fa8ea8ba2bc0" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_7493028d-92b4-42b2-4575-fa8ea8ba2bc0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2d2b6abe-d7df-698d-456b-f525d8c242b0" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2d2b6abe-d7df-698d-456b-f525d8c242b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherRegulatoryAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_d1a3a329-2c7d-8999-349c-1cbe2e2fda1e" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_fb35567d-af94-e986-7425-f369c05384fc" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_d1a3a329-2c7d-8999-349c-1cbe2e2fda1e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataRabbiTrustDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataReclassificationFromAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataShareholdersEquityAndNoncontrollingInterestDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/OtherFinancialDataVariableInterestEntitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:type="locator" />
    <link:loc xlink:href="sre-20170331.xsd#sre_UtilityOperatingRevenueFuel" xlink:label="loc_sre_UtilityOperatingRevenueFuel_8cdbfcee-34c1-ef92-b32e-fcdfa48e5ca2" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_sre_UtilityOperatingRevenueFuel_8cdbfcee-34c1-ef92-b32e-fcdfa48e5ca2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_9a0538c9-76ce-3522-3ee3-ee6174838e36" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_9a0538c9-76ce-3522-3ee3-ee6174838e36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_11f55656-ad91-6fcc-b4cb-904cf52ab348" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_70080ee2-ea2b-6059-c384-0abc533bb406" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_70080ee2-ea2b-6059-c384-0abc533bb406" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_35d7e9b2-6ffb-6e68-f590-8605f30d5f8a" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_8018a1c5-8b31-881d-1f35-ba7ca791bffa" xlink:to="loc_us-gaap_DepreciationAndAmortization_35d7e9b2-6ffb-6e68-f590-8605f30d5f8a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/RegulatoryMatters" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RegulatoryMattersDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongs" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongsDetails" xlink:type="extended">
    <link:loc xlink:href="sre-20170331.xsd#sre_RegulatoryAssetNuclearPlantClosure" xlink:label="loc_sre_RegulatoryAssetNuclearPlantClosure_1650e197-7786-3447-78d8-fcdfa4674e30" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssetsCurrent" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_1d0f255e-d4c2-42e5-53b8-db48946f9bac" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_RegulatoryAssetNuclearPlantClosure_1650e197-7786-3447-78d8-fcdfa4674e30" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_1d0f255e-d4c2-42e5-53b8-db48946f9bac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RegulatoryAssetsNoncurrent" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_37520242-4cab-d668-66e7-3dfbfa22da48" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_RegulatoryAssetNuclearPlantClosure_1650e197-7786-3447-78d8-fcdfa4674e30" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_37520242-4cab-d668-66e7-3dfbfa22da48" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongsNuclearDecommissioningTrustsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ba478347-bbf1-ddfc-8a79-7775b3b62a6c" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_ba478347-bbf1-ddfc-8a79-7775b3b62a6c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_65f23050-696a-07fd-30c1-78a5110d800c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_65f23050-696a-07fd-30c1-78a5110d800c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_b671a380-e06c-01fd-905c-c45ee0d0ab53" xlink:to="loc_us-gaap_AvailableForSaleSecurities_01be169b-08cc-7c30-55f5-941791d17ef8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationSongsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SegmentInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SegmentInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SegmentInformationTables" xlink:type="extended" />
</link:linkbase>
