The material (liquid, gas, or vapour) that does not pass through a semi-permeable membrane in a separation process such as ultrafiltration. In membrane modules used to separate activated sludge, for example, water molecules pass through the membrane as permeate while the material remaining is the retentate.