Skip to content

pKa Calculator: Ka, pKa and Buffers

Convert Ka ↔ pKa (and Kb, pKb), find a buffer pH with Henderson–Hasselbalch, or the acid/base mix for a target pH.

Your details

Unit system
Calculate

Type 1.8e-5 for 1.8 × 10⁻⁵.

Results update as you type

Result

Enter a Ka greater than zero (scientific notation such as 1.8e-5 works).

The pKa of an acid tells you, on a convenient logarithmic scale, how readily it gives up a proton in water. It is the negative base-10 logarithm of the acid dissociation constant KaK_a: the smaller the pKa, the stronger the acid. Acetic acid (pKa 4.76) is a typical weak acid; the ammonium ion (9.25) is a much weaker one; phosphoric acid has three pKa values because it can lose three protons.

This calculator does four related jobs:

  • Ka → pKa: type a Ka such as 1.8e-5 to get pKa, plus the Kb and pKb of the conjugate base.
  • pKa → Ka: enter a pKa or pick an acid from the list.
  • Buffer pH: the Henderson–Hasselbalch equation gives the pH of a mixture of a weak acid and its conjugate base from their concentrations.
  • Make a buffer: enter the target pH, the total buffer concentration and, optionally, the volume; the calculator returns the ratio [A⁻]/[HA], each concentration and the moles of each component to weigh out.

The preset list gives literature pKa values at 25 °C for common buffer systems (acetate, formate, carbonate, phosphate, ammonium, Tris…). For the pH of a single weak acid or base solution, or of strong acids, use the pH calculator; for titration curves and equivalence points, use the titration calculator.

How to use this calculator

  1. Choose a mode: Ka → pKa, pKa → Ka, Buffer pH or Make a buffer.
  2. For a conversion, type Ka (scientific notation is fine) or pKa.
  3. For a buffer, choose the acid/base pair from the list or select Enter pKa and type your own value.
  4. In Buffer pH, enter the concentrations (or moles in the same volume) of the conjugate base A⁻ and the weak acid HA.
  5. In Make a buffer, enter the target pH, the total concentration [HA] + [A⁻] and the volume to prepare. A note warns you if the target is more than one pH unit from the pKa.

The formula

Definition of the acid dissociation constant for HA+H2O⇌H3O++A−\mathrm{HA + H_2O \rightleftharpoons H_3O^+ + A^-} and of pKa:

Ka=[H3O+][A−][HA]pKa=−log⁡10KaKa=10−pKaK_a = \frac{[\mathrm{H_3O^+}][\mathrm{A^-}]}{[\mathrm{HA}]} \qquad \mathrm{p}K_a = -\log_{10} K_a \qquad K_a = 10^{-\mathrm{p}K_a}

Taking the logarithm of KaK_a and rearranging gives the Henderson–Hasselbalch equation:

pH=pKa+log⁡10[A−][HA][A−][HA]=10 pH−pKa\mathrm{pH} = \mathrm{p}K_a + \log_{10}\frac{[\mathrm{A^-}]}{[\mathrm{HA}]} \qquad \frac{[\mathrm{A^-}]}{[\mathrm{HA}]} = 10^{\,\mathrm{pH} - \mathrm{p}K_a}

For a total concentration CC and ratio rr: [A−]=C r/(1+r)[\mathrm{A^-}] = C\,r/(1+r) and [HA]=C/(1+r)[\mathrm{HA}] = C/(1+r). For a conjugate pair at 25 °C, KaKb=Kw=1.0×10−14K_a K_b = K_w = 1.0 \times 10^{-14}, so pKa+pKb=14.00\mathrm{p}K_a + \mathrm{p}K_b = 14.00.

Worked example

Ka to pKa. Acetic acid has Ka=1.8×10−5K_a = 1.8 \times 10^{-5} (OpenStax, Appendix H), so pKa = −log(1.8 × 10⁻⁵) = 4.7447, i.e. 4.74. With the more precise literature value pKa = 4.76, the acetate ion has pKb = 9.24.

pKa to Ka. The ammonium ion, pKa 9.25, has KaK_a = 5.62 × 10⁻¹⁰.

Buffer pH (OpenStax §14.6). Blood plasma contains 0.024 M HCO₃⁻ and 0.0012 M H₂CO₃ with an effective pKa of 6.4: pH = 6.4 + log(0.024/0.0012) = 7.7.

Making a buffer. For 500 mL of 0.100 M acetate buffer at pH 5.00: ratio = 10^(5.00 − 4.76) = 1.738, so [A⁻] = 0.0635 M and [HA] = 0.0365 M, i.e. 0.0317 mol of sodium acetate and 0.0183 mol of acetic acid.

Choosing the right buffer pair

A buffer resists pH changes best when the acid and its conjugate base are present in similar amounts, i.e. when the pH is close to the pKa. As a rule, a buffer is useful from pKa − 1 to pKa + 1, where the ratio [A⁻]/[HA] stays between 0.1 and 10. To hold a cell culture at pH 7.4, for example, the phosphate pair H₂PO₄⁻/HPO₄²⁻ (pKa 7.20) needs a ratio of only 1.58 (61.3 % in the base form), while acetate would be useless at that pH.

Target pH Good choice (pKa)
3–4.5 Formate (3.75)
3.8–5.8 Acetate (4.76)
6.2–8.2 Phosphate (7.20)
7–9 Tris (8.07)
8.3–10.3 Ammonium/ammonia (9.25)
9.3–11.3 Carbonate (10.33)

Buffer capacity grows with the total concentration, so choose C large enough for the amount of acid or base the solution must absorb.

Limits of the Henderson–Hasselbalch equation

The equation uses concentrations instead of activities and assumes the acid and base do not change much by reacting with water. It works well for concentrations above about 0.01 M and pKa values between roughly 3 and 11. In very dilute buffers, with strong-ish acids (pKa < 2) or near the ends of the pH scale, solve the full equilibrium instead. Published pKa values also depend on temperature and ionic strength: Tris, for instance, drops by about 0.03 units per °C.

Frequently asked questions

How do I convert Ka to pKa?

Take the negative base-10 logarithm: pKa = −log₁₀ Ka. For Ka = 1.8 × 10⁻⁵, pKa = 4.74. To go back, Ka = 10^(−pKa). Each unit of pKa is a factor of 10 in Ka.

Does a lower pKa mean a stronger acid?

Yes. A lower pKa means a larger Ka, so the acid is more dissociated in water. Acids with pKa below about 0 are considered strong; most organic carboxylic acids sit around 3–5.

What is the Henderson–Hasselbalch equation used for?

It gives the pH of a buffer from the pKa and the ratio of conjugate base to acid: pH = pKa + log([A⁻]/[HA]). When the two concentrations are equal, the pH equals the pKa.

How do I get pKb from pKa?

For a conjugate acid–base pair in water at 25 °C, pKa + pKb = 14.00, so pKb = 14 − pKa. Ammonium (pKa 9.25) therefore corresponds to ammonia with pKb 4.75.

Which pKa should I use for a polyprotic acid?

Use the pKa of the proton exchanged in your pH range. For phosphate near pH 7 that is pKa₂ = 7.20 (H₂PO₄⁻/HPO₄²⁻); near pH 2 it is pKa₁ = 2.15. The presets list each step separately.

Sources

Last updated:

More Chemistry calculators

People also use