Stool contains water, electrolytes and solutes. The fecal osmotic (or osmolar) gap measures the differences between measured fecal osmolality and concentrations of electrolytes in the stool, and it indicates the concentration of poorly absorbed solutes in the feces. This can provide useful information in patients with diarrhea.