Breathing gas composition is measurable, quantifiable and is used in current decompression algorithms. For open circuit diving it is usually provided as user input, including user input of gas switches. In closed circuit rebreathers the gas composition is often calculated in real-time, using user-input diluent composition which defines the ratio of nitrogen to helium, and the measured instantaneous oxygen partial pressure.
