Home ↓
CalculatorsVerified

Physics & Chemistry

pH Calculator (Acids, Bases, H⁺ and OH⁻)

Calculate the pH of a solution at 25 °C. Start from what you know — the hydrogen ion concentration, the hydroxide ion concentration, a pH value, or the concentration of a strong acid, a weak acid with its pKa, or a strong base — and the calculator gives pH, pOH, both ion concentrations and whether the solution is acidic, neutral or basic.

mol/L

How to use this calculator

  1. Choose what you know from the list.
  2. Enter the concentration in mol/L, or the pH value.
  3. For a weak acid, also enter its pKa (acetic acid 4.76).
  4. Read pH, pOH and the concentrations of H⁺ and OH⁻.
  5. For a weak acid, check the degree of ionisation.

The pH scale

pH measures how acidic or basic a water solution is. It is the negative base-10 logarithm of the hydrogen ion activity, which in dilute solutions is close to the concentration in mol/L. Because the scale is logarithmic, each unit is a tenfold change: a solution at pH 3 has ten times more hydrogen ions than one at pH 4 and a hundred times more than one at pH 5. Pure water at 25 °C has [H⁺] = [OH⁻] = 1.0 × 10⁻⁷ mol/L, so its pH is 7, which is called neutral. Below 7 is acidic and above 7 is basic or alkaline.

Water always contains both ions, linked by the ion product Kw = [H⁺] × [OH⁻] = 1.0 × 10⁻¹⁴ at 25 °C. That is why pH + pOH = 14 at this temperature, and why the calculator can give one from the other.

Strong and weak acids

A strong acid such as hydrochloric or nitric acid ionises completely, so its hydrogen ion concentration equals the acid concentration: 0.01 mol/L HCl has pH 2. For extremely dilute strong acids, the H⁺ coming from water itself matters, and the calculator includes it — a 10⁻⁸ mol/L acid has pH 6.98, not 8. A weak acid such as acetic acid only partly ionises; how much depends on its acid dissociation constant Ka, usually given as pKa = −log₁₀ Ka. The calculator solves the equilibrium exactly with the quadratic formula instead of using the usual approximation, and shows the degree of ionisation. Strong bases such as sodium hydroxide give [OH⁻] equal to their concentration: 0.01 mol/L NaOH has pH 12.

Limits of the calculation

The calculation assumes 25 °C and dilute solutions. Kw rises with temperature, so neutral water has a pH of about 6.14 at 100 °C; the pH-plus-pOH rule of 14 holds only at 25 °C. In concentrated solutions, ions interact and the activity differs from the concentration, so real pH meters may read differently. Polyprotic acids such as sulfuric or phosphoric acid release more than one proton and need stepwise calculations; the strong-acid mode treats one proton per molecule. For laboratory work, always confirm with a calibrated pH meter.

Formula & method

pH = −log₁₀[H⁺], pOH = −log₁₀[OH⁻], pH + pOH = 14 at 25 °C (Kw = 1.0 × 10⁻¹⁴)Strong acid: [H⁺] = (C + √(C² + 4Kw)) ÷ 2Weak acid: [H⁺] = (−Ka + √(Ka² + 4·Ka·C)) ÷ 2, Ka = 10^(−pKa)

pH = −log₁₀[H⁺] and pOH = −log₁₀[OH⁻]. At 25 °C the ion product of water is Kw = 1.0 × 10⁻¹⁴, so pH + pOH = 14. Strong acid: [H⁺] = (C + √(C² + 4Kw)) ÷ 2, which includes the H⁺ from water. Weak acid: [H⁺] = (−Ka + √(Ka² + 4·Ka·C)) ÷ 2 with Ka = 10^(−pKa).

Worked example

0.1 mol/L acetic acid, pKa 4.76

  1. Ka = 10^−4.76 = 1.74 × 10⁻⁵
  2. [H⁺] = (−Ka + √(Ka² + 4 × Ka × 0.1)) ÷ 2 = 1.31 × 10⁻³ mol/L
  3. pH = −log₁₀(1.31 × 10⁻³) = 2.88; only 1.31% of the acid is ionised

Answer: The pH is 2.88, much higher than the pH 1 of a 0.1 mol/L strong acid.

Frequently asked questions

How do I calculate pH from concentration?

For a strong monoprotic acid, pH = −log₁₀ of the concentration: 0.001 mol/L gives pH 3. For weak acids you also need the pKa.

What is the pH of pure water?

7.00 at 25 °C. It is lower at higher temperatures, although the water is still neutral.

What is the difference between pH and pOH?

pH measures hydrogen ions and pOH hydroxide ions. At 25 °C they always add up to 14.

Can pH be negative or above 14?

Yes, for very concentrated strong acids or bases, such as 10 mol/L HCl. In practice activities make such values approximate.

Why is a weak acid's pH higher than a strong acid's at the same concentration?

Only a small fraction of a weak acid's molecules release H⁺, so the hydrogen ion concentration is lower.

What is the pKa of acetic acid?

About 4.76 at 25 °C. Vinegar, roughly 0.8 mol/L acetic acid, has a pH around 2.4.