Well, it leads us into an interesting use of logarithms in chemistry: finding the pH of water samples. pH tells us how acidic or basic a sample is, and can be calculated with the formula: pH equals negative log base 10 of the hydrogen ion concentration, or H plus.