Source: https://www2.chemistry.msu.edu/courses/cem434/Chapter 23 - Potentiometry.pdf