Skip to content

dive-math / altitude / theoreticalOceanDepth

Function: theoreticalOceanDepth() ​

theoreticalOceanDepth(depthM, altitudeM): number

Defined in: altitude.ts:49

Cross correction: the sea-level depth with the same pressure ratio, for using sea-level tables at altitude.

Parameters ​

depthM ​

number

altitudeM ​

number

Returns ​

number

Example ​

ts
theoreticalOceanDepth(30, 1000) // 33.82

Reference only — verify every fill and dive plan independently.