Fecal (Stool) Osmotic Gap Calculator

Gastroenterology

Stool osmotic gap (mOsm/kg)130
Electrolyte contribution 2(Na + K)160
Distance from the 50 cut-off80.00
How this was calculated
  1. Electrolytes: stool sodium 32 plus potassium 48 mmol/L, doubled for their accompanying anions, accounts for 160 mOsm/kg.
  2. Subtraction: against the assumed stool osmolality of 290 mOsm/kg, the unexplained gap is 290 - 160 = 130 mOsm/kg.
  3. Bands: under 50 suggests secretory diarrhoea, over 100 osmotic; 130 falls in the osmotic (unmeasured solutes present) range.
  4. Stool osmotic gap result: 130 mOsm/kg, the standard screen for factitious and malabsorptive causes.

Chronic diarrhoea sorts into two great families. In secretory diarrhoea the bowel wall itself pumps out electrolytes and water, and fasting changes nothing. In osmotic diarrhoea an unabsorbed solute — lactose in the intolerant, magnesium in the antacid user, a laxative in the factitious case — holds water in the lumen, and the diarrhoea stops when the solute stops. The stool osmotic gap is the cheap test that separates them.

Stool water is assumed to sit at plasma osmolality, about 290 mOsm/kg, by the time it leaves the body. Measure stool sodium and potassium, double them to account for their accompanying anions, and subtract from 290. Whatever osmolality remains unexplained is the gap — the fingerprint of unmeasured solutes.

Enter the two stool electrolytes in mmol/L. The calculator returns the gap, the electrolyte contribution it subtracted, and the distance from the secretory cut-off.

Worked examples

Fecal osmotic gap of a secretory case

(32 · 48)

Stool osmotic gap (mOsm/kg)130
Electrolyte contribution 2(Na + K)160
Distance from the 50 cut-off80.00

Fecal osmotic gap of an osmotic case

(88 · 36)

Stool osmotic gap (mOsm/kg)42
Electrolyte contribution 2(Na + K)248
Distance from the 50 cut-off-8.00

Fecal osmotic gap of a borderline case

(55 · 61)

Stool osmotic gap (mOsm/kg)58
Electrolyte contribution 2(Na + K)232
Distance from the 50 cut-off8.00

Secretory vs osmotic diarrhoea

When electrolytes explain nearly all of the 290, the gap is small and the diarrhoea is secretory: the fluid is essentially an electrolyte solution the bowel secreted. The second worked example, with stool sodium of 88, leaves a gap of just 42 — squarely secretory. When the gap is large, something unmeasured is doing osmotic work: the first example's gap of 130, from modest electrolytes of 32 and 48, is the classic osmotic signature.

The borderline third example lands at 58, in the indeterminate band between 50 and 100 where mixed mechanisms live — a partial malabsorption with a secretory overlay, or an osmotic cause sampled on a low-intake day. The bands are guides to the next test, not verdicts: a high gap sends you looking for the solute, a low gap sends you looking at the bowel.

Gap (mOsm/kg)PatternTypical causes
Under 50SecretoryInfection toxins, bile acids, neuroendocrine tumours, microscopic colitis
50 - 100Indeterminate / mixedPartial malabsorption, mixed mechanisms
Over 100OsmoticLactose intolerance, magnesium, laxative use, carbohydrate malabsorption
Over 125 with low electrolytesStrongly osmoticFactitious laxative use moves up the list

Why 290 and why doubled

The 290 is not measured on the sample — it is assumed. Stool water equilibrates with plasma across the colonic wall, so its osmolality approximates plasma's whatever the cause; laboratories that do measure stool osmolality usually find values near or above 290, the excess being bacterial fermentation after collection, which is one reason the assumed constant is preferred.

The doubling is bookkeeping: sodium and potassium travel with anions, mostly chloride and bicarbonate, that the basic electrolyte panel does not report. Doubling the two cations approximates the total electrolyte contribution. In the first example that contribution is 160 of the 290, leaving 130 unexplained; in the secretory example electrolytes account for 248, leaving almost nothing unexplained — exactly the contrast the test exists to expose.

  • Collect the sample fresh and keep urine and toilet water out; dilution fabricates a high gap.
  • Analyse promptly or freeze: bacterial fermentation raises measured osmolality after collection.
  • The gap uses stool sodium and potassium in mmol/L, not serum values.
  • A gap over 100 with a suggestive history warrants a laxative screen.
  • Repeat borderline results; single samples vary with diet and transit time.

Worked examples

Example 1: Stool sodium (mmol/L) 32; Stool potassium (mmol/L) 48. Stool osmotic gap (mOsm/kg) = 130. Supporting values: Electrolyte contribution 2(Na + K) 160; Distance from the 50 cut-off 80.00. Electrolytes: stool sodium 32 plus potassium 48 mmol/L, doubled for their accompanying anions, accounts for 160 mOsm/kg. Subtraction: against the assumed stool osmolality of 290 mOsm/kg, the unexplained gap is 290 - 160 = 130 mOsm/kg. Bands: under 50 suggests secretory diarrhoea, over 100 osmotic; 130 falls in the osmotic (unmeasured solutes present) range. Stool osmotic gap result: 130 mOsm/kg, the standard screen for factitious and malabsorptive causes.

