---
title: "How Decompression Models Work"
description: "How a dive computer turns dissolved gas into one ascent number: tissue compartments, half-times, M-values, and the ceiling, explained simply."
canonical: "https://donarundas.com/depth-notes/decompression/how-decompression-models-work"
author: "Donarun Das — TDI Trimix Instructor, KISS Sidewinder CCR Instructor"
category: "decompression"
published: "2025-05-28"
tags: ["decompression", "m-values", "tissue-compartments", "buhlmann"]
disclaimer: "Dive theory published by a working instructor for education. It is not medical advice and not a substitute for training. Decompression, gas, and depth decisions belong with your own training, your dive computer, and a dive medical officer."
license: "© Donarun Das. Quote with attribution and a link to the canonical URL."
---

# How Decompression Models Work

## What the computer is actually counting

Strap a dive computer to your wrist and it shows you a depth, a time, and a number that says how long you can stay or how long you must wait before coming up. That last number feels like a measurement, like it read something off your body. It didn't. There's no sensor reading the nitrogen in your blood. What the computer is really doing is keeping a ledger, a running tally of how much inert gas (the nitrogen, or helium on trimix, that your body absorbs but doesn't use) it *thinks* has dissolved into you, based on where you've been and how long you stayed.

A decompression model is exactly that: a bookkeeping system. It is not a map of your real tissue. The most widely used one, Bühlmann ZHL-16C, splits your body into 16 imaginary "compartments" and tracks the gas tension (the pressure of dissolved gas) in each. This article is about what those compartments are, what defines them, and how the model decides the moment it's safe for you to ascend. That last part matters because the ascent is the dangerous part of a dive: come up faster than your tissues can shed their gas and it can bubble out of solution, which is decompression sickness. The model exists to prevent exactly that.

Get comfortable with one idea up front and the rest follows easily: every number the computer shows you is the output of a model, not a reading of reality. The model is good. Knowing it's a model is what lets you use it well instead of obeying it blindly.

## Compartments are math, not organs

The first thing students trip over: the "16 compartments" are not 16 body parts. There is no compartment that is your liver, none that is your brain. They don't correspond to real organs at all. They're a mathematical convention: 16 numbers that each load and unload gas at a different speed, chosen to span the range of speeds real tissue covers.

Real tissue does absorb nitrogen at wildly different rates. Blood takes on gas fast because it's flushed with circulation. Fat and joints take it on slowly because little blood reaches them. So instead of trying to model your actual anatomy, which nobody can measure mid-dive, Haldane and everyone after him did something cleverer: they defined a spread of hypothetical compartments, each with one property, a speed. If you cover the full range of plausible speeds, you've bracketed how any real tissue might behave, without ever pretending to know which compartment is "really" your spinal cord.

It still helps to carry a loose mental picture, as long as you hold it loosely. The **fast** compartments behave like the well-supplied parts of you (blood, brain, spinal cord), places circulation reaches in seconds, so they fill and empty quickly. The **slow** compartments behave like fat, joints, and bone, where blood barely trickles, so they load and unload over hours. The model isn't claiming compartment 2 *is* your brain. But "fast = richly supplied with blood, slow = starved of it" is the right instinct for everything that follows.

## M-values: how full is too full

Loading gas isn't the danger. You can dissolve a lot of nitrogen into a tissue and be perfectly fine as long as it stays dissolved. The danger is on the way up. As you ascend, the pressure around you drops, and a tissue that's holding more gas pressure than its surroundings is *supersaturated*, primed to fizz gas out of solution into bubbles, the same way a soda bottle sits quietly under its cap and fizzes the instant you crack it: the pressure was what kept the gas invisibly dissolved. Bubbles in the wrong place are decompression sickness.

So each compartment needs a limit: the most gas tension it can hold at a given depth before bubbling gets likely. That limit is the **M-value**. Robert Workman defined it in 1965 at the US Navy's diving unit, and the key insight was that the limit *rises with depth*: the deeper you are, the more absolute supersaturation a tissue tolerates, because the surrounding pressure is squeezing back. In its simplest form:

> **M = M₀ + ΔM × depth**

M₀ is the limit at the surface and ΔM is how fast the limit climbs as you go deeper. The version baked into Bühlmann's tables uses two coefficients per compartment, usually written **a** and **b** (`a` sets the intercept, `b` sets the slope), but it's the same straight line dressed up for computation. Crucially, **every compartment has its own limit.** Fast tissues are allowed to carry proportionally more supersaturation than slow ones before the model calls them risky.

*[Figure: m-value-compartments — Each compartment gets its own M-value. The fast tissues tolerate a bigger overpressure; the slow ones are held to less. There is no single safe ratio that fits them all, which is exactly why Workman's M-values replaced Haldane's one rule. — rendered in the HTML version of this page.]*

Set a dive below, then move the clock forward from the moment you leave the bottom. The diver climbs in stages, holding at each deco stop until the tissues off-gas enough to clear the next one, and the compartment holding you there hands off from a fast tissue to a slower one. That staircase is the shape of a real decompression ascent.

*[Interactive widget: ceiling-playground — rendered in the HTML version of this page.]*

The computer recomputes the whole thing (all 16 loadings, all 16 M-values, the resulting ceiling) every couple of seconds. When the ceiling is at the surface, you have no obligation. When it's at 6 metres, that's your stop. The single "deco at 6 m" number on your wrist is the visible tip of that constant 16-way comparison.

If you want to go deeper on how divers deliberately stay *below* the raw M-value for margin, that's the job of [gradient factors](https://donarundas.com/depth-notes/decompression/gradient-factors). And if you want the physical story of the bubbles the M-value is trying to prevent, see [bubble trouble](https://donarundas.com/depth-notes/decompression/bubble-trouble).

## Three things the model is not telling you

The model is good and it's earned its place. But it's quietly making promises it can't fully keep, and a thinking diver knows where those edges are.

**The M-value is not a cliff.** It's a tuned statistical limit, fitted to dive outcomes, not a physiological line where bubbles switch on. Staying below it does not guarantee you won't get bent (suffer decompression sickness), and a brief excursion above it does not guarantee you will. It's a margin built from population data, not a personal safety switch, which is exactly why we add conservatism on top of it rather than diving right up to the raw number.

**The compartments aren't real, so don't reason about "your fat tissue."** It's tempting to say "my slow compartments are loaded so my joints are full." The compartment is math. It brackets behaviour; it doesn't locate gas in a body part. Treat the loading bars as the model's confidence, not as a scan.

**Your physiology isn't in the model at all.** A patent foramen ovale (a small opening between the heart's chambers that roughly one adult in four has), cold, dehydration, hard work, age, sex: none of these appear anywhere in ZHL-16C. The model assumes a generic, well-behaved diver in ideal conditions. Everything that makes *you* not that diver is risk the algorithm cannot see, which is why two people on the identical profile don't carry identical risk.

