Here is an introduction to the pH scale and calculations. This discussion begins with the very important idea if the self-ionization of water.