Understand · Explore · Apply

See the gas laws in action.

Explore 33 gas laws and principles. Move a slider, watch the result, and see what stays fixed—then connect the idea to a Fleckulator calculator.

Start with Boyle’s law or choose a topic below. Green shows your current result; the muted bar is the original example. Both bars share the same zero and scale. These are learning examples, not patient observations or operating instructions.

Core gas laws

Boyle’s law

Open interactive lesson

Squeeze a gas into less space and its pressure rises.

What stays fixed: Same gas amount and temperature. Initial state: 1 L at 1 atm absolute.

atm
Final gas volume
1 L
Pressure × volume
1 L·atm

Gas-space sketch: width is proportional to volume; dots are schematic.

Matches the baseline.

The relationship: P₁V₁ = P₂V₂; V₂ = P₁V₁ / P₂.

Keep in mind: Applies to a flexible gas space in equilibrium. A rigid cylinder does not change its internal volume.

Core gas laws

Charles’s law

Open interactive lesson

Warm a gas at constant pressure and it needs more space.

What stays fixed: Same gas amount and pressure. Initial state: 1 L at 20°C (293.15 K).

°C
Final gas volume
1 L
Final absolute temperature
293.15 K

Gas-space sketch: width is proportional to volume; dots are schematic.

Matches the baseline.

The relationship: V₂ / V₁ = T₂ / T₁; temperatures must be kelvin.

Keep in mind: This models a movable boundary. Temperature ratios in Celsius give incorrect results.

Core gas laws

Gay-Lussac / Amontons pressure law

Open interactive lesson

Warm a sealed rigid container and its pressure rises.

What stays fixed: Same gas amount and volume. Initial absolute pressure: 1 atm at 20°C.

°C
Final absolute pressure
1 atm
Final absolute temperature
293.15 K

Matches the baseline.

The relationship: P₂ / P₁ = T₂ / T₁, using absolute pressure and kelvin.

Keep in mind: High-pressure cylinders may depart from ideal-gas behavior; this is not a fill or service-pressure check.

Core gas laws

Combined gas law

Open interactive lesson

Pressure and temperature can change together; both determine volume.

What stays fixed: Same gas amount. Initial state: 1 L, 1 atm absolute, 20°C.

atm
°C
Final volume
1 L

Gas-space sketch: width is proportional to volume; dots are schematic.

Matches the baseline.

The relationship: P₁V₁ / T₁ = P₂V₂ / T₂.

Keep in mind: A constant gas amount is essential. Absolute pressure and kelvin are required.

Core gas laws

Avogadro’s law

Open interactive lesson

At the same pressure and temperature, more gas particles need more space.

What stays fixed: Pressure: 1 atm absolute. Temperature: 0°C (273.15 K).

mol
Gas volume
22.414 L
Molar volume
22.414 L/mol

Matches the baseline.

The relationship: V / n = constant at fixed pressure and temperature.

Keep in mind: A mole is an amount of particles, not a volume. The often-used 22.4 L/mol applies near 0°C and 1 atm.

Core gas laws

Ideal gas equation

Open interactive lesson

Amount, temperature, pressure and volume are connected by one equation.

What stays fixed: Choose amount, temperature and absolute pressure; volume is calculated.

mol
°C
atm
Gas volume
24.0551 L

Matches the baseline.

The relationship: PV = nRT; R = 0.082057366 L·atm/(mol·K).

Keep in mind: Treats particles as point-like with no intermolecular forces. Real gases differ especially at high pressure or near condensation.

Core gas laws

Dalton’s partial-pressure law

Open interactive lesson

Each gas contributes its fraction of the total pressure.

What stays fixed: Dry ideal mixture: oxygen plus nitrogen balance. Total pressure is absolute.

%
atm
Oxygen partial pressure
0.21 atm
Nitrogen partial pressure
0.79 atm
Sum of partial pressures
1 atm

Matches the baseline.

The relationship: Pᵢ = gas fraction × total absolute pressure; ΣPᵢ = Ptotal.

Keep in mind: This simplified mixture does not include water vapor, trace gases or an oxygen-exposure limit.

Core gas laws

Henry’s law

Open interactive lesson

Higher gas partial pressure increases its equilibrium dissolved concentration.

What stays fixed: Same gas, solvent and temperature. An arbitrary concentration of 1 unit is defined at 1 atm gas partial pressure.

atm
Relative dissolved concentration
1 × reference

Matches the baseline.

The relationship: C = kH × Pgas. At fixed kH, C₂/C₁ = P₂/P₁.