> **"Same algorithm" doesn't mean same numbers**
>
> What's settled in the field: the compartment / half-time / M-value architecture, and ZHL-16C as the de-facto standard. What's genuinely contested: how it's *implemented*. Two computers both claiming "Bühlmann ZHL-16C" can hand you different stops on the same dive, because rounding, gradient-factor defaults, and ascent-rate assumptions all vary by manufacturer. The skeleton is shared; the flesh on it isn't. Know what your own computer is configured to do.

> **What to do with this**
>
> - Find your computer's conservatism or gradient-factor setting and know what it's on. Two divers on the same model can be carrying very different settings.
> - Treat the no-stop or deco number as a floor with margin already built in, not a target to ride right up to.
> - Remember the model can't see you. Dive more conservatively when you're cold, tired, dehydrated, or working hard, because none of that reaches the algorithm.

## The honest summary

A dive computer doesn't measure your nitrogen; it bookkeeps it. Sixteen imaginary compartments, each defined only by a half-time from 4 to 635 minutes, each carrying its own M-value ceiling that rises with depth. Every few seconds the computer reloads all 16 and asks how shallow it can let you go, and the most-loaded compartment writes the ceiling. It's a clean, century-tested piece of accounting. The skill isn't memorising the equations; it's remembering they describe a model: a careful, conservative, deliberately imperfect stand-in for a body it can never actually see. Use it as a sharp tool and a humble one, and it will serve you for thousands of dives.

### Keep reading

- [Gradient factors: how divers add margin below the M-value](https://donarundas.com/depth-notes/decompression/gradient-factors)
- [Bubble trouble: what the M-value is really trying to stop](https://donarundas.com/depth-notes/decompression/bubble-trouble)
- [Safe ascents: on- and off-gassing in plain language](https://donarundas.com/depth-notes/decompression/safe-ascents)

## References

1. Baker EC. *Understanding M-values.* Immersed. 1998;3(3).
2. Workman RD. *Calculation of Decompression Schedules for Nitrogen-Oxygen and Helium-Oxygen Dives.* US Navy Experimental Diving Unit Research Report 6-65, 1965.
3. Bühlmann AA. *ZH-L16 decompression algorithm.* University Hospital Zürich.
4. Doolette DJ, Mitchell SJ. *Recreational technical diving part 2: decompression from deep dives.* Diving and Hyperbaric Medicine. 2013;43(2):96–104.

*Tissue compartments and M-values sit under every dive I plan and every tech course I teach. If you want to learn the model with someone who'll show you its edges, not just its outputs, [come dive with me](https://donarundas.com/contact).*

## Common questions

### How does a dive computer calculate decompression?

It models your body as 16 imaginary tissue compartments, each loading and unloading inert gas at a different speed. Every few seconds it updates all 16 and checks each against its M-value limit; the most-loaded one sets your ceiling, the shallowest depth you may ascend to.

### What is an M-value?

An M-value is the most supersaturation a tissue compartment can carry at a given depth before the model treats bubbling as likely. It rises with depth, and every compartment has its own.

### Are the 16 tissue compartments real body tissues?

No. They are a mathematical convention, 16 speeds chosen to bracket how real tissue behaves. Compartment 1 is not your blood and compartment 16 is not your bones; they are stopwatches, not organs.

---

**Source:** [https://donarundas.com/depth-notes/decompression/how-decompression-models-work](https://donarundas.com/depth-notes/decompression/how-decompression-models-work)

**About the author:** Donarun Das is a TDI Trimix and KISS Sidewinder CCR instructor teaching technical and rebreather diving in the Maldives, Sri Lanka, and India. He holds the deepest verified civilian dive in India (103 m, open-circuit trimix, Lakshadweep, March 2026). Courses: https://donarundas.com/courses — enquiries: https://donarundas.com/contact

> Dive theory published by a working instructor for education. It is not medical advice and not a substitute for training. Decompression, gas, and depth decisions belong with your own training, your dive computer, and a dive medical officer.

## Sitemap

See the full [sitemap](https://donarundas.com/sitemap.md) for all pages available as Markdown.
