How to calculate
Take the negative base-10 logarithm of hydrogen ion concentration. For hydroxide, first find pOH and subtract it from 14.
Worked example
Use Known quantity Hydrogen ion concentration · Hydrogen or hydroxide concentration (mol/L) 0.001. The result is ≈ 3.
Input and result notes
Uses the concentration approximation for dilute solutions. Real pH is defined by hydrogen-ion activity.
OpenStax chemistry on pH and pOH