Ocean Heat Content Calculator

Find the heat stored in an ocean layer in J/m2 and zettajoules, or the layer-mean warming that a given heat uptake produces.

🔥 Ocean Heat Content Calculator
Layer thickness (h)
m
104000
Temperature input type
Mean layer temperature or anomaly
C or K
Reference temperature (absolute type only)
C
Heat source
Heat uptake (Q)
ZJ
0500
Earth energy imbalance (whole Earth surface)
W/m²
Duration
years
Share of imbalance entering the ocean
%
Layer thickness receiving the heat (h)
m
104000
Seawater density (ρ)
kg/m³
Specific heat (cp, 3850 to 4000 typical)
J/(kg K)
Ocean area preset
Ocean area (A)
km²
Heat content per area (OHC)
—
Total energy (Q)
—
Total energy in ZJ
—
Temperature change used
—
Layer volume
—
Equals this much 1 W/m² imbalance
—

Layer-mean warming
—
Warming in kelvin
—
Heat taken up
—
Layer volume
—
Heat per area of ocean
—
Earth imbalance per year
—
Warming rate
—

🔥 What is Ocean Heat Content?

Ocean heat content (OHC) is the thermal energy stored in a layer of seawater, measured relative to a reference temperature. Because water has a very large specific heat and the ocean has enormous mass, it is the main reservoir of the excess energy trapped by greenhouse gases. Between 1971 and 2018 the ocean accounted for over 90 percent of the Earth system's excess energy, and a 2023 synthesis for 1960 to 2020 put the ocean share near 89 percent. Tracking OHC is therefore one of the most direct ways to follow global warming, and it is steadier than surface temperature, which jumps around with El Nino and La Nina.

This calculator works in two ways. In Layer heat content mode you enter a layer thickness, a mean temperature (or a temperature anomaly), the density and specific heat of seawater, and an ocean area. It returns heat per square metre in J/m², total energy in joules and zettajoules (1 ZJ = 1021 J), and the layer volume. In Warming mode you run the same physics backward: you supply a heat uptake in ZJ, or an Earth energy imbalance in W/m² applied for some number of years, and it returns how many millikelvin the receiving layer warms. Typical users include students working through climate-energy budgets, teachers building problem sets, and analysts checking whether a quoted number of zettajoules makes physical sense.

Three details are easy to get wrong. First, heat content only has meaning relative to a reference, so a number such as 8.6e8 J/m² says nothing until you state the reference or use an anomaly. Second, the Earth energy imbalance of about 0.5 to 1 W/m² is defined over the entire planetary surface of 5.1e14 m², but the ocean covers only about 71 percent of it, so the heat per square metre of ocean is larger than the imbalance suggests. Third, specific heat varies slightly with salinity, temperature and pressure. TEOS-10 gives cp0 = 3991.87 J/(kg K), and the practical range is about 3850 to 4000, so the default of 3990 is a good compromise.

For related thermal effects see the sea level rise from thermal expansion calculator, which converts the same kind of warming into thermosteric sea level. The calculator here assumes a uniform layer, a constant density and no latent heat, so treat results as layer-mean estimates.

📐 Formula

OHC  =  ρ cp h (T − Tref)    Q  =  OHC × A    ΔT  =  Q ÷ (ρ cp A h)
OHC = ocean heat content per unit area (J/m²)
ρ = seawater density (default 1025 kg/m³), cp = specific heat (default 3990 J/(kg K); TEOS-10 cp0 = 3991.87)
h = layer thickness (m), A = ocean area (m²; the input is in km², 1 km² = 106 m²)
T − Tref = mean layer temperature minus the reference temperature, or the anomaly itself (K)
Q = total heat (J); 1 ZJ = 1021 J
ΔT = layer-mean warming (K) for a heat uptake Q; 1 K = 1000 mK
Earth energy imbalance: Q = F × 5.1×1014 m² × t × (ocean share), with t in seconds (1 year = 31,557,600 s), so 1 W/m² gives 16.1 ZJ per year
Example: h = 700 m, anomaly 0.3 K, A = 3.61×108 km² gives OHC = 8.588×108 J/m² and Q = 310.04 ZJ.

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Layer heat content to find the energy stored in a layer, or Warming to find how much a heat uptake warms a layer.
2
Enter the layer and temperature. Type the layer thickness in metres and either a temperature anomaly in kelvin or an absolute mean temperature with a reference temperature.
3
Set density, specific heat and area. Keep 1025 kg/m³ and 3990 J/(kg K), then choose the global ocean, a basin or a custom area in km².
4
Read joules, zettajoules and warming. Review heat per square metre, total energy in J and ZJ, or the layer-mean warming in K and mK, and check the chart for your point.

💡 Example Calculations

Example 1 — Upper 700 m of the Global Ocean

