Skip to content
Omnikalc

Stool osmotic gap: osmotic or secretory diarrhea?

Calculate the stool osmotic gap from stool sodium and potassium to tell an osmotic diarrhea from a secretory one.

Updated on
Your inputs
mmol/L

Value out of range

mmol/L

Value out of range

mOsm/kg

Value out of range

Results

Stool osmotic gap

190 mOsm/kg

Above 125: osmotic diarrhea (lactose or other sugars, magnesium, laxatives, malabsorption)
Measured stool osmolality check
0 mOsm/kg
Not entered
Stool electrolyte osmolality 2 × (Na + K)
100 mOsm/kg

This calculator is for general information and education. It is not medical advice and does not replace the judgment of a doctor, nurse or pharmacist who knows the full clinical picture.

Sorting out chronic diarrhea

Diarrhea lasting more than four weeks has many possible causes. One useful first step is to decide whether water is being pulled into the bowel by something that should not be there (osmotic diarrhea) or actively pumped into it by the bowel wall (secretory diarrhea). The stool osmotic gap helps make this distinction from a simple stool water test.

The formula

Stool osmotic gap = 290 − 2 × (stool sodium + stool potassium)

Stool water normally has about the same osmolality as blood, around 290 mOsm/kg. Sodium and potassium, each paired with an anion, account for most of it in secretory diarrhea. Anything left over must be other dissolved particles, such as unabsorbed sugars or magnesium.

Interpretation

Gap (mOsm/kg) Suggests Typical causes
Above 125 Osmotic diarrhea Lactose intolerance, sorbitol or other sugar alcohols, magnesium laxatives or antacids, polyethylene glycol, malabsorption
Below 50 Secretory diarrhea Infections and toxins, bile acid diarrhea, microscopic colitis, stimulant laxatives, hormone-secreting tumors
50 to 125 Mixed or uncertain Often a combination of mechanisms

A practical clue: osmotic diarrhea usually stops when the patient fasts, while secretory diarrhea continues.

Example

A stool sample with sodium 30 mmol/L and potassium 20 mmol/L:

  • Electrolyte osmolality: 2 × (30 + 20) = 100 mOsm/kg
  • Gap: 290 − 100 = 190 mOsm/kg, a clear osmotic pattern

Checking the sample

  • A measured stool osmolality well below 250 suggests the sample was diluted with water or urine, sometimes deliberately in factitious diarrhea.
  • A value well above 400 usually means bacterial fermentation continued after collection; the sample should reach the lab quickly or be refrigerated.
  • Stool magnesium above about 45 mmol/L points to magnesium-induced diarrhea, and a low stool pH below 5.5 points to carbohydrate malabsorption.

Limits

The test needs liquid stool, so it does not apply to formed stools. Results guide further testing, such as celiac serology, stool calprotectin, colonoscopy with biopsies or a lactose breath test, rather than giving a final diagnosis. See a doctor for diarrhea with blood, weight loss, fever or night symptoms.

Frequently asked questions

What is the stool osmotic gap?

The difference between the expected osmolality of stool water, about 290 mOsm/kg, and the part explained by electrolytes, 2 × (sodium + potassium). It shows whether unmeasured substances, such as sugars or magnesium, are drawing water into the gut.

How do I interpret the result?

A gap above about 125 mOsm/kg points to osmotic diarrhea, which usually improves with fasting. A gap below about 50 points to secretory diarrhea, which persists even when fasting. Values in between are less specific.

Why use 290 instead of measured osmolality?

Stool osmolality rises after collection as bacteria keep fermenting sugars, so a measured value can be falsely high. Stool water starts out roughly equal to plasma, about 290 mOsm/kg. A measured value well below 250 suggests the sample was diluted with water or urine.

What are common causes of osmotic diarrhea?

Lactose intolerance, sugar alcohols such as sorbitol in sugar-free products, magnesium-containing laxatives or antacids, polyethylene glycol and malabsorption from celiac disease or pancreatic insufficiency.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.