A reliable method for predicting concentrate and permeate pH values is essential for accurately predicting operation and maintenance (O&M) costs in nanofiltration (NF) and reverse osmosis (RO) systems.