Keep in mind: Shows relative equilibrium solubility only. It does not model tissue compartments, uptake time, bubbles or decompression. Henry constants have several conventions.

Core gas laws

Graham’s effusion law

Open interactive lesson

Lighter gas particles effuse faster through a tiny opening.

What stays fixed: Same temperature and pressure; compare gas A with gas B.

g/mol
g/mol
Gas A effusion rate relative to B
2.8284 ×

Matches the baseline.

The relationship: Rate A / rate B = √(molar mass B / molar mass A).

Keep in mind: The simple ratio describes molecular effusion. Do not use it to predict bulk leaks, regulator flow or gas transfer across lung tissue.

Core gas laws

Fick’s diffusion law

Open interactive lesson

More area or a larger gradient increases transfer; a thicker barrier slows it.

What stays fixed: Diffusion coefficient fixed. Area, gradient and thickness are normalized to a baseline of 1.

×
×
×
Relative diffusion transfer rate
1 × baseline

Matches the baseline.

The relationship: Transfer rate ∝ diffusion coefficient × area × gradient / thickness.

Keep in mind: A relative demonstration, not a measured lung diffusion capacity. Fick’s diffusion law is different from the Fick cardiac-output principle.

Core gas laws

Adiabatic compression

Open interactive lesson

Compression can heat gas when heat does not leave the system.

What stays fixed: Ideal reversible adiabatic process. Initial 1 L, 1 atm and 20°C; heat-capacity ratio γ = 1.4.

L
Final absolute pressure
1 atm
Final temperature
20 °C

Matches the baseline.

The relationship: P₂/P₁ = (V₁/V₂)^γ; T₂/T₁ = (V₁/V₂)^(γ−1).

Keep in mind: Real cylinder filling is not this ideal closed reversible process. Gamma varies by gas and temperature; heat transfer changes the result.

Pressure & gas conditions

Hydrostatic pressure

Open interactive lesson

Water adds pressure with depth. A diver experiences surface pressure plus water pressure.

What stays fixed: Surface pressure: 101,325 Pa; g = 9.80665 m/s². Water density is editable.

m
kg/m³
Ambient absolute pressure
1.992 atm
Water pressure above surface
100.5182 kPa

Matches the baseline.

The relationship: Absolute pressure = surface pressure + ρgh.

Keep in mind: Uses physical density rather than the rounded 33/34 ft-per-atmosphere dive approximation. Weather, altitude and water density can change pressure.

Pressure & gas conditions

Archimedes’ principle

Open interactive lesson

Lift comes from the weight of displaced water.

What stays fixed: Bag volume means submerged displacement; object load is its apparent weight underwater. Fresh water: 1 kg/L.

L
kgf
Buoyant lift capacity
100 kgf
Lift minus submerged load
0 kgf

Matches the baseline.

The relationship: Buoyant force = ρgV; kgf-equivalent lift = displacement liters × kg/L.

Keep in mind: Static illustration only. Bag weight, suction, drag, stability, venting and rigging limits are excluded.

Pressure & gas conditions

Gauge versus absolute pressure

Open interactive lesson

A pressure gauge measures above its surroundings; gas laws need pressure above vacuum.

What stays fixed: Ambient pressure is editable. Both values use kPa.

kPa
kPa
Absolute pressure
201.325 kPa
Gauge pressure
100 kPa

Matches the baseline.

The relationship: Pabsolute = Pgauge + Pambient.

Keep in mind: Negative gauge pressure can exist; negative absolute pressure cannot. This illustration uses nonnegative gauge values.

Pressure & gas conditions

Reference versus actual gas flow

Open interactive lesson

The same amount of gas per minute occupies a different volume when pressure or temperature changes.

What stays fixed: Reference flow: 10 L/min at 1 atm absolute and 20°C. Ideal dry gas, same molar flow.

atm
°C
Actual volume flow
10 L/min
Reference volume flow
10 L/min

Matches the baseline.

The relationship: Qactual = Qreference × Preference/Pactual × Tactual/Treference.

Keep in mind: “Standard” conditions are not universal. Match the equipment reference; humidity and real-gas corrections are excluded.

Pressure & gas conditions

Wet gas, BTPS and STPD

Open interactive lesson

Water vapor takes part of the total pressure; warm saturated gas occupies more space than standard dry gas.

What stays fixed: 1 L BTPS at 37°C, water-vapor pressure 47 mmHg. STPD: 0°C, 760 mmHg, dry.

mmHg
Equivalent STPD volume
0.8262 L
Dry-gas pressure at 37°C
713 mmHg

Matches the baseline.

The relationship: VSTPD = VBTPS × (PB−47)/760 × 273.15/310.15.

Keep in mind: Do not correct a standardized instrument reading twice. BTPS and STPD are distinct from an unspecified “standard liter.”

Pressure & gas conditions

Fraction, percent, ppm and mass

Open interactive lesson

A concentration by volume and a concentration by mass are different measurements.

What stays fixed: Carbon dioxide MW 44.0095 g/mol; dry ideal gas at 25°C and 101.325 kPa.

ppm by volume
Mass concentration
1798.8463 mg/m³
Concentration
0.1 %
Volume fraction
0.001 fraction

Matches the baseline.

The relationship: 1% = 10,000 ppm = fraction 0.01. mg/m³ = ppm × MW / molar volume.

Keep in mind: Gas identity and temperature/pressure references matter. This does not assess toxicity or an exposure limit.

Pressure & gas conditions

Gas conservation and equalization

Open interactive lesson

Gas redistributes between connected rigid cylinders until the ideal final pressure is equal.

What stays fixed: Same gas, same initial/final temperature and ambient pressure. Both service limits: 3,000 PSI.

PSI
PSI
L
Final pressure in both cylinders
1750 PSI

Matches the baseline.

The relationship: Final gauge pressure = (P₁V₁ + P₂V₂)/(V₁+V₂).

Keep in mind: Volumes are internal water volumes. Real transfer heating and gas compatibility are excluded; this is not a fill procedure.

Pressure & gas conditions

Cooling versus gas loss

Open interactive lesson

A lower pressure reading can come from cooling, gas loss, or both.

What stays fixed: Initial cylinder gauge pressure: 3,000 PSI at 30°C. Ambient: 14.6959 PSI; internal volume: 12 L; elapsed time: 60 min.

°C
PSI
Expected pressure with no loss
2801.1086 PSI
Unexplained pressure drop
1.1869 PSI

Matches the baseline.

The relationship: Temperature-corrected absolute pressure = later absolute pressure × first kelvin / later kelvin.

Keep in mind: An unexplained pressure change does not diagnose a leak; gas use, gradients and gauge error also matter.

Oxygen & ventilation

Air–oxygen blending

Open interactive lesson

Delivered mixed-gas flow is not the same as oxygen-cylinder draw.

What stays fixed: Ideal blender: pure oxygen plus room air at 20.9% O₂, no additional losses.

L/min
%
Ideal source oxygen draw
19.7724 L/min
Air contribution
20.2276 L/min

Matches the baseline.

The relationship: O₂ draw = mixed flow × (FiO₂%−20.9)/79.1.

Keep in mind: A device can consume more because of drive gas, bleed, leaks or accessories. Open-interface patient FiO₂ can differ from set FiO₂.

Oxygen & ventilation

Device flow, leaks and oxygen draw

Open interactive lesson

Baseline device flow and leaks can increase consumption beyond patient minute volume.

What stays fixed: Hamilton C1/T1/MR1 adult/pediatric illustration: base flow 3 L/min; patient ≥8 kg.

L/min
L/min
%
Estimated source oxygen draw
5.9317 L/min

Matches the baseline.

The relationship: Draw = (ExpMinVol + base flow + MVleak) × (FiO₂%−20.9)/79.1.

Keep in mind: Manufacturer 2020 equation; actual draw can be higher. Verify the specific device, software, patient group and measured source consumption.

Oxygen & ventilation

Oxygen content and delivery

Open interactive lesson

Hemoglobin carries most blood oxygen; pressure alone does not tell you how much oxygen reaches tissue.

What stays fixed: Arterial PaO₂ 100 mmHg; mixed venous SvO₂ 75% and PvO₂ 40 mmHg. DO₂ is systemic delivery per minute.

g/dL
%
L/min
Systemic oxygen delivery
999.9 mL O₂/min
Arterial oxygen content
19.998 mL O₂/dL

Matches the baseline.

The relationship: CaO₂ = 1.34 × Hb × SaO₂ fraction + 0.003 × PaO₂. DO₂ = CO × CaO₂ × 10.

Keep in mind: Use contemporaneous samples. Dyshemoglobins need separate co-oximetry interpretation. This is not a transfusion or oxygen recommendation.

Oxygen & ventilation

Fick oxygen-transport principle

Open interactive lesson

Blood flow multiplied by the oxygen-content drop gives oxygen consumption.

What stays fixed: Content difference is arterial minus true mixed venous oxygen content; CO is independently measured. Arterial content is fixed at 20 mL O₂/dL.

L/min
mL O₂/dL
Oxygen consumption
250 mL O₂/min
Oxygen extraction ratio
25 %

Matches the baseline.

The relationship: VO₂ = CO × (CaO₂−CvO₂) × 10; CO = VO₂/[10 × content difference].

Keep in mind: The factor 10 converts dL to L. Assumed VO₂, central venous substitution, shunts and unstable sampling introduce error.

Oxygen & ventilation

Dead space and effective ventilation

Open interactive lesson

Part of each breath contributes less to gas exchange. Total minute volume can hide that difference.

What stays fixed: Enghoff reference PaCO₂ 40 mmHg, respiratory rate 16/min; mixed expired CO₂ varies.

mmHg
mL
Calculated effective minute volume
5.6 L/min
VD/VT
30 %
Total minute ventilation
8 L/min

Matches the baseline.

The relationship: VD/VT = (reference CO₂−mixed expired CO₂)/reference CO₂.

Keep in mind: Enghoff includes shunt/VQ inequality, not just dead space. Use mean mixed expired CO₂, never end-tidal. Bohr uses mean alveolar reference instead.

Oxygen & ventilation

Alveolar gas equation

Open interactive lesson

Inspired oxygen, barometric pressure and CO₂ shape the oxygen pressure available in alveoli.

What stays fixed: Steady state; water-vapor pressure 47 mmHg, RQ 0.8, PaO₂ 80 mmHg.

%
mmHg
mmHg
Alveolar PO₂ — simplified
99.73 mmHg
Alveolar PO₂ — full equation
101.83 mmHg
A–a gradient — full
21.83 mmHg

Matches the baseline.

The relationship: Simplified PAO₂ = FiO₂(PB−47)−PaCO₂/RQ; full equation also corrects for FiO₂.

Keep in mind: Negative A–a values can indicate mismatched samples or assumptions. This does not identify the cause of hypoxemia.

Oxygen & ventilation

Compliance and ventilation

Open interactive lesson

The pressure needed for a breath depends on tidal volume and respiratory-system compliance.

What stays fixed: Passive linear respiratory-system model. Total PEEP is measured, including intrinsic PEEP.

mL
mL/cmH₂O
cmH₂O
Illustrative driving pressure
15 cmH₂O
Illustrative plateau pressure
25 cmH₂O
Minute volume at RR 16
7.2 L/min

Matches the baseline.

The relationship: Driving pressure = VT / Cstat; plateau = total PEEP + driving pressure. Minute volume = VT × RR / 1000.

Keep in mind: Real mechanics can be nonlinear. Appropriate holds, no effort and no leak are required for measured static compliance; this is not a ventilator setting recommendation.

Supply & diving

Supply, flow and duration

Open interactive lesson

Duration increases with usable gas and decreases with consumption. Reserve is excluded before estimating time.

What stays fixed: One E cylinder model: factor 0.28 L/PSI. Reserve 200 PSI. Planned use including buffer: 50 min.

PSI
L/min
Estimated duration above reserve
44.8 min
Usable oxygen
448 L
Supply minus 50-minute demand
-52 L

Matches the baseline.

The relationship: Usable L = max(start−reserve,0) × factor. Duration = usable L / source draw.

Keep in mind: Cylinder factors are linear approximations and must be verified. SCBA uses its actual rated capacity and breathing demand; minute ratings are not guaranteed duration.

Supply & diving

Combining cylinder inventories

Open interactive lesson

Usable gas adds across independently accessible cylinders; each cylinder keeps its own reserve.

What stays fixed: Two E cylinder models, each factor 0.28 L/PSI and reserve 200 PSI. Cylinder A starts at 1,800 PSI. Used sequentially.

PSI
L/min
Combined duration above reserves
89.6 min
Combined usable oxygen
896 L

Matches the baseline.

The relationship: Total usable volume = Σ max(startᵢ−reserveᵢ,0) × cylinder factorᵢ. Time = total usable / source draw.

Keep in mind: Requires independently accessible, compatible supplies. Switching delays, manifold equalization and leaks are excluded; include operational buffer separately.

Supply & diving

Pressure SAC versus volume RMV

Open interactive lesson

Pressure drop per minute depends on cylinder size; a surface-equivalent volume rate makes comparisons useful.

What stays fixed: Test depth 66 ft seawater = 3 atm absolute; cylinder rated 2,265.3477 surface L at 3,000 PSI. One cylinder supplies the diver.

PSI
min
Surface-equivalent RMV
12.5853 L/min
Pressure SAC
16.6667 PSI/min

Matches the baseline.

The relationship: Pressure SAC = pressure used / time / ATA. RMV = pressure SAC × rated surface volume / rated pressure.

Keep in mind: A single test does not predict stressed breathing. Gauge errors, pressure/temperature changes and cylinder specifications affect the estimate.

Supply & diving

Fill time and delivered gas

Open interactive lesson

More missing gas takes longer to replace; higher free-air delivery reduces ideal fill time.

What stays fixed: Rated free-air capacity 2,265.3477 L at 3,000 PSI. Target 3,000 PSI. Delivery fraction fixed at 80%.

PSI
L/min
Time at entered 80% delivery fraction
23.5974 min
Required free air
1887.7898 L

Matches the baseline.

The relationship: Required free air = capacity × (target−start)/rated pressure; time = required air / free-air delivery.

Keep in mind: Compressor free-air delivery is not piston displacement or compressed-line volume flow. Cooling, duty cycles, filters and permitted fill rates are not modeled.

Supply & diving

Depth, SAC/RMV and emergency gas

Open interactive lesson

A breath at greater ambient pressure uses more surface-equivalent gas. Two divers sharing gas add their demands.

What stays fixed: Seawater model: 33 ft/atm. Two divers with equal surface RMV; 1 min problem time, 30 ft/min ascent, 15 ft stop for 3 min.

ft
L/min
Modeled two-diver ascent gas
1342.2222 surface L
Single-diver consumption at depth
161.2121 surface L/min
Remaining pressure requirement incl. 500 PSI residual
2277.5049 PSI

Matches the baseline.

The relationship: Surface-equivalent use = surface RMV × absolute pressure × time. Stage demands add.

Keep in mind: Direct open-water ascent only; no decompression, overhead or gas switches. The entered RMV is an illustration, not a sufficient emergency breathing allowance.

Supply & diving

PO₂, MOD, EAD and END

Open interactive lesson

Gas fractions and depth determine partial pressures; different gases change nitrogen exposure and narcotic comparisons.

What stays fixed: Nitrox: oxygen plus nitrogen balance, no helium; seawater 33 ft/atm. MOD ceiling 1.4 atm; END treats O₂ + N₂ as narcotic.

%
ft
Oxygen partial pressure
1.2897 atm
Theoretical MOD at 1.4 atm
111.375 ft
Maximum oxygen fraction at this depth
34.7368 %
Nitrogen-equivalent air depth
81.481 ft
END if both O₂ and N₂ are narcotic
100 ft

Matches the baseline.

The relationship: PO₂ = FO₂ × ATA. MOD = (1.4/FO₂−1)×33. EAD = [(1−FO₂)×ATA/0.79−1]×33.

Keep in mind: These are separate comparisons, not a complete dive plan. EAD is not a decompression schedule. Negative EAD is mathematical, not a usable table depth. END depends on the chosen narcosis assumption.

Supply & diving

Gas density and helium

Open interactive lesson

At the same pressure and temperature, a lower mixture molar mass gives lower ideal gas density.

What stays fixed: Oxygen fixed 18%; helium variable; nitrogen balance. Temperature 20°C; seawater 33 ft/atm. END assumes O₂ + N₂ narcotic, He nonnarcotic.

%
ft
Ideal gas density at depth
3.4057 g/L
Equivalent narcotic depth
53.45 ft
Oxygen partial pressure
0.7255 atm

Matches the baseline.

The relationship: ρ = Pabsolute × mixture molar mass/(R × Tkelvin). END compares narcotic fractions with air.

Keep in mind: Lower density alone does not establish a suitable breathing gas. Oxygen exposure, surface suitability and decompression need separate checks.

Planning Aid Only

Not a Clinical or HIPAA Secure Interface. Always double-check your work, the system for leaks and clinically correlate. These idealized demonstrations do not provide clinical treatment, filling, rigging or decompression instructions.

Formulas, examples & assumptions

Content updated October 10, 2026 · Created by Bryan Fleck. Independently verify measurements and scoring assumptions.

Absolute pressure and kelvin

Gas equations use absolute pressure and temperature in kelvin. Kelvin = Celsius + 273.15; absolute pressure = gauge pressure + local ambient pressure.

Boyle’s law holds gas amount and temperature fixed; Charles’s law holds gas amount and pressure fixed. Each lesson states its assumptions.

Laws versus applications

Henry’s law describes equilibrium solubility; Graham’s law describes molecular effusion. Fick’s diffusion law and the Fick cardiac-output principle are different relationships.

A model that explains a trend does not supply an equipment procedure, clinical decision or decompression schedule.