Top 700 m of the global ocean (3.61×108 km²) warmed by an anomaly of 0.3 K, ρ = 1025, cp = 3990

1
Volumetric heat capacity: ρ cp = 1025 × 3990 = 4.0898×106 J/(m³ K)
2
OHC = 4.0898×106 × 700 × 0.3 = 8.588×108 J/m²
3
Area: 3.61×108 km² = 3.61×1014 m², so Q = 3.100×1023 J = 310.04 ZJ
4
At 16.1 ZJ per year for a 1 W/m² imbalance, this equals 19.26 years of that imbalance. Layer volume is 2.527×108 km³.
OHC = 8.588×108 J/m², Q = 310.04 ZJ
Try this example →

Example 2 — Tropical Pacific Warm Layer

Top 100 m of the Pacific (1.65×108 km²) at an absolute mean temperature of 28 C, reference 0 C

1
Temperature difference: 28 − 0 = 28 K
2
OHC = 4.0898×106 × 100 × 28 = 1.145×1010 J/m²
3
Q = 1.145×1010 × 1.65×1014 m² = 1.889×1024 J = 1889.46 ZJ
4
Layer volume is 1.650×107 km³. This absolute number is large only because the reference is 0 C, so only differences are physically meaningful.
OHC = 1.145×1010 J/m², Q = 1889.46 ZJ
Try this example →

Example 3 — Warming from 100 ZJ of Heat

100 ZJ spread evenly through the top 2000 m of the global ocean

1
Volume: V = 3.61×1014 m² × 2000 m = 7.22×1017 m³ (7.220×108 km³)
2
Heat capacity: ρ cp V = 4.0898×106 × 7.22×1017 = 2.953×1024 J/K
3
ΔT = 100×1021 / 2.953×1024 = 0.0339 K = 33.87 mK
4
Heat per square metre of ocean: 2.770×108 J/m²
ΔT = 33.87 mK (0.0339 K)
Try this example →

Example 4 — A Decade of 0.8 W/m² Imbalance

Earth energy imbalance of 0.8 W/m² for 10 years, 90 percent into the global ocean, spread through 2000 m

1
Earth total per year: 0.8 × 5.1×1014 m² × 31,557,600 s = 12.88 ZJ per year
2
Ocean share over 10 years: 12.88 × 10 × 0.90 = 115.88 ZJ
3
ΔT = 115.88×1021 / 2.953×1024 = 0.0392 K = 39.24 mK
4
Warming rate: 39.24 mK over one decade, or 39.24 mK per decade. Heat per square metre of ocean is 3.210×108 J/m².
Q = 115.88 ZJ, ΔT = 39.24 mK
Try this example →

❓ Frequently Asked Questions

How do you calculate ocean heat content?+
Multiply density, specific heat, layer thickness and the temperature difference from a reference: OHC = rho cp h (T - Tref). With rho = 1025 kg/m3, cp = 3990 J/(kg K), h = 700 m and a 0.3 K anomaly, OHC = 8.59e8 J per square metre. Multiply by the ocean area to get total joules.
What is a zettajoule and why is OHC given in ZJ?+
One zettajoule is 1e21 joules. Ocean heat changes of whole basins are so large that joules are unwieldy, so scientists quote ZJ. The global ocean 0-2000 m layer gained roughly 24e22 J, or 240 ZJ, between 1955 and 2010 according to Levitus et al. (2012).
What specific heat should I use for seawater?+
A practical value is 3990 J/(kg K). Seawater cp ranges from about 3850 to 4000 depending on salinity, temperature and pressure. TEOS-10 defines cp0 = 3991.87 J/(kg K) as the reference for Conservative Temperature, which is the most accurate choice for heat content.
How much of global warming heat goes into the ocean?+
About 90 percent. Between 1971 and 2018 the ocean accounted for over 90 percent of the Earth system's excess energy, and a 2023 synthesis for 1960 to 2020 gave about 89 percent. Land, atmosphere and melting ice share the remaining roughly 10 percent.
How many ZJ per year does an Earth energy imbalance of 1 W/m2 represent?+
About 16.1 ZJ per year. The Earth surface is 5.1e14 m2, so 1 W/m2 is 5.1e14 W. Multiplying by 31,557,600 seconds in a year gives 1.61e22 J, or 16.1 ZJ. At the observed 0.8 W/m2, that is about 12.9 ZJ per year into the whole climate system.
How do I convert a temperature anomaly into ocean heat content?+
Select the anomaly option and enter the anomaly in kelvin. The calculator uses it directly as T - Tref. A 0.1 K anomaly in the top 700 m of the global ocean gives 103 ZJ, and the same anomaly in the top 2000 m gives about 295 ZJ.
Why is the reference temperature 0 C by default?+
Heat content is only defined relative to a reference. Choosing 0 C gives an absolute-style number that is always positive, but it has no physical meaning on its own. Climate studies instead use anomalies relative to a baseline period, so only the change in OHC is meaningful.
How much does the ocean warm for a given heat uptake?+
Layer warming is dT = Q / (rho cp V). For 100 ZJ spread through the global ocean down to 2000 m (volume 7.22e17 m3), dT is about 0.034 K, or 34 mK. A thinner layer warms more: the same 100 ZJ confined to 700 m warms it by about 97 mK.
Is ocean heat content the same as sea surface temperature?+
No. Sea surface temperature describes only the skin of the ocean. Ocean heat content integrates temperature over a depth range and weights it by density and specific heat, so it captures warming below the surface and is a far more stable indicator of energy accumulation.
What area should I use for the global ocean?+
Use 3.61e8 km2, about 71 percent of the Earth surface. Basin values depend on boundaries: the Pacific is about 1.65e8 km2, the Atlantic about 1.06e8 km2 including marginal seas, and the Indian Ocean about 7.06e7 km2. Choose Custom for any region.
Does this calculator include heat below 2000 m or in sea ice?+
No. It treats the layer as uniform with a constant density and specific heat, and it ignores latent heat from melting ice and geothermal heat. Real profiles vary with depth, so the result is a layer-mean estimate, good to a few percent for typical use.

How do you calculate ocean heat content?

Multiply density, specific heat, layer thickness and the temperature difference from a reference: OHC = rho cp h (T - Tref). With rho = 1025 kg/m3, cp = 3990 J/(kg K), h = 700 m and a 0.3 K anomaly, OHC = 8.59e8 J per square metre. Multiply by the ocean area to get total joules.

What is a zettajoule and why is OHC given in ZJ?

One zettajoule is 1e21 joules. Ocean heat changes of whole basins are so large that joules are unwieldy, so scientists quote ZJ. The global ocean 0-2000 m layer gained roughly 24e22 J, or 240 ZJ, between 1955 and 2010 according to Levitus et al. (2012).

What specific heat should I use for seawater?

A practical value is 3990 J/(kg K). Seawater cp ranges from about 3850 to 4000 depending on salinity, temperature and pressure. TEOS-10 defines cp0 = 3991.87 J/(kg K) as the reference for Conservative Temperature, which is the most accurate choice for heat content.

How much of global warming heat goes into the ocean?

About 90 percent. Between 1971 and 2018 the ocean accounted for over 90 percent of the Earth system's excess energy, and a 2023 synthesis for 1960 to 2020 gave about 89 percent. Land, atmosphere and melting ice share the remaining roughly 10 percent.

How many ZJ per year does an Earth energy imbalance of 1 W/m2 represent?

About 16.1 ZJ per year. The Earth surface is 5.1e14 m2, so 1 W/m2 is 5.1e14 W. Multiplying by 31,557,600 seconds in a year gives 1.61e22 J, or 16.1 ZJ. At the observed 0.8 W/m2, that is about 12.9 ZJ per year into the whole climate system.

How do I convert a temperature anomaly into ocean heat content?

Select the anomaly option and enter the anomaly in kelvin. The calculator uses it directly as T - Tref. A 0.1 K anomaly in the top 700 m of the global ocean gives 103 ZJ, and the same anomaly in the top 2000 m gives about 295 ZJ.

Why is the reference temperature 0 C by default?

Heat content is only defined relative to a reference. Choosing 0 C gives an absolute-style number that is always positive, but it has no physical meaning on its own. Climate studies instead use anomalies relative to a baseline period, so only the change in OHC is meaningful.

How much does the ocean warm for a given heat uptake?

Layer warming is dT = Q / (rho cp V). For 100 ZJ spread through the global ocean down to 2000 m (volume 7.22e17 m3), dT is about 0.034 K, or 34 mK. A thinner layer warms more: the same 100 ZJ confined to 700 m warms it by about 97 mK.

Is ocean heat content the same as sea surface temperature?

No. Sea surface temperature describes only the skin of the ocean. Ocean heat content integrates temperature over a depth range and weights it by density and specific heat, so it captures warming below the surface and is a far more stable indicator of energy accumulation.

What area should I use for the global ocean?

Use 3.61e8 km2, about 71 percent of the Earth surface. Basin values depend on boundaries: the Pacific is about 1.65e8 km2, the Atlantic about 1.06e8 km2 including marginal seas, and the Indian Ocean about 7.06e7 km2. Choose Custom for any region.

Does this calculator include heat below 2000 m or in sea ice?

No. It treats the layer as uniform with a constant density and specific heat, and it ignores latent heat from melting ice and geothermal heat. Real profiles vary with depth, so the result is a layer-mean estimate, good to a few percent for typical use.