The pH-value of a liquid can be calculated using the potentiometric measurement principle. This video shows what it is about and how this measuring principle works. http://www.products.endress.com/ph