The pH of a solution is a measure of the quantity of hydrogen atoms (H) in the solution. It is given by the formula f(x) = −log x. In the formula, x = [H+], the molar concentration of hydrogen atoms, or the number of moles of hydrogen atoms per liter of solution