🌱 Carbon & Compliance — 6.2
Developer HubModule 6: Carbon & Compliance6.2
Reading12 min

Carbon Intensity: Calculating gCO₂/kWh

🌱 Module 6: Carbon & Compliance

Carbon Intensity: Calculating gCO2/kWh

Carbon intensity measures the greenhouse gas emissions produced per unit of electricity generated or consumed. It is expressed in grams of CO2 equivalent per kilowatt-hour (gCO2eq/kWh) and varies dramatically by energy source, location, and time.

Emission Factors by Source

Energy SourceDirect Emissions (gCO2/kWh)Lifecycle Emissions (gCO2/kWh)
Coal900-1100950-1200
Natural Gas (CCGT)350-450410-520
Natural Gas (Peaker)500-700550-750
Oil/Diesel650-900700-950
Nuclear05-15
Solar PV025-48
Wind (Onshore)07-15
Wind (Offshore)012-23
Hydroelectric04-30
Geothermal015-55
Battery Storage0 (direct)Depends on charging source

Direct emissions occur at the point of generation (smokestack). Lifecycle emissions include manufacturing, fuel extraction, transportation, and decommissioning.

Grid Average vs. Marginal Emission Factor

Grid average emission factor: Total emissions divided by total generation. This represents the average carbon intensity of all electricity on the grid at a given time.

Grid Average = Sum(Generation_i × EF_i) / Sum(Generation_i)

Marginal emission factor: The emission rate of the next unit of electricity generated (or avoided). This is what changes when you add or remove load.

If adding 1 MW of load causes a gas peaker to increase output:
  Marginal EF = 600 gCO2/kWh (peaker emission factor)

If adding 1 MW of load during solar surplus causes no change in fossil generation:
  Marginal EF = 0 gCO2/kWh

Which to use? For Scope 2 accounting, use the average factor (or a contract-specific factor). For evaluating the impact of operational decisions (load shifting, DR), use the marginal factor.

Temporal and Locational Carbon Intensity

Carbon intensity varies by:

Time of day:

Midnight: Gas baseload + wind         → 300 gCO2/kWh
Noon:     Gas baseload + solar + wind  → 150 gCO2/kWh
6 PM:     Gas baseload + gas peakers   → 450 gCO2/kWh

Location: A data center in Norway (hydroelectric grid, ~20 gCO2/kWh) has a dramatically different carbon footprint than one in Poland (coal-heavy grid, ~700 gCO2/kWh).

Calculating Carbon Emissions for a Facility

Emissions (kgCO2) = Energy (kWh) × Carbon Intensity (gCO2/kWh) / 1000

// For time-varying intensity, integrate over each interval:
Total Emissions = Sum over t of (Energy_t × CI_t)

For a data center consuming 10 MW:

Hourly energy = 10 MWh = 10,000 kWh
If CI = 400 gCO2/kWh:
  Hourly emissions = 10,000 × 400 / 1000 = 4,000 kgCO2 = 4 tonnes CO2
Annual emissions = 4 × 8,760 = 35,040 tonnes CO2

Data Sources

  • ElectricityMaps: Real-time and forecast carbon intensity for 200+ zones worldwide. API provides 5-minute resolution.
  • EPA eGRID: US annual average emission factors by grid region.
  • UNFCCC CDM: Standardized baselines for carbon credit projects.
  • National registries: DEWA publishes UAE grid emission factors; EU member states report under the EED.

Carbon-Aware Computing

Carbon-aware computing shifts computational workloads to times and locations with lower carbon intensity:

// Simple carbon-aware scheduling
const zones = await getCarbon Intensity(['uae', 'norway', 'ireland']);
const cleanestZone = zones.sort((a, b) => a.intensity - b.intensity)[0];
await migrateWorkload(cleanestZone.id);

This can reduce a workload's carbon footprint by 30-50% without increasing cost if compute capacity is available in cleaner regions. EnergyAtIt's workload migration service implements this for data center operators.

Log in to track your progress and earn certifications.