Skip to main content
Gas Management

Real-Gas Cylinder Estimate

Compare the conventional pressure-volume rule with a bounded endpoint model using measured cylinder-gas temperatures and oxygen composition.

Cylinder endpoint measurements
Use internal water volume and gas temperatures measured with the pressure readings. Nominal rated capacity and water temperature are not substitutes.
Measurement examples
bar

Allowed range: 1 to 350 bar.

bar

Allowed range: 0 to 350 bar.

L water volume

Allowed range: 3 to 30 L water volume.

% O₂

Allowed range: 21 to 40 % O₂.

°C

Allowed range: 0 to 40 °C.

°C

Allowed range: 0 to 40 °C.

Estimated gas removed
The model and conventional comparison use different named surface conventions; neither is a measured “true” amount.
Modeled at 20 °C and 1 atm
1,926 L
Endpoint real-gas estimate
Linear pressure × water volume
2,100 L
Conventional 1 bar rule
Modeled difference
-8.3%
Not an accuracy claim

Interpolated compressibility factors

Start Z
1.03399
End Z
0.99040
Reference Z
0.99965

Model output is not planning capacity

Use the cylinder manufacturer's rated capacity and conservative reserves for dive planning. This estimate is for examining a measured pressure-and-temperature interval; it does not improve an unmeasured warm fill or replace gauge, analyzer, and temperature uncertainty.
Endpoint inventory model

A rigid cylinder holds an amount of gas proportional to absolute pressure divided by compressibility and temperature. Gas removed is the difference between the start and end states, expressed as a volume at the reference state.

ni=Pi VwZi TiVref=(n1−n2) Zref TrefPref\begin{aligned} n_i &= \frac{P_i \, V_{\text{w}}}{Z_i \, T_i} \\[0.5em] V_{\text{ref}} &= (n_1 - n_2) \, \frac{Z_{\text{ref}} \, T_{\text{ref}}}{P_{\text{ref}}} \end{aligned}

Where

nin_i
gas amount in state i: 1 at the start, 2 at the end (the gas constant cancels, so it is left out)
VwV_{\text{w}}
internal water volume (L)
PiP_i
absolute pressure: gauge reading + 1.01325 bar
TiT_i
cylinder-gas temperature in kelvin
ZiZ_i
compressibility of the O₂/N₂ mix at that pressure and temperature
VrefV_{\text{ref}}
gas removed, as surface volume at 20 °C and 1 atm
Why two temperatures?

Pressure alone cannot distinguish gas removal from cooling. A water temperature can stand in for cylinder gas only after genuine thermal equilibrium.

The model covers 21–40% O₂, 0–40 °C, and 0–350 gauge bar. It throws outside that domain instead of extrapolating.

What the table represents

Z factors come from CoolProp 7.2.0 HEOS for binary O₂/N₂ mole mixtures, sampled every 5 °C and 10 bar and interpolated at runtime. Atmospheric argon and trace gases are not included.

Frequently Asked Questions

Is this the true amount of gas used?
No. It is a bounded equation-of-state estimate. Its usefulness depends on internal cylinder water volume, two representative cylinder-gas temperatures, pressure readings, gas analysis, and the stated reference condition. Sensor and timing uncertainty can exceed the interpolation error.
Why does this result differ from pressure drop times cylinder size?
The linear rule ignores temperature and pressure-dependent compressibility. This model estimates the inventory at each endpoint using absolute pressure, temperature, and a Z factor, then expresses the difference at 20 °C and one standard atmosphere.
Can I enter an AL80 as 80 cubic feet?
No. The input is the cylinder's internal water volume. An imperial 80 cu ft rating is already a nominal free-gas capacity at rated service conditions; treating it as internal volume would count the capacity conversion again.
Does water temperature equal cylinder-gas temperature?
Only when the cylinder and gas have genuinely reached thermal equilibrium with the water. A recently filled, transported, breathed, or rapidly cooled cylinder may not be at that state. Measure each endpoint with its pressure rather than silently reusing one water temperature.

Related Guides

Related Diving Tools

Reference Data

Want the next tool when it lands?

Get a short note when DiveCalc ships a useful new tool or a meaningful update.

Occasional updates. No spam. Unsubscribe anytime.