<?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/AcquistionAndDivestitureActivity" xlink:href="sre-20180331.xsd#AcquistionAndDivestitureActivity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquistionAndDivestitureActivityAcquisitionActivityDetails" xlink:href="sre-20180331.xsd#AcquistionAndDivestitureActivityAcquisitionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquistionAndDivestitureActivityAssetsHeldForSaleDetails" xlink:href="sre-20180331.xsd#AcquistionAndDivestitureActivityAssetsHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquistionAndDivestitureActivityPurchasePriceAllocationDetails" xlink:href="sre-20180331.xsd#AcquistionAndDivestitureActivityPurchasePriceAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/AcquistionAndDivestitureActivityTables" xlink:href="sre-20180331.xsd#AcquistionAndDivestitureActivityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingencies" xlink:href="sre-20180331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesContractualCommitmentsDetails" xlink:href="sre-20180331.xsd#CommitmentsAndContingenciesContractualCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesLegalProceedingsDetails" xlink:href="sre-20180331.xsd#CommitmentsAndContingenciesLegalProceedingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesOtherLitigationDetails" xlink:href="sre-20180331.xsd#CommitmentsAndContingenciesOtherLitigationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CommitmentsAndContingenciesTables" xlink:href="sre-20180331.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedBalanceSheets" xlink:href="sre-20180331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedBalanceSheetsParentheticals" xlink:href="sre-20180331.xsd#CondensedConsolidatedBalanceSheetsParentheticals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="sre-20180331.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfCashFlowsParenthetical" xlink:href="sre-20180331.xsd#CondensedConsolidatedStatementsOfCashFlowsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="sre-20180331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="sre-20180331.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilities" xlink:href="sre-20180331.xsd#DebtAndCreditFacilities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilitiesLinesOfCreditDetails" xlink:href="sre-20180331.xsd#DebtAndCreditFacilitiesLinesOfCreditDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilitiesLongTermDebtDetails" xlink:href="sre-20180331.xsd#DebtAndCreditFacilitiesLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DebtAndCreditFacilitiesTables" xlink:href="sre-20180331.xsd#DebtAndCreditFacilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstruments" xlink:href="sre-20180331.xsd#DerivativeFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsCashFlowHedgesDetails" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsCashFlowHedgesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeCommodityVolumesDetails" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsDerivativeCommodityVolumesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeImpactOnIncomeDetails" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsDerivativeImpactOnIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeInstrumentsOnCondensedBalanceSheetDetails" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsDerivativeInstrumentsOnCondensedBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeInstrumentsWithContingentFeaturesDetails" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsDerivativeInstrumentsWithContingentFeaturesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsDerivativeNotionalsDetails" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsDerivativeNotionalsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DerivativeFinancialInstrumentsTables" xlink:href="sre-20180331.xsd#DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/DocumentAndEntityInformation" xlink:href="sre-20180331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurements" xlink:href="sre-20180331.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="sre-20180331.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsNonrecurringFairValueMeasuresDetails" xlink:href="sre-20180331.xsd#FairValueMeasurementsNonrecurringFairValueMeasuresDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsReconOfLevel3AssetsDetails" xlink:href="sre-20180331.xsd#FairValueMeasurementsReconOfLevel3AssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsRecurringFairValueMeasuresDetails" xlink:href="sre-20180331.xsd#FairValueMeasurementsRecurringFairValueMeasuresDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/FairValueMeasurementsTables" xlink:href="sre-20180331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialData" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataAffiliatesRevenueAndCostOfSalesDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataAffiliatesRevenueAndCostOfSalesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataCapitalizedFinancingCostsDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataCapitalizedFinancingCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataChangesInAccumulatedOtherComprehensiveIncomeDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataChangesInAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataConsolidationDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataConsolidationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataDueToDueFromAffiliatesDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataDueToDueFromAffiliatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataEarningsPerShareDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataGoodwillDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataIncomeTaxesDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataInventoriesDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataOtherIncomeDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataOtherIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataOtherNoncontrollingInterestsDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataOtherNoncontrollingInterestsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataPensionAndOtherPostretirementBenefitsDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataPensionAndOtherPostretirementBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataPolicies" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataRabbiTrustDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataRabbiTrustDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataReclassificationFromAccumulatedOtherComprehensiveIncomeDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataReclassificationFromAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataRestrictedCashDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataRestrictedCashDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataShareholdersEquityAndNoncontrollingInterestDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataShareholdersEquityAndNoncontrollingInterestDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataTables" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataVariableInterestEntitiesDetails" xlink:href="sre-20180331.xsd#GeneralInformationAndOtherFinancialDataVariableInterestEntitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/GeneralRateCaseDetails" xlink:href="sre-20180331.xsd#GeneralRateCaseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntities" xlink:href="sre-20180331.xsd#InvestmentsInUnconsolidatedEntities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesInvestmentInUnconsolidatedEntitiesTables" xlink:href="sre-20180331.xsd#InvestmentsInUnconsolidatedEntitiesInvestmentInUnconsolidatedEntitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesNarrativeDetails" xlink:href="sre-20180331.xsd#InvestmentsInUnconsolidatedEntitiesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesSummarizedFinancialInformationDetails" xlink:href="sre-20180331.xsd#InvestmentsInUnconsolidatedEntitiesSummarizedFinancialInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandards" xlink:href="sre-20180331.xsd#NewAccountingStandards" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandardsDetails" xlink:href="sre-20180331.xsd#NewAccountingStandardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/NewAccountingStandardsTables" xlink:href="sre-20180331.xsd#NewAccountingStandardsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RegulatoryAccountsDetails" xlink:href="sre-20180331.xsd#RegulatoryAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RegulatoryMatters" xlink:href="sre-20180331.xsd#RegulatoryMatters" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RegulatoryMattersCostOfCapitalDetails" xlink:href="sre-20180331.xsd#RegulatoryMattersCostOfCapitalDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RegulatoryMattersTables" xlink:href="sre-20180331.xsd#RegulatoryMattersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesContractLiabilitiesDetails" xlink:href="sre-20180331.xsd#RevenuesContractLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:href="sre-20180331.xsd#RevenuesDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesNotes" xlink:href="sre-20180331.xsd#RevenuesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesOtherRevenuesDetails" xlink:href="sre-20180331.xsd#RevenuesOtherRevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesPerformanceObligationsDetails" xlink:href="sre-20180331.xsd#RevenuesPerformanceObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesReceivablesFromRevenuesFromContractsWithCustomersDetails" xlink:href="sre-20180331.xsd#RevenuesReceivablesFromRevenuesFromContractsWithCustomersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/RevenuesTables" xlink:href="sre-20180331.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStation" xlink:href="sre-20180331.xsd#SanOnofreNuclearGeneratingStation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationDetails" xlink:href="sre-20180331.xsd#SanOnofreNuclearGeneratingStationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationNuclearDecommissioningTrustsDetails" xlink:href="sre-20180331.xsd#SanOnofreNuclearGeneratingStationNuclearDecommissioningTrustsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationNuclearFuelDisposalDetails" xlink:href="sre-20180331.xsd#SanOnofreNuclearGeneratingStationNuclearFuelDisposalDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationNuclearInsuranceDetails" xlink:href="sre-20180331.xsd#SanOnofreNuclearGeneratingStationNuclearInsuranceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationTables" xlink:href="sre-20180331.xsd#SanOnofreNuclearGeneratingStationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SegmentInformation" xlink:href="sre-20180331.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SegmentInformationDetails" xlink:href="sre-20180331.xsd#SegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.sempra.com/role/SegmentInformationTables" xlink:href="sre-20180331.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquistionAndDivestitureActivity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquistionAndDivestitureActivityAcquisitionActivityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquistionAndDivestitureActivityAssetsHeldForSaleDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_fbfc68a4-7e65-a720-f5aa-5f1609a206d5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent_74f45020-932f-abfd-e3b4-9abc6c3610a7" 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_fbfc68a4-7e65-a720-f5aa-5f1609a206d5" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent_74f45020-932f-abfd-e3b4-9abc6c3610a7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_f47c0079-0d2e-4976-9fc3-b4aea1e37feb" 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_fbfc68a4-7e65-a720-f5aa-5f1609a206d5" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets_f47c0079-0d2e-4976-9fc3-b4aea1e37feb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_c4ddb8fa-14d3-bd62-071d-844519013aa9" 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_fbfc68a4-7e65-a720-f5aa-5f1609a206d5" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_c4ddb8fa-14d3-bd62-071d-844519013aa9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_369b720c-3781-7ff4-ba23-58b071bef9b7" 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_fbfc68a4-7e65-a720-f5aa-5f1609a206d5" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_369b720c-3781-7ff4-ba23-58b071bef9b7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_364b8af4-cad8-03c2-4998-315e9240f281" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_d5c7b70c-3acf-a598-32e2-6f910e53b7c4" 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_364b8af4-cad8-03c2-4998-315e9240f281" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent_d5c7b70c-3acf-a598-32e2-6f910e53b7c4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities_93109c17-bce3-138c-6f89-1d905e6e4eed" 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_364b8af4-cad8-03c2-4998-315e9240f281" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentLiabilities_93109c17-bce3-138c-6f89-1d905e6e4eed" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_Disposalgroupincludingdiscontinuedoperationassetretirementobligationsnoncurrent" xlink:label="loc_sre_Disposalgroupincludingdiscontinuedoperationassetretirementobligationsnoncurrent_63251cd8-2405-04b7-f90a-1c7b5823f18d" 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_364b8af4-cad8-03c2-4998-315e9240f281" xlink:to="loc_sre_Disposalgroupincludingdiscontinuedoperationassetretirementobligationsnoncurrent_63251cd8-2405-04b7-f90a-1c7b5823f18d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentLiabilities_dd0f457c-3cd3-e61e-cd82-b85cdf8d70e8" 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_364b8af4-cad8-03c2-4998-315e9240f281" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentLiabilities_dd0f457c-3cd3-e61e-cd82-b85cdf8d70e8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquistionAndDivestitureActivityPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_e66eb458-8500-fc68-5c5a-c52959376fd5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_e66eb458-8500-fc68-5c5a-c52959376fd5" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_95ec2852-df8b-d033-5d13-a8d506cf481d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_95ec2852-df8b-d033-5d13-a8d506cf481d" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDueFromAffiliates" xlink:label="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDueFromAffiliates_7D142095F03E51BDE1521D79CFB9E51C" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:to="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDueFromAffiliates_7D142095F03E51BDE1521D79CFB9E51C" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedEquitymethodInvestments" xlink:label="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedEquitymethodInvestments_74A1DD408BC963794D611D7A98BFBFA4" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:to="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedEquitymethodInvestments_74A1DD408BC963794D611D7A98BFBFA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_2126830e-53d1-6f2d-aff2-eb17e6dcb40d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_2126830e-53d1-6f2d-aff2-eb17e6dcb40d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_22355879-a922-e02e-8d98-a3c4d4cf8141" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_920f422e-1374-af55-c08e-afb11056448e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_22355879-a922-e02e-8d98-a3c4d4cf8141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_534c4147-6a9f-f763-f45b-0d025f929de9" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_e66eb458-8500-fc68-5c5a-c52959376fd5" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_534c4147-6a9f-f763-f45b-0d025f929de9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_833b6d2d-a622-8759-6212-2a8447c58ff7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_534c4147-6a9f-f763-f45b-0d025f929de9" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_833b6d2d-a622-8759-6212-2a8447c58ff7" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedEmployeeBenefitPlanObligations" xlink:label="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedEmployeeBenefitPlanObligations_BCEE8CC48D31471799541D7E4F23ED09" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_534c4147-6a9f-f763-f45b-0d025f929de9" xlink:to="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedEmployeeBenefitPlanObligations_BCEE8CC48D31471799541D7E4F23ED09" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDeferredCreditsandOther" xlink:label="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDeferredCreditsandOther_501318FA79A4DB1B5B321D8227C02F68" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_534c4147-6a9f-f763-f45b-0d025f929de9" xlink:to="loc_sre_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedDeferredCreditsandOther_501318FA79A4DB1B5B321D8227C02F68" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/AcquistionAndDivestitureActivityTables" 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-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:type="locator" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationRemainderofFiscalYear" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationRemainderofFiscalYear_1d35d1b5-a658-dece-b0c0-1c7b59fd2071" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationRemainderofFiscalYear_1d35d1b5-a658-dece-b0c0-1c7b59fd2071" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearTwo" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearTwo_042ad797-250e-81f7-f707-1c7b58188281" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearTwo_042ad797-250e-81f7-f707-1c7b58188281" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearThree" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearThree_7f3f0914-8e91-3192-f82a-1c7b5a0f33e8" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearThree_7f3f0914-8e91-3192-f82a-1c7b5a0f33e8" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFour" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFour_6fa50ef3-881a-8a56-ccb5-1c7b5967d010" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFour_6fa50ef3-881a-8a56-ccb5-1c7b5967d010" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFive" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFive_d65f3819-0bec-e890-f72e-1c7b581af767" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationYearFive_d65f3819-0bec-e890-f72e-1c7b581af767" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationAfterFiveYears" xlink:label="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationAfterFiveYears_ed4ab667-63a3-70a6-f028-1c7b5901e9c1" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligation_b0721b25-5b4d-f128-2364-1c7b58e99d6a" xlink:to="loc_sre_IncreaseDecreaseinUnrecordedUnconditionalPurchaseObligationAfterFiveYears_ed4ab667-63a3-70a6-f028-1c7b5901e9c1" 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/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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_d69779e7-80bd-4b93-0bb0-641eb2f586cc" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_d69779e7-80bd-4b93-0bb0-641eb2f586cc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_d7d7636e-9de7-7375-0f68-f5ac3fa613df" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableNetCurrent_d7d7636e-9de7-7375-0f68-f5ac3fa613df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_7d2dbf5b-dfea-98d6-0d65-0487859ba601" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_7d2dbf5b-dfea-98d6-0d65-0487859ba601" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="loc_us-gaap_IncomeTaxesReceivable_789a7873-b967-40a1-5141-a622987f261b" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_IncomeTaxesReceivable_789a7873-b967-40a1-5141-a622987f261b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatoryAssetsCurrent" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_daa06a81-b926-da9a-fbbf-8528d98637b7" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_daa06a81-b926-da9a-fbbf-8528d98637b7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssetsCurrent" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_84c72a40-7d41-ae62-5328-afed8a5c4ed6" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_84c72a40-7d41-ae62-5328-afed8a5c4ed6" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_GreenhouseGasAllowancesCurrent" xlink:label="loc_sre_GreenhouseGasAllowancesCurrent_980CF512320172FD5AC37C5901A29E11" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_sre_GreenhouseGasAllowancesCurrent_980CF512320172FD5AC37C5901A29E11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_7ccd4058-c821-b334-f2ba-45d4b5754cc1" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_7ccd4058-c821-b334-f2ba-45d4b5754cc1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_1cb4a384-e314-2300-ad55-c1ed289c8f7a" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_OtherAssetsCurrent_1cb4a384-e314-2300-ad55-c1ed289c8f7a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_e844b255-713b-0357-7991-a8c78d02cb50" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_e844b255-713b-0357-7991-a8c78d02cb50" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_TotalInvestmentsAndOtherAssets" xlink:label="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_aa03feac-7644-913e-0208-3bf6e84c2b98" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_aa03feac-7644-913e-0208-3bf6e84c2b98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_81883835-7b21-9d5d-f0ea-5bfb756d9148" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_81883835-7b21-9d5d-f0ea-5bfb756d9148" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatoryAssetsNoncurrent" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_5f59bb76-086c-b40c-c9d5-6de36890630c" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_5f59bb76-086c-b40c-c9d5-6de36890630c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DecommissioningFundInvestments" xlink:label="loc_us-gaap_DecommissioningFundInvestments_ec2a45f5-ef82-1730-b4f2-7c5c23101b07" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_DecommissioningFundInvestments_ec2a45f5-ef82-1730-b4f2-7c5c23101b07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_cf3b9d2e-b42f-76bb-8c85-9bcfc4c76505" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_EquityMethodInvestments_cf3b9d2e-b42f-76bb-8c85-9bcfc4c76505" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments_2e0d9009-e380-926b-157d-e7a4c7bfbcbb" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_OtherInvestments_2e0d9009-e380-926b-157d-e7a4c7bfbcbb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsHeldInTrustNoncurrent" xlink:label="loc_us-gaap_AssetsHeldInTrustNoncurrent_11e27213-3d04-8020-1246-53f32c1d3c16" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_AssetsHeldInTrustNoncurrent_11e27213-3d04-8020-1246-53f32c1d3c16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InsuranceSettlementsReceivableNoncurrent" xlink:label="loc_us-gaap_InsuranceSettlementsReceivableNoncurrent_98ca1d21-7c40-0c92-843f-4a46b2f61d2e" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_InsuranceSettlementsReceivableNoncurrent_98ca1d21-7c40-0c92-843f-4a46b2f61d2e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_0c301281-b140-dfcb-9991-ae503484f9da" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_0c301281-b140-dfcb-9991-ae503484f9da" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_GreenhouseGasAllowancesNoncurrent" xlink:label="loc_sre_GreenhouseGasAllowancesNoncurrent_E440C2EA1D1A8BF24C2E7C5AD59B9992" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_sre_GreenhouseGasAllowancesNoncurrent_E440C2EA1D1A8BF24C2E7C5AD59B9992" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalInvestmentsAndOtherAssets_014438ff-9136-351a-31db-1c7b59261eb7" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_fe5a8e8b-5934-3dc5-9dae-7d40983185cf" 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_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_fe5a8e8b-5934-3dc5-9dae-7d40983185cf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5551841b-83e0-4644-fca8-d4027d932c0a" 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_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5551841b-83e0-4644-fca8-d4027d932c0a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_c4493b41-4418-ed41-2f06-05ff9c61369f" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_ShortTermBorrowings_c4493b41-4418-ed41-2f06-05ff9c61369f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableTradeCurrent" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_f1cc95c4-d79a-fe83-8449-5be3c71b10a4" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_f1cc95c4-d79a-fe83-8449-5be3c71b10a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableOtherCurrent" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_698885d4-2661-da60-80d5-86ee93c386d3" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_698885d4-2661-da60-80d5-86ee93c386d3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_fa002a1d-3cca-a0c9-a6b1-e0373c153068" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_DueToAffiliateCurrent_fa002a1d-3cca-a0c9-a6b1-e0373c153068" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndDividendsPayableCurrent" xlink:label="loc_us-gaap_InterestAndDividendsPayableCurrent_f68ad903-8f47-5edb-50a0-91873fb6519f" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_InterestAndDividendsPayableCurrent_f68ad903-8f47-5edb-50a0-91873fb6519f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_cf9ed09f-3dd1-4a4b-d3fc-3b0db18c1b40" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_cf9ed09f-3dd1-4a4b-d3fc-3b0db18c1b40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatoryLiabilityCurrent" xlink:label="loc_us-gaap_RegulatoryLiabilityCurrent_4aca1554-73cb-0edc-0b8c-fd23543ae37d" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_RegulatoryLiabilityCurrent_4aca1554-73cb-0edc-0b8c-fd23543ae37d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_13aaa34e-8d7d-009a-bd8a-20360af7ca09" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_13aaa34e-8d7d-009a-bd8a-20360af7ca09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_02b1756e-a27a-df0b-cb87-4e42d7ab59c6" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_02b1756e-a27a-df0b-cb87-4e42d7ab59c6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent_ce476672-55cd-838d-bb2a-a93841526e10" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_CustomerDepositsCurrent_ce476672-55cd-838d-bb2a-a93841526e10" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_PayableRelatedToNaturalGasLeak" xlink:label="loc_sre_PayableRelatedToNaturalGasLeak_82e37e6d-d0c4-64dc-19b4-1c7b5a390249" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_sre_PayableRelatedToNaturalGasLeak_82e37e6d-d0c4-64dc-19b4-1c7b5a390249" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_GreenhouseGasObligationsCurrent" xlink:label="loc_sre_GreenhouseGasObligationsCurrent_00B0D4CD9AF8E9E7155D7C5F9D6673F8" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_sre_GreenhouseGasObligationsCurrent_00B0D4CD9AF8E9E7155D7C5F9D6673F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_05b9c2a4-6f85-5413-8af9-df620dfd1b1e" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_05b9c2a4-6f85-5413-8af9-df620dfd1b1e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_b4e6cca3-6c62-3e0a-6782-510b974f1199" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_b4e6cca3-6c62-3e0a-6782-510b974f1199" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaap_InterestPayableCurrent_f399ab19-6853-cf94-a0cf-c511e9e00641" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_InterestPayableCurrent_f399ab19-6853-cf94-a0cf-c511e9e00641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_00b000cf-7f1d-4891-7244-daf9f6335db0" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_00b000cf-7f1d-4891-7244-daf9f6335db0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetRetirementObligationCurrent" xlink:label="loc_us-gaap_AssetRetirementObligationCurrent_aaeb4116-f5eb-3bd7-901f-b7f6378c5fa1" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AssetRetirementObligationCurrent_aaeb4116-f5eb-3bd7-901f-b7f6378c5fa1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_f68a050d-d5b6-1395-99ff-ed06c9a31fb4" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_f68a050d-d5b6-1395-99ff-ed06c9a31fb4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent" xlink:label="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_918bc3b0-b4cd-8c4a-9735-37889dc345e8" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerAdvancesForConstruction" xlink:label="loc_us-gaap_CustomerAdvancesForConstruction_c5d4bb96-601f-e2b1-6c97-437907fde318" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_CustomerAdvancesForConstruction_c5d4bb96-601f-e2b1-6c97-437907fde318" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_0a5c004a-0ccc-e7fb-9bfb-d21c077c20f9" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_0a5c004a-0ccc-e7fb-9bfb-d21c077c20f9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_9a02138f-e52f-25fa-014e-0405ac9ddb27" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_9a02138f-e52f-25fa-014e-0405ac9ddb27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_9a73c768-7e07-f56f-7aba-2b93110d3715" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_9a73c768-7e07-f56f-7aba-2b93110d3715" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDeferredInvestmentTaxCredit" xlink:label="loc_us-gaap_AccumulatedDeferredInvestmentTaxCredit_6eebbda9-fc00-b1df-2bd5-a05f308ab6e0" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_AccumulatedDeferredInvestmentTaxCredit_6eebbda9-fc00-b1df-2bd5-a05f308ab6e0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatoryLiabilityNoncurrent" xlink:label="loc_us-gaap_RegulatoryLiabilityNoncurrent_630ce5df-98d8-d515-0f5c-663a0889bd56" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_RegulatoryLiabilityNoncurrent_630ce5df-98d8-d515-0f5c-663a0889bd56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetRetirementObligationsNoncurrent" xlink:label="loc_us-gaap_AssetRetirementObligationsNoncurrent_1f4fb651-4881-fed9-af88-845715d74664" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_AssetRetirementObligationsNoncurrent_1f4fb651-4881-fed9-af88-845715d74664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_3ffd0622-1cf7-dfe7-dae7-2020e36f2f4a" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_3ffd0622-1cf7-dfe7-dae7-2020e36f2f4a" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_GreenhouseGasObligationsNoncurrent" xlink:label="loc_sre_GreenhouseGasObligationsNoncurrent_D049B841141221F03CA67C63F7ADA552" 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_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_sre_GreenhouseGasObligationsNoncurrent_D049B841141221F03CA67C63F7ADA552" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredCreditsAndOtherLiabilities" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilities_6e71ba1b-5c1a-b747-f1b8-aa6227aa6874" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilities_6e71ba1b-5c1a-b747-f1b8-aa6227aa6874" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_PensionObligationNetOfPlanAssets" xlink:label="loc_sre_PensionObligationNetOfPlanAssets_363be6a3-1b7a-bb34-f57b-1c7b584f8685" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOtherThanLongtermDebtNoncurrent_918bc3b0-b4cd-8c4a-9735-37889dc345e8" xlink:to="loc_sre_PensionObligationNetOfPlanAssets_363be6a3-1b7a-bb34-f57b-1c7b584f8685" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_c3f7606a-e7e9-61d5-b60b-b4b059f68b26" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_CommonStockValue_c3f7606a-e7e9-61d5-b60b-b4b059f68b26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherMinorityInterests" xlink:label="loc_us-gaap_OtherMinorityInterests_518b12e9-f133-7067-58c4-9c440f426521" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_OtherMinorityInterests_518b12e9-f133-7067-58c4-9c440f426521" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_058e01e4-b9a1-623e-29f5-1b5c79bf095a" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_CommitmentsAndContingencies_058e01e4-b9a1-623e-29f5-1b5c79bf095a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestAmountRepresentedByPreferredStock" xlink:label="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_d40532a2-b1c1-c447-5753-561ecd489dd7" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_d40532a2-b1c1-c447-5753-561ecd489dd7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_00443492-92dd-7fc1-13b6-792f3e163e73" 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_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:to="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" 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_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:to="loc_us-gaap_MinorityInterestAmountRepresentedByPreferredStock_d40532a2-b1c1-c447-5753-561ecd489dd7" 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_00443492-92dd-7fc1-13b6-792f3e163e73" xlink:to="loc_us-gaap_OtherMinorityInterests_518b12e9-f133-7067-58c4-9c440f426521" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfAssetsAcquired" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_1c757533-a0b5-812d-704c-e0cda6cd7952" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_1c757533-a0b5-812d-704c-e0cda6cd7952" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAssumed1" xlink:label="loc_us-gaap_LiabilitiesAssumed1_fb277a13-1750-33a4-4b9f-4d55e38644f8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:to="loc_us-gaap_LiabilitiesAssumed1_fb277a13-1750-33a4-4b9f-4d55e38644f8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_84cc24ed-d44c-2db0-9066-6b54091db5c7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_84cc24ed-d44c-2db0-9066-6b54091db5c7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_68e10ff8-b323-b033-86bb-bb6c9af3232f" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_68e10ff8-b323-b033-86bb-bb6c9af3232f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualProvision" xlink:label="loc_us-gaap_LossContingencyAccrualProvision_8edecb72-1896-c0f4-96c1-af9d830b8944" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_LossContingencyAccrualProvision_8edecb72-1896-c0f4-96c1-af9d830b8944" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_334d555b-b9fe-0977-e786-bc2e16922108" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivities_334d555b-b9fe-0977-e786-bc2e16922108" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapital" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapital_6c5ef6ac-0d12-b149-6c27-b013e773a274" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapital_6c5ef6ac-0d12-b149-6c27-b013e773a274" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_9c014c8e-ef65-6055-d342-3e048173d471" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_9c014c8e-ef65-6055-d342-3e048173d471" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_5ffad1f9-ed26-c38a-cad9-7d2f16245ec2" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_5ffad1f9-ed26-c38a-cad9-7d2f16245ec2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_a551419a-84c3-d201-c432-19962b2f7576" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInInsuranceSettlementsReceivable_a551419a-84c3-d201-c432-19962b2f7576" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_95a52f72-b769-d714-3dd4-90b9ac2a17e8" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_95a52f72-b769-d714-3dd4-90b9ac2a17e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_9b8323ad-1658-fe33-490d-bb35957a8b02" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_9b8323ad-1658-fe33-490d-bb35957a8b02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_84cc24ed-d44c-2db0-9066-6b54091db5c7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_fcdc0031-632d-d703-c30b-13d96fda604e" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_fcdc0031-632d-d703-c30b-13d96fda604e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_a3cce359-4901-8e47-7521-d2fa73471a4d" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_a3cce359-4901-8e47-7521-d2fa73471a4d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_1ae5d9ad-7c85-22bf-cb6d-785e5a91ede1" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_1ae5d9ad-7c85-22bf-cb6d-785e5a91ede1" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_PurchasesOfNuclearDecommissioningAndOtherTrustAssets" xlink:label="loc_sre_PurchasesOfNuclearDecommissioningAndOtherTrustAssets_33ff284e-9b59-5b4f-84c7-1c7b59839bd5" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_sre_PurchasesOfNuclearDecommissioningAndOtherTrustAssets_33ff284e-9b59-5b4f-84c7-1c7b59839bd5" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_ProceedsFromSalesByNuclearDecommissioningAndOtherTrusts" xlink:label="loc_sre_ProceedsFromSalesByNuclearDecommissioningAndOtherTrusts_2917e22c-b6ee-0498-af43-1c7b5a13dc03" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_sre_ProceedsFromSalesByNuclearDecommissioningAndOtherTrusts_2917e22c-b6ee-0498-af43-1c7b5a13dc03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DecreaseInRestrictedCash" xlink:label="loc_us-gaap_DecreaseInRestrictedCash_750c6ddc-547b-e601-9be0-8817002e91d2" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_DecreaseInRestrictedCash_750c6ddc-547b-e601-9be0-8817002e91d2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseInRestrictedCash" xlink:label="loc_us-gaap_IncreaseInRestrictedCash_7b7b111f-2d05-94ec-618d-e908e21ee260" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_IncreaseInRestrictedCash_7b7b111f-2d05-94ec-618d-e908e21ee260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToFundLongtermLoansToRelatedParties" xlink:label="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_3409677e-9baf-07e4-bffc-2adec217f214" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_3409677e-9baf-07e4-bffc-2adec217f214" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties" xlink:label="loc_us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties_db4995fc-333b-981e-8220-efaa6ba9c396" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties_db4995fc-333b-981e-8220-efaa6ba9c396" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_5eaab9ea-3795-2871-0d80-72b9662e37e6" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_5eaab9ea-3795-2871-0d80-72b9662e37e6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToInvestInDecommissioningFund" xlink:label="loc_us-gaap_PaymentsToInvestInDecommissioningFund_311182fa-99cd-be2a-eb5a-66dbd06bb818" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToInvestInDecommissioningFund_311182fa-99cd-be2a-eb5a-66dbd06bb818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromDecommissioningFund" xlink:label="loc_us-gaap_ProceedsFromDecommissioningFund_631d2f56-e0ec-61f9-87b3-63acbd64d8f8" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromDecommissioningFund_631d2f56-e0ec-61f9-87b3-63acbd64d8f8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_f20d679d-e600-130c-7529-53a390c84d23" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_f20d679d-e600-130c-7529-53a390c84d23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_84cc24ed-d44c-2db0-9066-6b54091db5c7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_6f80ca9e-82d0-f056-a403-c4914c1ce379" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_6f80ca9e-82d0-f056-a403-c4914c1ce379" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock_05708554-fd2d-4966-d505-70829dfbfd28" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock_05708554-fd2d-4966-d505-70829dfbfd28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_dbbd5d91-eb58-fa81-2753-d9ddf4ada4c1" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_dbbd5d91-eb58-fa81-2753-d9ddf4ada4c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8a1490c4-32d9-5132-1fe2-2675a45abdae" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8a1490c4-32d9-5132-1fe2-2675a45abdae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e5f1c7a4-b42a-8461-2001-b1f20e51b257" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e5f1c7a4-b42a-8461-2001-b1f20e51b257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_2b72fe5f-3c0e-d5e0-8e5c-ad01818e58e5" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_2b72fe5f-3c0e-d5e0-8e5c-ad01818e58e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_7d7c25f1-5bd5-158c-2590-7fec3e2c0c75" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_7d7c25f1-5bd5-158c-2590-7fec3e2c0c75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForHedgeFinancingActivities_c409609a-87df-0ac9-96cf-f40b3659f551" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsForHedgeFinancingActivities_c409609a-87df-0ac9-96cf-f40b3659f551" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9c4e2a5c-e841-39a2-fcf8-f80cfa44af11" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9c4e2a5c-e841-39a2-fcf8-f80cfa44af11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_f5111bee-d5f6-1852-97c9-8d4d4881d906" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_f5111bee-d5f6-1852-97c9-8d4d4881d906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_435f72c7-0f4e-47cb-a228-1fdf1a019a39" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_84cc24ed-d44c-2db0-9066-6b54091db5c7" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_435f72c7-0f4e-47cb-a228-1fdf1a019a39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" 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_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="arc" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_435f72c7-0f4e-47cb-a228-1fdf1a019a39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="arc" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_25092478-5ed6-8062-67ab-930a3e97a921" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedStatementsOfCashFlowsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:type="locator" />
    <link:loc xlink:href="sre-20180331.xsd#sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements" xlink:label="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_0e61c289-e683-1fc2-f58e-1c7b5972ec26" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:to="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_0e61c289-e683-1fc2-f58e-1c7b5972ec26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_0e61c289-e683-1fc2-f58e-1c7b5972ec26" xlink:to="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_TotalComprehensiveIncomeBeforePreferredStockDividendRequirements_0e61c289-e683-1fc2-f58e-1c7b5972ec26" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_d2d36274-7b68-9103-14a3-617c45cc554c" 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_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_d2d36274-7b68-9103-14a3-617c45cc554c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_cc7c59d2-21ac-163e-0898-1c1f212ef02b" 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_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_cc7c59d2-21ac-163e-0898-1c1f212ef02b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_2652b636-1a3b-e639-2800-d9ed5b9b4fc0" 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_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_2652b636-1a3b-e639-2800-d9ed5b9b4fc0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_2fdfbb07-51bb-6537-46a9-0bef59200e0c" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_499015ce-2160-aed2-85a3-080e8c4c6cdf" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_2fdfbb07-51bb-6537-46a9-0bef59200e0c" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilityRevenue" xlink:label="loc_us-gaap_UtilityRevenue_f1ca19d7-2596-2760-9ace-8ddd15e3ec58" 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_9894e895-7695-402a-9f03-08d60b7373b8" xlink:to="loc_us-gaap_UtilityRevenue_f1ca19d7-2596-2760-9ace-8ddd15e3ec58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ElectricUtilityRevenue" xlink:label="loc_us-gaap_ElectricUtilityRevenue_cece45b4-e0c7-5b24-1c35-a87595ddae62" 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_f1ca19d7-2596-2760-9ace-8ddd15e3ec58" xlink:to="loc_us-gaap_ElectricUtilityRevenue_cece45b4-e0c7-5b24-1c35-a87595ddae62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GasDomesticRegulatedRevenue" xlink:label="loc_us-gaap_GasDomesticRegulatedRevenue_eb81eb4a-2dba-abf7-ca6c-a751f5a4c6ee" 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_f1ca19d7-2596-2760-9ace-8ddd15e3ec58" xlink:to="loc_us-gaap_GasDomesticRegulatedRevenue_eb81eb4a-2dba-abf7-ca6c-a751f5a4c6ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpense" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" 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_9894e895-7695-402a-9f03-08d60b7373b8" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_8374815d-6da9-6bcc-f73e-6660e43fc429" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_8374815d-6da9-6bcc-f73e-6660e43fc429" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_f936f5ad-7f86-c2c3-9313-e75a48fcfb41" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_f936f5ad-7f86-c2c3-9313-e75a48fcfb41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseTaxes" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseTaxes_168e89de-8b8d-ab3f-67ea-807fd0a7dbda" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseTaxes_168e89de-8b8d-ab3f-67ea-807fd0a7dbda" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpensePurchasedPower" xlink:label="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_7910ab42-0f0f-8e6b-16fe-965191f9b027" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_7910ab42-0f0f-8e6b-16fe-965191f9b027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualProvision" xlink:label="loc_us-gaap_LossContingencyAccrualProvision_8edecb72-1896-c0f4-96c1-af9d830b8944" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UtilitiesOperatingExpense_182afee6-0fe1-b683-ce0e-22afb7282e53" xlink:to="loc_us-gaap_LossContingencyAccrualProvision_8edecb72-1896-c0f4-96c1-af9d830b8944" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3d9b4bd2-957e-ddb5-7841-6a572de70646" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" 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_3d9b4bd2-957e-ddb5-7841-6a572de70646" xlink:to="loc_us-gaap_ProfitLoss_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" 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_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:type="arc" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_LossContingencyAccrualProvision_8edecb72-1896-c0f4-96c1-af9d830b8944" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_27459a92-428a-e415-bdb1-176ed2662e11" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_InvestmentIncomeInterest_27459a92-428a-e415-bdb1-176ed2662e11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_593653f0-5123-9f01-2abc-54ff3e3ebd67" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatedOperatingRevenue" xlink:label="loc_us-gaap_RegulatedOperatingRevenue_b8be91d4-f92c-cfd1-b1b4-c16da43bda9f" 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_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:to="loc_us-gaap_RegulatedOperatingRevenue_b8be91d4-f92c-cfd1-b1b4-c16da43bda9f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnregulatedOperatingRevenue" xlink:label="loc_us-gaap_UnregulatedOperatingRevenue_081a7733-e707-638d-415f-b16cae27264a" 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_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:to="loc_us-gaap_UnregulatedOperatingRevenue_081a7733-e707-638d-415f-b16cae27264a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfNaturalGasPurchases" xlink:label="loc_us-gaap_CostOfNaturalGasPurchases_d6044b7f-1252-a9ca-46bd-c274cda40897" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_CostOfNaturalGasPurchases_d6044b7f-1252-a9ca-46bd-c274cda40897" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfDomesticRegulatedElectric" xlink:label="loc_us-gaap_CostOfDomesticRegulatedElectric_dfa820ea-432f-631f-8a06-ae9a1bfdbc5e" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_CostOfDomesticRegulatedElectric_dfa820ea-432f-631f-8a06-ae9a1bfdbc5e" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_CostOfNaturalGasElectricFuelAndPurchasedPower" xlink:label="loc_sre_CostOfNaturalGasElectricFuelAndPurchasedPower_80a84e6c-a306-3a0a-5a0a-1c7b591b6231" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_sre_CostOfNaturalGasElectricFuelAndPurchasedPower_80a84e6c-a306-3a0a-5a0a-1c7b591b6231" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_GasGatheringTransportationMarketingandProcessingCostsIncome" xlink:label="loc_sre_GasGatheringTransportationMarketingandProcessingCostsIncome_08C1BBA1CEA1986EDE9B6204A8C29D63" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_sre_GasGatheringTransportationMarketingandProcessingCostsIncome_08C1BBA1CEA1986EDE9B6204A8C29D63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_b0184ecc-12ea-c485-85c0-5fa141798e88" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_b0184ecc-12ea-c485-85c0-5fa141798e88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxesOther" xlink:label="loc_us-gaap_TaxesOther_568c8aa6-b74b-ba4c-ae89-eb95d50a2d5b" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_TaxesOther_568c8aa6-b74b-ba4c-ae89-eb95d50a2d5b" xlink:type="arc" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_UtilityRevenue_f1ca19d7-2596-2760-9ace-8ddd15e3ec58" xlink:type="arc" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseGasAndPetroleumPurchased_8374815d-6da9-6bcc-f73e-6660e43fc429" xlink:type="arc" />
    <link:calculationArc order="15" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_f936f5ad-7f86-c2c3-9313-e75a48fcfb41" xlink:type="arc" />
    <link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" xlink:type="arc" />
    <link:calculationArc order="17" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseTaxes_168e89de-8b8d-ab3f-67ea-807fd0a7dbda" xlink:type="arc" />
    <link:calculationArc order="18" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_UtilitiesOperatingExpensePurchasedPower_7910ab42-0f0f-8e6b-16fe-965191f9b027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_78b7d85e-8366-fe6d-cb1f-faac5a041b79" 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_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_78b7d85e-8366-fe6d-cb1f-faac5a041b79" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_IncomeLossFromEquityInvestments" xlink:label="loc_sre_IncomeLossFromEquityInvestments_EDF82C5FEC8259AD6ED8FA32D10E9101" 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_adacf05e-7e15-bd60-3e53-87432885dc29" xlink:to="loc_sre_IncomeLossFromEquityInvestments_EDF82C5FEC8259AD6ED8FA32D10E9101" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_baabbf0a-644b-708a-c310-1211f9af2775" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3d9b4bd2-957e-ddb5-7841-6a572de70646" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_baabbf0a-644b-708a-c310-1211f9af2775" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_2fdfbb07-51bb-6537-46a9-0bef59200e0c" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3d9b4bd2-957e-ddb5-7841-6a572de70646" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_2fdfbb07-51bb-6537-46a9-0bef59200e0c" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNet_55a6e935-5f76-bffc-398c-90015f2087f3" xlink:type="locator" />
    <link:loc xlink:href="sre-20180331.xsd#sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral" xlink:label="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" 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_55a6e935-5f76-bffc-398c-90015f2087f3" xlink:to="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated" xlink:label="loc_sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated_489904d9-0499-9fbc-601c-1c7b58dffeba" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_DerivativeInterestRateAndForeignExchangeInstrumentsDesignated_489904d9-0499-9fbc-601c-1c7b58dffeba" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated_c4d7c1e6-1028-ff4f-647b-1c7b593c2f16" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_DerivativeCommodityContractsNotSubjectToRateRecoveryNondesignated_c4d7c1e6-1028-ff4f-647b-1c7b593c2f16" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated_ee07c81f-4666-e030-22b1-1c7b58e6e652" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_DerivativeOffsettingCommodityContractsNotSubjectToRateRecoveryNondesignated_ee07c81f-4666-e030-22b1-1c7b58e6e652" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated_715c7be7-2d9a-f940-08e5-1c7b59f1e53c" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_DerivativeCommodityContractsSubjectToRateRecoveryNondesignated_715c7be7-2d9a-f940-08e5-1c7b59f1e53c" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated" xlink:label="loc_sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated_a5bc8664-f4aa-a7f4-5595-1c7b5a01a08c" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_DerivativeOffsettingCommodityContractsSubjectToRateRecoveryNondesignated_a5bc8664-f4aa-a7f4-5595-1c7b5a01a08c" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_AssociatedCashCollateralCommodityContractsSubjectToRateRecovery" xlink:label="loc_sre_AssociatedCashCollateralCommodityContractsSubjectToRateRecovery_ee12fd0f-ef51-5e0f-c4c0-1c7b59aa5dd8" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_AssociatedCashCollateralCommodityContractsSubjectToRateRecovery_ee12fd0f-ef51-5e0f-c4c0-1c7b59aa5dd8" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DerivativeForeignExchangeInstrumentsNondesignated" xlink:label="loc_sre_DerivativeForeignExchangeInstrumentsNondesignated_842291f4-3719-a8ac-b6f3-1c7b59ae17ca" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_OtherDerivativesAsHedgingInstrumentsAtFairValueNetBeforeCashCollateral_00e59cfe-c338-c731-ded1-1c7b5995aa92" xlink:to="loc_sre_DerivativeForeignExchangeInstrumentsNondesignated_842291f4-3719-a8ac-b6f3-1c7b59ae17ca" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery" xlink:label="loc_sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_eebb0e3f-4428-586a-f32a-1c7b590d3b1e" 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_55a6e935-5f76-bffc-398c-90015f2087f3" xlink:to="loc_sre_AdditionalMarginPostedForCommodityContractsNotSubjectToRateRecovery_eebb0e3f-4428-586a-f32a-1c7b590d3b1e" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery" xlink:label="loc_sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_03d3975a-62c3-d912-358f-1c7b581f4323" 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_55a6e935-5f76-bffc-398c-90015f2087f3" xlink:to="loc_sre_AdditionalMarginPostedForCommodityContractsSubjectToRateRecovery_03d3975a-62c3-d912-358f-1c7b581f4323" 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/FairValueMeasurementsNonrecurringFairValueMeasuresDetails" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosureRecurring" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureRecurring_3cd2c728-8c76-e879-2c9a-843bda860cd5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_5296452d-3ce9-bd2f-2a62-9643805fc6ab" 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_3cd2c728-8c76-e879-2c9a-843bda860cd5" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_5296452d-3ce9-bd2f-2a62-9643805fc6ab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DecommissioningTrustAssetsAmount" xlink:label="loc_us-gaap_DecommissioningTrustAssetsAmount_56930ff4-ec99-352f-e46b-e898a4f68484" xlink:type="locator" />
    <link:loc xlink:href="sre-20180331.xsd#sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities" xlink:label="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_1e599013-2878-60f0-7dc1-1c7b5a264c8c" 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_56930ff4-ec99-352f-e46b-e898a4f68484" xlink:to="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_1e599013-2878-60f0-7dc1-1c7b5a264c8c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue_5f6018d7-d285-2195-0e06-87335af284f7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_1e599013-2878-60f0-7dc1-1c7b5a264c8c" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedUSGovernmentAndAgencyObligationsAtFairValue_5f6018d7-d285-2195-0e06-87335af284f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue_8b24f958-0ecb-c22f-763c-f4eb5feae363" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_1e599013-2878-60f0-7dc1-1c7b5a264c8c" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedStateAndMunicipalGovernmentObligationsAtFairValue_8b24f958-0ecb-c22f-763c-f4eb5feae363" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedOtherAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedOtherAtFairValue_da57b0ea-a0b7-fcbf-e106-8e4481ca3351" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_FairValueAssetsMeasuredOnRecurringBasisNuclearDecommissioningTrustsTotalDebtSecurities_1e599013-2878-60f0-7dc1-1c7b5a264c8c" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedOtherAtFairValue_da57b0ea-a0b7-fcbf-e106-8e4481ca3351" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue_9b773ed5-d024-3b4b-e95d-4592f2cf0c47" 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_56930ff4-ec99-352f-e46b-e898a4f68484" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedCorporateEquitiesAtFairValue_9b773ed5-d024-3b4b-e95d-4592f2cf0c47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosureRecurring" xlink:label="loc_us-gaap_AssetsFairValueDisclosureRecurring_e6ccb470-0ae1-237d-60e0-bd943b4e2069" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_62eb8c59-8348-bd48-683f-a9f1d164ff20" 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_e6ccb470-0ae1-237d-60e0-bd943b4e2069" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_62eb8c59-8348-bd48-683f-a9f1d164ff20" 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/GeneralInformationAndOtherFinancialData" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataAffiliatesRevenueAndCostOfSalesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataCapitalizedFinancingCostsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataChangesInAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_80870f71-876e-eaaa-f0a4-8338d8e9798b" 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_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_80870f71-876e-eaaa-f0a4-8338d8e9798b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_c1323577-e536-9051-1401-d064e7621fd6" 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_72d12753-e25c-cdc0-88b6-98db8d7b7fae" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_c1323577-e536-9051-1401-d064e7621fd6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataConsolidationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataDueToDueFromAffiliatesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_86e61cf2-b7b2-e230-65f1-5a2b152f3a30" 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_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_86e61cf2-b7b2-e230-65f1-5a2b152f3a30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_cee10fe8-a4bb-491c-22f6-69a723d6a718" 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_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_cee10fe8-a4bb-491c-22f6-69a723d6a718" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToEquityForwardAgreements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToEquityForwardAgreements_ea11412a-677a-aca4-2ad5-e667a3f3b645" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToEquityForwardAgreements_ea11412a-677a-aca4-2ad5-e667a3f3b645" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataGoodwillDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataIncomeTaxesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataInventoriesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EnergyRelatedInventoryNaturalGasInStorage" xlink:label="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_03e78846-24fc-c35e-7c3a-034096025f1f" 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_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:to="loc_us-gaap_EnergyRelatedInventoryNaturalGasInStorage_03e78846-24fc-c35e-7c3a-034096025f1f" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_EnergyRelatedInventoryLiquefiedNaturalGas" xlink:label="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_54b3683d-ed33-900c-670a-1c7b5952c554" 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_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:to="loc_sre_EnergyRelatedInventoryLiquefiedNaturalGas_54b3683d-ed33-900c-670a-1c7b5952c554" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_EnergyRelatedInventoryMaterialsAndSupplies" xlink:label="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_79e8d690-74b3-979e-0465-1c7b583d8c72" 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_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:to="loc_sre_EnergyRelatedInventoryMaterialsAndSupplies_79e8d690-74b3-979e-0465-1c7b583d8c72" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataOtherIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity" xlink:label="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_d76ee53d-fca3-451c-17df-ca20d4659c3a" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity_d76ee53d-fca3-451c-17df-ca20d4659c3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_7581ce25-4be4-db3f-9321-3b7f310ad996" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_GainLossOnInvestments_7581ce25-4be4-db3f-9321-3b7f310ad996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_dde99a81-dd7e-8567-385b-abc551560117" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_dde99a81-dd7e-8567-385b-abc551560117" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_8066ea7f-8eda-cbc3-fd28-816810f7d8a3" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_8066ea7f-8eda-cbc3-fd28-816810f7d8a3" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_DefinedBenefitPlanNetPeriodicBenefitCostCredit.ExcludingServiceCost" xlink:label="loc_sre_DefinedBenefitPlanNetPeriodicBenefitCostCredit.ExcludingServiceCost_6BA01CEE72916D268308FE1279B29582" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_sre_DefinedBenefitPlanNetPeriodicBenefitCostCredit.ExcludingServiceCost_6BA01CEE72916D268308FE1279B29582" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_RegulatoryInterestNet" xlink:label="loc_sre_RegulatoryInterestNet_7f20a19e-2652-8895-f4d4-1c7b59f728fa" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_sre_RegulatoryInterestNet_7f20a19e-2652-8895-f4d4-1c7b59f728fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_250c3b2f-7db5-7088-68cc-1dd831a2c2d7" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_250c3b2f-7db5-7088-68cc-1dd831a2c2d7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataOtherNoncontrollingInterestsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataPensionAndOtherPostretirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:href="sre-20180331.xsd#sre_DefinedBenefitPlanExpense" xlink:label="loc_sre_DefinedBenefitPlanExpense_70DB1CB62775D722460AFA5AC1BB329F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_DefinedBenefitPlanExpense_70DB1CB62775D722460AFA5AC1BB329F" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_bae25320-9d69-b27b-4684-0b60368d617f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_89ad3af5-a7a9-a0b6-3ed0-1824210c7a90" 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_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_89ad3af5-a7a9-a0b6-3ed0-1824210c7a90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_50406d00-3746-2e05-3a50-4b2bf529ff14" 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_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_50406d00-3746-2e05-3a50-4b2bf529ff14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_053c4475-6836-cf00-1abe-b15f58110eab" 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_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_053c4475-6836-cf00-1abe-b15f58110eab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_ab621a8a-0d01-618c-dbe1-c25fa3bace61" 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_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_ab621a8a-0d01-618c-dbe1-c25fa3bace61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b2e93b1c-a313-bd95-39dd-1f9d9938b2e9" 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_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_b2e93b1c-a313-bd95-39dd-1f9d9938b2e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_747869e7-4e1c-6de6-fa9c-d8cc9c90ed9d" 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_bae25320-9d69-b27b-4684-0b60368d617f" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_747869e7-4e1c-6de6-fa9c-d8cc9c90ed9d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherRegulatoryAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_fe68af9d-21c8-6c2f-88b4-5b204d736b24" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_DefinedBenefitPlanExpense_70DB1CB62775D722460AFA5AC1BB329F" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherRegulatoryAssets_fe68af9d-21c8-6c2f-88b4-5b204d736b24" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataRabbiTrustDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataReclassificationFromAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_d69779e7-80bd-4b93-0bb0-641eb2f586cc" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_d69779e7-80bd-4b93-0bb0-641eb2f586cc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_aa03feac-7644-913e-0208-3bf6e84c2b98" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_b0a3a0d3-8732-f4e7-3bda-ee235d574c3b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_aa03feac-7644-913e-0208-3bf6e84c2b98" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataShareholdersEquityAndNoncontrollingInterestDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralInformationAndOtherFinancialDataVariableInterestEntitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:type="locator" />
    <link:loc xlink:href="sre-20180331.xsd#sre_UtilityOperatingRevenueFuel" xlink:label="loc_sre_UtilityOperatingRevenueFuel_772ff457-0799-97ef-771c-1c7b5a1eff3a" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_sre_UtilityOperatingRevenueFuel_772ff457-0799-97ef-771c-1c7b5a1eff3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_f936f5ad-7f86-c2c3-9313-e75a48fcfb41" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations_f936f5ad-7f86-c2c3-9313-e75a48fcfb41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization" xlink:label="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization_5084c332-4348-b9f8-2a0f-8f6f1d73c700" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/GeneralRateCaseDetails" 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/InvestmentsInUnconsolidatedEntitiesInvestmentInUnconsolidatedEntitiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/InvestmentsInUnconsolidatedEntitiesSummarizedFinancialInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:label="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_9959266e-1119-151a-0e79-b11b52992a39" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:label="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_11ba147f-4c98-a12a-ef66-32cdeee7133b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_9959266e-1119-151a-0e79-b11b52992a39" xlink:to="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_11ba147f-4c98-a12a-ef66-32cdeee7133b" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_Equitymethodinvestmentsummarizedfinancialinformationoperatingexpense" xlink:label="loc_sre_Equitymethodinvestmentsummarizedfinancialinformationoperatingexpense_8b829c5f-218b-052f-7313-3c8cbd6c60d6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_9959266e-1119-151a-0e79-b11b52992a39" xlink:to="loc_sre_Equitymethodinvestmentsummarizedfinancialinformationoperatingexpense_8b829c5f-218b-052f-7313-3c8cbd6c60d6" xlink:type="arc" />
  </link:calculationLink>
  <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/NewAccountingStandardsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RegulatoryAccountsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RegulatoryMatters" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RegulatoryMattersCostOfCapitalDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RegulatoryMattersTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesContractLiabilitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatedAndUnregulatedOperatingRevenue" xlink:label="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f8614c43-5d24-68f7-ca63-14ebca646494" 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_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f8614c43-5d24-68f7-ca63-14ebca646494" xlink:type="arc" />
    <link:loc xlink:href="sre-20180331.xsd#sre_UtilitiesRegulatoryRevenue" xlink:label="loc_sre_UtilitiesRegulatoryRevenue_FA528935AF4F69E74EF7FF4E3B888652" 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_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:to="loc_sre_UtilitiesRegulatoryRevenue_FA528935AF4F69E74EF7FF4E3B888652" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherSalesRevenueNet" xlink:label="loc_us-gaap_OtherSalesRevenueNet_e7cc3a47-5261-0c18-da28-7de072dc978b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RegulatedAndUnregulatedOperatingRevenue_593653f0-5123-9f01-2abc-54ff3e3ebd67" xlink:to="loc_us-gaap_OtherSalesRevenueNet_e7cc3a47-5261-0c18-da28-7de072dc978b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesOtherRevenuesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesPerformanceObligationsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesReceivablesFromRevenuesFromContractsWithCustomersDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/RevenuesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationDetails" xlink:type="extended">
    <link:loc xlink:href="sre-20180331.xsd#sre_RegulatoryAssetNuclearPlantClosure" xlink:label="loc_sre_RegulatoryAssetNuclearPlantClosure_f6fe76a0-f205-d6e0-9b6a-1c7b5911a767" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatoryAssetsCurrent" xlink:label="loc_us-gaap_RegulatoryAssetsCurrent_daa06a81-b926-da9a-fbbf-8528d98637b7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_RegulatoryAssetNuclearPlantClosure_f6fe76a0-f205-d6e0-9b6a-1c7b5911a767" xlink:to="loc_us-gaap_RegulatoryAssetsCurrent_daa06a81-b926-da9a-fbbf-8528d98637b7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RegulatoryAssetsNoncurrent" xlink:label="loc_us-gaap_RegulatoryAssetsNoncurrent_5f59bb76-086c-b40c-c9d5-6de36890630c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_sre_RegulatoryAssetNuclearPlantClosure_f6fe76a0-f205-d6e0-9b6a-1c7b5911a767" xlink:to="loc_us-gaap_RegulatoryAssetsNoncurrent_5f59bb76-086c-b40c-c9d5-6de36890630c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationNuclearDecommissioningTrustsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1932fd43-f07d-5e04-493b-eca2ebb13c97" 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_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1932fd43-f07d-5e04-493b-eca2ebb13c97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" 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_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e96beffd-8ab7-62f8-402b-cfa1adccd68f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_d444402b-921b-e0fa-119c-908ab66850af" 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_30dc6014-97a8-c9af-5d13-c233c1983f7f" xlink:to="loc_us-gaap_AvailableForSaleSecurities_d444402b-921b-e0fa-119c-908ab66850af" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationNuclearFuelDisposalDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationNuclearInsuranceDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.sempra.com/role/SanOnofreNuclearGeneratingStationTables" 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>
