The pH of a solution is a measure of its acidity or basicity, and is calculated as the negative logarithm of the hydrogen ion concentration (pH = -log[H3O+]). A solution with a pH of 7 is considered neutral, while a solution with a pH less than 7 is considered acidic, and a solution with a pH greater than 7 is considered basic.