The main theory involved in the potentiometry is, when the known potential electrode immersed in the sample solution then the potential is given by
Nernst Equation: