Skip to content

dive-math / density / depthForDensity

Function: depthForDensity() ​

depthForDensity(g, densityGpl, opts?): number

Defined in: density.ts:37

Depth at which a gas reaches a density, m.

Parameters ​

g ​

Gas

densityGpl ​

number

opts? ​

DepthOptions

Returns ​

number

Example ​

ts
depthForDensity(AIR, 5.2) // 30.38

Reference only — verify every fill and dive plan independently.