Oxygen exposure
What it's for
Tracks oxygen toxicity. The CNS clock uses the NOAA 1991 limits by default, or the Hoyt 2025 revised guideline at 1.3 ata. OTU tracks pulmonary exposure, with REPEX for multi-day missions. dailyExposure runs a whole day of dives and surface intervals.
The NOAA table
The NOAA Diving Manual limits:
| ppO₂ (ata) | Single (min) | 24 h day (min) |
|---|---|---|
| 0.6 | 720 | 720 |
| 0.7 | 570 | 570 |
| 0.8 | 450 | 450 |
| 0.9 | 360 | 360 |
| 1.0 | 300 | 300 |
| 1.1 | 240 | 270 |
| 1.2 | 210 | 240 |
| 1.3 | 180 | 210 |
| 1.4 | 150 | 180 |
| 1.5 | 120 | 180 |
| 1.6 | 45 | 150 |
Between rows the limit is linearly interpolated. Below 0.6 ata there is no limit (Infinity, and no CNS accrues).
Above 1.6 ata
NOAA publishes no limit above 1.6 ata. cnsLimitMinutes clamps to the 1.6 row there, which understates the exposure. Do not plan above 1.6.
Hoyt 2025 limits
Hoyt et al. (2025), endorsed at a NOAA workshop, revise the guideline for an inspired ppO₂ of 1.3 only: up to 240 min of working dive followed by up to 240 min of resting decompression per dive, and the same combined total per 24 hours (from the start of the first dive). They propose no change to the limits above 1.3 and no calculated increase below 1.3, but note that the 1.3 guideline can be applied below 1.3 with less risk. With limits: 'hoyt-2025':
- Every exposure has a
phase,'working'or'resting'(default'working'). - From 0.6 to 1.3 ata, an exposure is charged to its own phase's 240 min budget.
cnsLimitMinutesreturns 240 there. - Above 1.3 ata, nothing changes: those exposures run one shared NOAA clock, whatever their phase, and that percent counts toward both
workingandresting. Below 0.6 ata no CNS accrues, as under NOAA. - A dive is within limits if it meets either guideline.
cnsPercentis the NOAA percent or the larger phase, whichever is lower, so the Hoyt set never allows less than NOAA. Acns-workingorcns-restingwarning needs both to be over 100 %. daily: trueuses the NOAA 24-hour column for every NOAA lookup and keeps 240 min per phase per 24 h.
So 240 min working plus 240 min resting at 1.3 is 100 %; 150 + 150 min at 1.4 is 200 %, the same as NOAA; 300 + 300 min at 1.0 is 125 %; and 280 min working at 1.0 alone is the NOAA 93.3 %.
Caveats from the paper: the data come mostly from precisely controlled ppO₂, so minimise upward drift around a setpoint. "Resting" means no more activity than needed to hold position (formally an RMV below 22.5 L/min). Beyond 8 hours is poorly informed by data. Following the limits does not guarantee that CNS toxicity won't occur.
REPEX
repex(dailyOtu) checks a multi-day mission against the REPEX cumulative OTU allowance: 850 on day 1, 1400 by day 2, 1860 by day 3, …, 4200 by day 14, then 300 more per day up to day 30.
Formulas
Surface decay, with a 90 minute half-time:
: time at the segment's , minutes. : the limit for that under the selected set, minutes (NOAA: interpolated). : oxygen partial pressure, ata. No OTU accrue at or below 0.5 ata. : CNS percent at the start of a surface interval.
Assumptions and limits
- CNS percent is summed across segments, and decays only during surface intervals.
- Each dive segment uses one constant
. dailyExposurereports the peak and final CNS percent (decaying, NOAA single-exposure limits under either set), total OTU, a per-dive breakdown, anddaily: all dives against the 24-hour limits with no decay. Items are assumed to fall within one 24-hour window from the first dive.- This is a planning aid, not a guarantee of safety.
Sources
- CNS limits: NOAA Diving Manual (1991), oxygen partial pressure and exposure time limits.
- Revised 1.3 ata limits: Hoyt J, Murphy FG, Pollock NW, et al. Revised guideline for central nervous system oxygen toxicity exposure limits when using an inspired PO₂ of 1.3 atmospheres. Diving Hyperb Med. 2025;55(3):262–270. doi:10.28920/dhm55.3.262-270.
- REPEX: Hamilton RW. Tolerating exposure to high oxygen levels: Repex and other methods. MTS Journal 23(4), 1989.
- OTU exponent 0.83 and 0.5 ata threshold, and the 90 minute half-time, are the constants used in the source.
Examples
import { cnsLimitMinutes, cnsTotals, cnsRunningTotals, segmentOtu, dailyExposure, repex } from 'dive-math/oxygen'
cnsLimitMinutes(1.4) // => 150
segmentOtu({ ppo2: 1.4, minutes: 30 }) // => 48.86
dailyExposure([{ type: 'dive', ppo2: 1.4, minutes: 30 }, { type: 'surface', minutes: 90 }]).endCnsPercent // => 10
cnsLimitMinutes(1.3, { daily: true }) // => 210
cnsLimitMinutes(1.3, { limits: 'hoyt-2025', phase: 'resting' }) // => 240
cnsTotals([{ ppo2: 1.3, minutes: 240, phase: 'working' }, { ppo2: 1.3, minutes: 120, phase: 'resting' }], { limits: 'hoyt-2025' }).cnsPercent // => 100
cnsTotals([{ ppo2: 1.4, minutes: 150, phase: 'working' }, { ppo2: 1.4, minutes: 150, phase: 'resting' }], { limits: 'hoyt-2025' }).cnsPercent // => 200
cnsTotals([{ ppo2: 1.0, minutes: 300, phase: 'working' }, { ppo2: 1.0, minutes: 300, phase: 'resting' }], { limits: 'hoyt-2025' }).cnsPercent // => 125
cnsTotals([{ ppo2: 1.0, minutes: 280, phase: 'working' }], { limits: 'hoyt-2025' }).cnsPercent // => 93.33
cnsRunningTotals([{ ppo2: 1.4, minutes: 30 }, { ppo2: 1.4, minutes: 30 }]).map((t) => t.cnsPercent) // => [20, 40]
repex([800, 700]).exceeded // => trueAPI
See the oxygen API reference.