Example 2: Stool sodium (mmol/L) 88; Stool potassium (mmol/L) 36. Stool osmotic gap (mOsm/kg) = 42. Supporting values: Electrolyte contribution 2(Na + K) 248; Distance from the 50 cut-off -8.00. Electrolytes: stool sodium 88 plus potassium 36 mmol/L, doubled for their accompanying anions, accounts for 248 mOsm/kg. Subtraction: against the assumed stool osmolality of 290 mOsm/kg, the unexplained gap is 290 - 248 = 42 mOsm/kg. Bands: under 50 suggests secretory diarrhoea, over 100 osmotic; 42 falls in the secretory pattern range. Stool osmotic gap result: 42 mOsm/kg, the standard screen for factitious and malabsorptive causes.

Example 3: Stool sodium (mmol/L) 55; Stool potassium (mmol/L) 61. Stool osmotic gap (mOsm/kg) = 58. Supporting values: Electrolyte contribution 2(Na + K) 232; Distance from the 50 cut-off 8.00. Electrolytes: stool sodium 55 plus potassium 61 mmol/L, doubled for their accompanying anions, accounts for 232 mOsm/kg. Subtraction: against the assumed stool osmolality of 290 mOsm/kg, the unexplained gap is 290 - 232 = 58 mOsm/kg. Bands: under 50 suggests secretory diarrhoea, over 100 osmotic; 58 falls in the mixed or indeterminate range. Stool osmotic gap result: 58 mOsm/kg, the standard screen for factitious and malabsorptive causes.

Collecting a usable sample

More gaps are ruined in the collection than in the calculation. Watery stool contaminated with urine dilutes the electrolytes and manufactures an osmotic pattern in a secretory patient; a sample that sits at room temperature ferments, and while fermentation does not change the sodium and potassium much, it destroys any attempt to verify the 290 assumption by direct measurement.

The clinical history remains the senior partner. A gap of 130 in a patient whose diarrhoea stops on fasting confirms osmotic physiology; the same number in a patient passing a litre a day through the night should be distrusted and repeated, because true secretory volumes with a high gap usually mean the sample, not the bowel, misbehaved.

Factitious clue: a very high gap with unusually low stool sodium in a patient with access to laxatives is the textbook signature of surreptitious osmotic laxative use.

The osmotic gap in practice

Guidelines for chronic diarrhoea place the gap early in the workup because it routes everything downstream: osmotic results trigger dietary exclusion trials, breath tests and medication review, while secretory results trigger imaging, hormone assays and biopsy. One cheap electrolyte pair on stool water prunes half the decision tree.

It is also a useful lie detector for the sample itself. When the gap and the story disagree violently, repeating the collection under supervision resolves most discrepancies — a humbling fraction of puzzling gaps turn out to be tap water.

The gap among its neighbouring tests

The osmotic gap rarely travels alone. Stool pH below about 5.5 corroborates carbohydrate malabsorption, because colonic bacteria ferment the unabsorbed sugar into short-chain acids; a high gap with an acid pH is nearly a signature. Stool magnesium and phosphate levels catch the antacid and enema causes directly, and a laxative screen closes the factitious case. Each test interrogates the same unexplained osmolality from a different side.

The secretory side has its own confirmatory pattern: large volume that persists through a 48-hour fast is close to proof, since osmotic diarrhoea must stop when its solute stops arriving. The fast is a physiological version of the gap — both ask whether the fluid is explained by what was eaten or by what the bowel is doing — and where they disagree, the fast usually wins and the sample gets recollected.

What the gap offers that the fast cannot is speed and a number. It routes the workup on the first visit, before admission for fasting is even considered, and it gives the follow-up a quantity to watch: a treated malabsorber's gap should fall toward the secretory range as the offending solute is withdrawn.

One more neighbour deserves a sentence: the stool chloride and the serum electrolytes together can unmask the rare congenital and villous causes when the gap says secretory but the story says otherwise, and faecal fat quantification takes over when the gap says osmotic and steatorrhoea is the suspect. The gap's role in that company is triage, not diagnosis — it is the cheapest member of the panel and the one whose result decides which expensive member speaks next. Tests, like consultants, earn their place by knowing what question they are for.

FAQs

What gap does the first example give?

130 mOsm/kg, from electrolytes of 32 and 48 mmol/L contributing 160 — an osmotic pattern.

What gap does the secretory-pattern example give?

42 mOsm/kg, with stool sodium of 88 and potassium of 36 accounting for 248 of the 290.

Why are sodium and potassium doubled?

To account for their accompanying anions, which the basic panel does not measure; the doubled sum approximates the full electrolyte contribution.

What does the borderline example show?

A gap of 58, in the 50-100 indeterminate band where mixed mechanisms are common and the test should be repeated.

Why is stool osmolality assumed to be 290 rather than measured?

Because stool water equilibrates with plasma in the colon, while a collected sample's measured osmolality rises artefactually from bacterial fermentation.

What stool potassium does the borderline example use?

61 mmol/L alongside sodium of 55, contributing 232 and leaving the gap of 58.

Sources

Related calculators

Anion Gap Calculator
The serum anion gap from sodium, chloride and bicarbonate — with the potassium-inclusive figure and the albumin correction that unmasks hidden gaps.
Osmolar Gap Calculator
Measured serum osmolality minus the calculated estimate (2 × sodium + glucose/18 + BUN/2.8 + ethanol/4.6) — the gap clinicians check for unmeasured osmoles such as toxic alcohols.
Serum Osmolality Calculator
Calculated serum osmolality from sodium, glucose and BUN — with effective osmolality and the osmolar gap when you have a measured value. Educational use only.