Skip to content
Omnikalc

Weak acid pH calculator: exact pH of a weak acid or base from its pKa and concentration

Enter the concentration and the pKa of a weak acid, or the pKb of a weak base, to get the exact pH, the degree of ionization and the ion concentration.

Updated on
Your inputs
mol/L

Value out of range

Value out of range

Results

pH of the solution

2.883

Degree of ionization
1.31 %
Less than 5 %: the simple approximation √(Ka × C) is valid
Concentration of ions formed
1.310 mmol/L
pH by the simple approximation
2.880

A weak acid or weak base ionizes only in part in water, and its pH depends on both the concentration and the dissociation constant. The weak acid pH calculator solves the equilibrium exactly from the pKa (or pKb) and gives the pH, the degree of ionization and the concentration of ions.

How the calculation works

  • Choose whether the solution is a weak acid (enter its pKa) or a weak base (enter its pKb), then enter the concentration in mol/L.
  • The calculator solves the equilibrium x² / (C − x) = K exactly, with the quadratic formula, where x is the concentration of the ions that form.
  • For an acid, pH = −log x. For a base, x is the concentration of OH⁻, so pH = 14 + log x.
  • It also gives the degree of ionization x / C and the pH by the usual approximation, so you can check when that shortcut is acceptable.

Example

A 0.10 mol/L solution of acetic acid (pKa = 4.76, Ka = 1.74 × 10⁻⁵) forms x = 1.310 mmol/L of H⁺ and of acetate. The pH is 2.883. Only 1.31 % of the acid is ionized, so the simple approximation, (4.76 − log 0.10) / 2 = 2.880, is correct to three thousandths. This is close to the pH of table vinegar, which is about 2.4 to 3.

Why it matters

The calculator helps students and technicians with chemistry exercises, with the preparation of solutions in a lab, and with checking the acidity of vinegar, lemon juice, cleaning products or ammonia. It also shows when the textbook shortcut is safe.

Good to know

The calculator is for a single weak acid or base at 25 °C, with activities taken equal to concentrations, which is accurate for dilute solutions. It ignores the ionization of water, which matters only when the acid is extremely dilute (below about 10⁻⁶ mol/L) or very weak, and it does not handle polyprotic acids, whose steps overlap, nor mixtures of acids. For a buffer, use the Henderson-Hasselbalch calculator.

The Henderson-Hasselbalch calculator covers buffers with both the acid and its salt, the buffer capacity calculator measures the resistance of a solution to a change of pH, the titration calculator finds the concentration of an unknown, and the dilution calculator plans the volumes.

Frequently asked questions

What is a weak acid?

A weak acid is a substance that gives only a part of its protons to water, so that an equilibrium sets up between the acid, the proton and the conjugate base. Acetic acid, citric acid, carbonic acid and hydrofluoric acid are examples. The strength is measured by the acid dissociation constant Ka, or by pKa = −log Ka: the smaller Ka (the larger pKa), the weaker the acid.

How do I compute the pH of a weak base?

A weak base such as ammonia (pKb = 4.75) takes protons from water and forms OH⁻. The calculator solves the same equation with Kb and finds the concentration of OH⁻, then pOH = −log [OH⁻] and pH = 14 − pOH at 25 °C. For a 0.050 mol/L ammonia solution, the pH is 10.97. If you only know the pKa of the conjugate acid, pKb = 14 − pKa.

When is the simple formula pH = ½ (pKa − log C) accurate?

It assumes that the ionization is small compared with the concentration, so that C − x is about C. The error is under 5 % when the degree of ionization is below 5 %, which happens for dilute-enough solutions of acids with a pKa above about 4. For stronger acids or very dilute solutions, the exact solution is needed, and the calculator shows the gap.

Why does the degree of ionization rise when I dilute?

Dilution moves the equilibrium toward the ionized form, the principle of Le Chatelier and Ostwald’s dilution law. If you dilute a 0.10 mol/L acetic acid by 100 times, the degree of ionization goes from 1.3 % to 11.6 %, even though the pH goes up from 2.88 to 3.93. The pH rises by less than the dilution suggests.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.