pH formula explained simply
The pH formula is one line long, and every part of it does a job. Written out, it is pH = −log₁₀[H⁺]. It turns a tiny concentration into a short number between 0 and 14, and it does it with three pieces: a concentration, a logarithm and a minus sign. This guide takes the formula apart piece by piece, so each symbol makes sense before you use it. The pH Calculator uses the same formula, and you can check any of its answers with the steps here.
Piece 1: [H⁺], the hydrogen ion concentration
[H⁺] is the concentration of hydrogen ions in a solution, measured in moles per litre (mol/L). An acid is a substance that puts hydrogen ions into water, so a strong acid has a high [H⁺] and a weak one has a low [H⁺]. Pure water has [H⁺] = 0.0000001 mol/L, written as 1 × 10⁻⁷ mol/L. A laboratory acid at 0.01 mol/L has a hundred thousand times as many hydrogen ions as pure water, which is why its pH is 2 and water’s is 7.
Piece 2: log₁₀, the base-10 logarithm
The log is the part that does the compressing. A base-10 log asks: “10 to what power gives this number?” For 0.01, the answer is −2, because 10⁻² = 0.01. For 0.001, the answer is −3. For 1 × 10⁻⁷, the answer is −7. Without the log, you would be comparing numbers like 0.0000001 and 0.01, which are awkward to read and easy to mix up. With it, the whole range from a strong acid to a strong alkali fits into the numbers 0 to 14.
pH = −log₁₀[H⁺]
Piece 3: the minus sign
Concentrations below 1 mol/L have negative logs: log₁₀(0.01) is −2, and log₁₀(0.0000001) is −7. A pH scale made of negative numbers would be confusing, so the formula puts a minus sign in front to flip them. That is the whole job of the minus sign. It turns −2 into pH 2 and −7 into pH 7. Leave it out and the same solutions would read −2 and −7, which is why a negative pH in your working is usually a sign you forgot it.
The two companion formulas
Two more formulas sit next to the first one, and the calculator uses both. The first links pH and pOH: pOH = 14 − pH. A solution at pH 3 has pOH 11, and one at pH 9.25 has pOH 4.75. The second runs the main formula backwards: [H⁺] = 10^(−pH). It turns a pH back into a concentration, so pH 3.5 becomes [H⁺] = 10^(−3.5) = 3.16 × 10⁻⁴ mol/L, and pH 4.5 becomes 3.16 × 10⁻⁵ mol/L.
Three numbers to remember
If you remember three pairs, you can place any pH on the scale. A concentration of 0.1 mol/L is pH 1, a strong acid. A concentration of 0.001 mol/L is pH 3, about the strength of vinegar. And 1 × 10⁻⁷ mol/L is pH 7, pure water. Every other answer sits between or beside these three: a concentration ten times stronger than 0.001 is pH 2, and one ten times weaker is pH 4. Anchor on the three, then step up or down by tens.
Putting it together
Run one full calculation with the pieces in place. A solution has [H⁺] = 0.01 mol/L. The concentration is the starting point. Its log is −2, because 10⁻² = 0.01. The minus sign flips it to pH 2. Now run it backwards: a pH of 4.5 means [H⁺] = 10^(−4.5) = 3.16 × 10⁻⁵ mol/L, and the pOH is 14 − 4.5 = 9.5. Three pieces, two directions, and every answer on the calculator follows the same path.
Frequently asked questions
What does the 10 in log₁₀ mean?
It means base 10: the log asks what power of 10 gives the concentration. A log of −2 means 10⁻², which is 0.01.
Why is there a minus sign in the pH formula?
Because concentrations below 1 mol/L have negative logs, and the minus sign flips them so pH comes out positive: pH 2 instead of −2.
What is pOH?
pOH is the same idea for hydroxide ions, and at room temperature pH + pOH = 14, so pH 3 pairs with pOH 11.
How do I turn a pH back into a concentration?
Use [H⁺] = 10^(−pH). A pH of 3.5 gives [H⁺] = 3.16 × 10⁻⁴ mol/L.
More guides on the pH Calculator
Try the pH Calculator — free, in your browser.