Ka and pKa Calculator

Convert between Ka, pKa, pH and buffer composition with AI-powered step-by-step solutions
pKa of an acid with Ka = 1.8 x 10^-5
Ka and pKa of a 0.25 M weak acid with pH = 2.87
pH of a buffer that is 0.150 M acid and 0.250 M conjugate base, pKa 4.74
pH of 0.10 M weak acid with Ka = 6.8 x 10^-4

Ka, pKa and What They Measure

For a weak acid ionising in dilute aqueous solution,

HA+H2O⇌H3O++A−,Ka=[H3O+][A−][HA]\mathrm{HA} + \mathrm{H_2O} \rightleftharpoons \mathrm{H_3O^+} + \mathrm{A^-}, \qquad K_a = \frac{[\mathrm{H_3O^+}][\mathrm{A^-}]}{[\mathrm{HA}]}

  • KaK_a — the acid dissociation constant, a fixed number at a fixed temperature. Water does not appear because it is the solvent, present in vast excess.
  • [  ][\;] — equilibrium molar concentrations, in mol/L.

Because KaK_a values span many orders of magnitude, they are usually reported on a log scale:

pKa=−log⁡10Ka⟹Ka=10−pKa\mathrm{p}K_a = -\log_{10} K_a \qquad\Longleftrightarrow\qquad K_a = 10^{-\mathrm{p}K_a}

A larger KaK_a means a stronger acid, and because of the minus sign a smaller pKa\mathrm{p}K_a means a stronger acid. Acetic acid, Ka=1.8×10−5K_a = 1.8 \times 10^{-5}, has pKa=4.74\mathrm{p}K_a = 4.74.

Assumed conditions. These relations are used for dilute aqueous solutions at 25 °C, where molarity stands in for activity and Kw=1.0×10−14K_w = 1.0 \times 10^{-14}. KaK_a itself is temperature-dependent, so a value quoted without a temperature is a 25 °C value. The equilibrium expression applies to weak acids; a strong acid ionises essentially completely and has no useful KaK_a.

The Four Calculations

1. Ka to pKa and back

Take the negative base-10 log, or the power of ten. On the log scale only the digits after the decimal point are significant, so a KaK_a with 2 significant figures gives a pKa\mathrm{p}K_a with 2 decimal places.

2. pH from Ka

Set up an ICE table for a formal concentration CaC_a with x=[H3O+]x = [\mathrm{H_3O^+}]:

Ka=x2Ca−xK_a = \frac{x^2}{C_a - x}

If ionisation is under about 5%, the shortcut x≈KaCax \approx \sqrt{K_a C_a} is accurate; otherwise solve the quadratic x2+Kax−KaCa=0x^2 + K_a x - K_a C_a = 0. Then pH=−log⁡10x\mathrm{pH} = -\log_{10} x.

3. Ka from a measured pH

Reverse the same equation. From the pH get x=10−pHx = 10^{-\mathrm{pH}}, then

Ka=x2Ca−xK_a = \frac{x^2}{C_a - x}

using the formal concentration for CaC_a, not the equilibrium one.

4. Buffers: Henderson-Hasselbalch

When an acid and its conjugate base are both present in appreciable amounts,

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

Only the ratio matters, so diluting a buffer barely changes its pH. The equation assumes both concentrations are much larger than [H3O+][\mathrm{H_3O^+}], which fails when the ratio is extreme or the buffer is very dilute.

Common Mistakes to Avoid

  • Mixing up the direction of strength. High KaK_a, low pKa\mathrm{p}K_a, strong acid. The minus sign flips the ordering.
  • Putting equilibrium concentrations into CaC_a. In Ka=x2/(Ca−x)K_a = x^2/(C_a - x), CaC_a is the amount of acid dissolved; the subtraction is what converts it to the equilibrium value.
  • Using KaCa\sqrt{K_a C_a} when ionisation is large. Check that x/Ca<5%x/C_a < 5\%; for a fairly strong weak acid in a dilute solution it will not be, and the quadratic is required.
  • Reporting too many digits. A pH read to 2 decimal places supports a KaK_a with 2 significant figures.
  • Applying Henderson-Hasselbalch to a solution of the acid alone. Without the conjugate base present, the ratio is undefined; use the ICE table instead.
  • Forgetting pKa+pKb=14.00\mathrm{p}K_a + \mathrm{p}K_b = 14.00 holds only at 25 °C, since it comes from KwK_w.

