TTKTheTextKit

pH Calculator

Enter a pH, a pOH or a concentration and get the other three, along with whether the solution is acidic, neutral or basic. Choose Strong acid or base to find the pH from the concentration, or Weak acid or base to find it from the concentration and the acid constant Ka, the base constant Kb or their pK values. A weak solution also shows the share of molecules that have reacted. The values are for water at 25 C. Everything runs in your browser.

pH
4.5
The solution is acidic
pOH
9.5
H+ concentration
3.162e-5 mol/L
OH- concentration
3.162e-10 mol/L

pH is the negative base-10 logarithm of the hydrogen ion concentration in mol/L, and pOH is the same for hydroxide. At 25 C the water ion product is 1e-14, so [H+] x [OH-] = 1e-14 and pH + pOH = 14. Below 7 a solution is acidic, above 7 it is basic, and 7 is neutral. A strong acid or base is counted as fully split into ions, and the ions of water are included, so a very dilute solution such as 5e-8 M hydrochloric acid comes out at 6.89 and not at 7.3. A weak acid or base is solved from its constant: [H+] is the positive root of x^2 + Ka x - Ka c = 0, which does not need the usual approximation. For a weak solution this ignores the ions of water, so it is accurate when the result is well above 1e-7 mol/L. A different temperature has a different water ion product, and a real solution has activities that differ from concentrations, so a meter can read a little differently. Everything runs in your browser.

Related Tools

[6 suggestions]

About the pH Calculator

pH is the negative base-10 logarithm of the hydrogen ion concentration in mol/L, so a pH of 2 is 0.01 M and a pH of 7 is 1e-7 M, and pOH is the same for hydroxide. At 25 C the ion product of water is 1e-14, so the two concentrations multiply to 1e-14 and pH + pOH = 14. A pH below 7 is acidic, above 7 is basic and 7 is neutral. A strong acid or base is treated as fully split into ions, so 0.01 M hydrochloric acid has a pH of 2, and a compound that gives two ions per formula unit, such as calcium hydroxide, doubles the ion concentration. The ions that come from water itself are included, which matters for a very dilute solution: 5e-8 M hydrochloric acid has a pH of 6.89 and not 7.3, and no acid at any concentration gives a pH of 7 or above. A weak acid with concentration c and constant Ka has a hydrogen ion concentration x that solves x^2 + Ka x - Ka c = 0, and the calculator solves this quadratic instead of using the shortcut x = sqrt(Ka c), which is wrong when the acid is not much weaker than its concentration. For 0.1 M acetic acid with Ka = 1.8e-5 the pH is 2.88, and for 0.01 M benzoic acid with a pKa of 4.19 it is 3.11. A weak base works the same way with Kb and the hydroxide ion. For a weak solution the ions of water are ignored, so the result is accurate when the concentration it gives is well above 1e-7 mol/L. Real solutions have activities that differ a little from concentrations, and a different temperature has a different water ion product, so a pH meter can read a little differently.

How do I calculate pH from concentration?▾

Take the negative base-10 logarithm of the hydrogen ion concentration in mol/L. A 0.01 M strong acid gives a pH of 2, and a concentration of 3.16e-5 M gives a pH of 4.5.

How do I find the pH of a weak acid?▾

Use the Weak acid or base mode with the concentration and Ka or pKa. It solves x^2 + Ka x - Ka c = 0 for the hydrogen ion concentration x. For 0.1 M acetic acid with Ka 1.8e-5 the pH is about 2.88.

What is the relation between pH and pOH?▾

At 25 C, pH + pOH = 14, because the product of the hydrogen and hydroxide concentrations is 1e-14. A solution with a pH of 12 has a pOH of 2 and a hydroxide concentration of 0.01 M.

Why is the pH of very dilute acid not above 7?▾

Water itself makes a little hydrogen and hydroxide. An acid, however dilute, only adds hydrogen ions, so the pH stays below 7. The calculator includes this: 5e-8 M hydrochloric acid has a pH of 6.89.

What is the difference between Ka and pKa?▾

pKa is the negative base-10 logarithm of Ka. A larger Ka, which is a smaller pKa, means a stronger acid. Acetic acid has a Ka of about 1.8e-5, so its pKa is about 4.7.