DiveTwin

Calculator

Gas density calculator — Density at depth

Gas density rises linearly with depth and depends on the mix. Above ~5.2 g/L, divers retain CO₂ more easily and accident rates climb — a key reason helium is added to deep mixes. The calculator returns density at depth and the maximum depth where the mix stays under 5.2 g/L.

How gas density is calculated

Density at the surface is the mass-weighted sum of the constituent gases at standard conditions. At depth it scales linearly with absolute pressure.

ρ (g/L) = P_amb × (1.428·FO₂ + 1.251·FN₂ + 0.178·FHe)

P_amb    absolute ambient pressure (bar)
1.428    O₂ density at 1 bar, 15 °C (g/L)
1.251    N₂ density at 1 bar, 15 °C (g/L)
0.178    He density at 1 bar, 15 °C (g/L)

Worked example: air at 40 m salt water. P_ambient ≈ 5.0 bar; surface density ≈ 1.29 g/L; density at depth ≈ 6.4 g/L — over the 5.2 g/L threshold, hence the move to a helium-bearing mix on technical dives below ~30 m.

Why 5.2 g/L

The 5.2 g/L threshold comes from Anthony & Mitchell's analysis of fatal-accident data (DAN, 2016): gas density above this value correlated with elevated risk of CO₂ retention, panic, and loss of motor control. 6.2 g/L is treated as a hard ceiling. Replacing nitrogen with helium drops density quickly; switching part of the mix to oxygen does too, but ppO₂ caps that approach.

Frequently asked questions

What's the gas density of air at 40 m?
About 6.4 g/L in salt water — over the recommended 5.2 g/L limit. This is why helium is added to mixes for tech dives below ~30 m.
How does helium change density?
Helium is roughly seven times less dense than nitrogen. Replacing 35% N₂ with He cuts the inert contribution by about a quarter, which keeps density inside the 5.2 g/L ceiling at much greater depths.
Is 5.2 g/L a hard limit?
Treat it as a strong recommendation. 6.2 g/L is treated as the absolute ceiling in the literature; 5.2 is the working limit most technical agencies adopt.
Do CCR divers worry about density?
Yes, and arguably more. Work of breathing through the loop adds to the density problem; CCR diluent choice is heavily driven by keeping density manageable on bailout.
Educational tool. Density is one of several constraints — ppO₂, narcosis, and decompression all bracket gas selection too.