Examples

Step 1: pKa=−log⁥10(1.8×10−5)=5−log⁥10(1.8)\mathrm{p}K_a = -\log_{10}(1.8 \times 10^{-5}) = 5 - \log_{10}(1.8)
Step 2: log⁥10(1.8)=0.2553\log_{10}(1.8) = 0.2553
Step 3: pKa=5−0.2553=4.7447\mathrm{p}K_a = 5 - 0.2553 = 4.7447
Step 4: KaK_a has 2 significant figures, so the pKa\mathrm{p}K_a is quoted to 2 decimal places
Answer: pKa=4.74\mathrm{p}K_a = 4.74

Step 1: x=[H3O+]=10−2.87=1.349×10−3x = [\mathrm{H_3O^+}] = 10^{-2.87} = 1.349 \times 10^{-3} M, which also equals [A−][\mathrm{A^-}]
Step 2: Equilibrium acid: [HA]=0.25−1.349×10−3=0.24865[\mathrm{HA}] = 0.25 - 1.349 \times 10^{-3} = 0.24865 M
Step 3: Ka=x2[HA]=(1.349×10−3)20.24865=1.8198×10−60.24865K_a = \dfrac{x^2}{[\mathrm{HA}]} = \dfrac{(1.349 \times 10^{-3})^2}{0.24865} = \dfrac{1.8198 \times 10^{-6}}{0.24865}
Step 4: Ka=7.319×10−6K_a = 7.319 \times 10^{-6}; the 2 decimal places in the pH support 2 significant figures
Step 5: pKa=−log⁥10(7.319×10−6)=6−0.8644=5.1356\mathrm{p}K_a = -\log_{10}(7.319 \times 10^{-6}) = 6 - 0.8644 = 5.1356
Answer: Ka=7.3×10−6K_a = 7.3 \times 10^{-6}, pKa=5.14\mathrm{p}K_a = 5.14

Step 1: Both the acid and its conjugate base are present, so use pH=pKa+log⁡10[A−][HA]\mathrm{pH} = \mathrm{p}K_a + \log_{10}\dfrac{[\mathrm{A^-}]}{[\mathrm{HA}]}
Step 2: [A−][HA]=0.2500.150=1.6667\dfrac{[\mathrm{A^-}]}{[\mathrm{HA}]} = \dfrac{0.250}{0.150} = 1.6667
Step 3: log⁥10(1.6667)=0.2218\log_{10}(1.6667) = 0.2218
Step 4: pH=4.74+0.2218=4.9618\mathrm{pH} = 4.74 + 0.2218 = 4.9618, quoted to the 2 decimal places of the pKa\mathrm{p}K_a
Step 5: The base outweighs the acid, so the pH sits above the pKa\mathrm{p}K_a — as expected
Answer: pH=4.96\mathrm{pH} = 4.96

Frequently Asked Questions

Ka = 10^(-pKa). For pKa = 4.74, Ka = 10^-4.74 = 1.8 x 10^-5. Going the other way, pKa = -log10(Ka). Only the digits after the decimal point in a pKa are significant, so pKa 4.74 supports a Ka with 2 significant figures.

Use the equilibrium expression Ka = xÂē/(Ca - x) with x = [H3O+] and Ca the concentration of acid dissolved. If ionisation is under about 5%, x is close to the square root of Ka x Ca; otherwise solve the quadratic. Then pH = -log10(x).

Ka is a property of the acid itself and does not change with dilution — only with temperature. pH is a property of one particular solution and changes as soon as you dilute it. Ka plus the concentration together determine the pH.

When a weak acid and its conjugate base are both present at concentrations well above the hydronium concentration — that is, in a buffer. It fails for a solution of the acid alone, for very dilute buffers, and when the base-to-acid ratio is far from 1 (roughly outside pKa ± 1).

Related Solvers

Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving