The pH of a solution is: