Chemistry & Chemical Engineering Acids, Bases, Buffers & Titration Kb equilibrium solved by exact charge balance

Weak Base pH Calculator (Kb)

Give this calculator the base ionisation constant — as Kb, pKb, or the Ka of the conjugate acid — together with the concentration, and it returns pOH, pH, [OH] and the percent ionization. The equilibrium is solved exactly from the charge balance rather than with the xC shortcut, so it stays right for amines strong enough to break the 5% rule and for solutions dilute enough that water's own hydroxide matters.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Constant you haveAll three describe the same equilibrium; Kb = Kw / Ka(conjugate acid).Kb (base ionisation constant)
KbEnter the mantissa and choose the power of ten; ammonia is 1.8 × 10⁻⁵ at 25 °C.1.8 × 10⁻⁵
pKbTabulated pKb at 25 °C; ammonia 4.74, methylamine 3.36, pyridine 8.77.4.75
Ka of the conjugate acidUse this when your table lists the acid form; the ammonium ion is 5.6 × 10⁻¹⁰.5.6 × 10⁻¹⁰
Analytical concentration of the baseTotal base added to the solution, protonated plus unprotonated.0.1 M

It returns

  • pH — pH = 14.00 - pOH at 25 °C.
  • pOH
  • [OH-] at equilibrium
  • Percent ionization — Fraction of the base that has picked up a proton to become BH+.
  • [B] remaining unprotonated
  • pKb
  • pKa of the conjugate acid — pKa + pKb = 14.00 at 25 °C.

The formula

x=Kb+Kb2+4KbC2
KaKb=Kw,pKa+pKb=14.00

In plain text: Kb = x^2 / (C - x) → x = [OH-] = (-Kb + sqrt(Kb^2 + 4·Kb·C)) / 2, pOH = -log10 x, pH = 14.00 - pOH

  • KbBase ionisation constant for B + H2O ⇌ BH+ + OH- (-)
  • CAnalytical concentration of the base (mol/L)
  • xEquilibrium [OH-], equal to [BH+] when water is negligible (mol/L)
  • KwIon product of water, 1.0e-14 at 25 °C (mol²/L²)

This calculator solves the full charge balance [OH-] = Kb·C/(Kb + [OH-]) + Kw/[OH-], which reduces to the quadratic whenever [OH-] is well above 1e-6 M.

Updated Category Acids, Bases, Buffers & Titration Verified against published test cases Reading time 10 min

What a weak base does in water

A weak base does not supply hydroxide directly the way NaOH does. It takes a proton away from water, and the hydroxide left behind is what makes the solution basic:

B + H2O ⇌ BH+ + OH

The extent of that reaction is the base ionisation constant Kb = [BH+][OH]/[B]. Water does not appear in the expression because it is the solvent and its concentration is effectively constant. Ammonia at 0.10 mol/L has Kb = 1.8×10−5, which converts only about 1.3% of the ammonia into ammonium and gives pH 11.12 — strongly basic, but nowhere near the pH 13 that 0.10 M NaOH produces.

The calculation runs through pOH first, then converts. That is not an arbitrary detour: the equilibrium produces hydroxide, so hydroxide is what the algebra gives you. You convert at the end using pH = 14.00 − pOH, which holds at 25 °C because Kw = 1.0×10−14. If your problem gives you the Ka of the conjugate acid instead — tables of amines often do — convert with Kb = Kw/Ka before you start, or select that entry mode above and let the calculator do it.

Building the equilibrium expression

Set up the ICE table exactly as you would for an acid. You begin with C mol/L of B and negligible BH+ and OH. Let x be the amount that reacts. At equilibrium: [B] = Cx, [BH+] = x, [OH] = x. Substituting,

Kb=x2Cx

which is the quadratic x2 + KbxKbC = 0. The familiar shortcut sets CxC and gives x ≈ √(KbC). Because the real denominator is smaller than C, that shortcut always returns a hydroxide concentration that is too high, and therefore a pH that is too high. The 5% rule tells you when the error is tolerable: if x/C comes out below 0.05, the shortcut is within roughly 2.5% of the true root.

This calculator does not stop at the quadratic. It solves the charge balance [OH] = [BH+] + [H+], substituting [BH+] = KbC/(Kb + [OH]) and [H+] = Kw/[OH]. Below about 10−6 M hydroxide, water's own contribution stops being negligible and the quadratic drifts off; above that concentration the two agree to more decimal places than any measurement can resolve.

One relationship is worth memorising because it saves constant table lookups: KaKb = Kw for a conjugate pair, so pKa + pKb = 14.00. The stronger a base, the weaker its conjugate acid, and by exactly the reciprocal amount. Use the weak acid pH calculator for the other half of the pair.

Worked example: 0.10 M ammonia, Kb = 1.8e-5

Ammonia in water at 25 °C, Kb = 1.8×10−5.

  1. Write the quadratic. x2 = Kb(Cx), so x2 + 1.8×10−5x − 1.8×10−6 = 0.
  2. Discriminant. Kb2 = 3.24×10−10; 4KbC = 7.2×10−6; sum 7.200324×10−6.
  3. Root. √(7.200324×10−6) = 2.68334×10−3; x = (2.68334×10−3 − 1.8×10−5)/2 = 1.3327×10−3 M OH.
  4. pOH. −log10(1.3327×10−3) = 2.875.
  5. pH. 14.00 − 2.875 = 11.125.
  6. Percent ionization. 1.3327×10−3/0.10 × 100 = 1.33%, well inside the 5% rule.
  7. Check [H+]. Kw/[OH] = 1.0×10−14 ÷ 1.3327×10−3 = 7.50×10−12 M, and −log of that is 11.125. The two routes agree.

Notice the symmetry with acetic acid, which has the same numerical K value: acetic acid at 0.10 M gives pH 2.875 and ammonia gives pH 11.125, and 2.875 + 11.125 = 14.00. That is not a coincidence — it follows from KaKb = Kw when the two constants happen to be equal.

Now a case that breaks the shortcut: 0.15 M methylamine, Kb = 4.4×10−4. The exact root is 7.907×10−3 M, giving pOH 2.102 and pH 11.898, with 5.27% ionization. The shortcut √(4.4×10−4 × 0.15) = 8.124×10−3 is 2.7% high, and the 5% rule flagged it before you did the work.

Reading the result

Start with pOH, because that is what the chemistry produces. A pOH below 3 means a genuinely basic solution; a pOH near 7 means the base is either very weak or very dilute and has barely moved the water. Then read percent ionization as your confidence check on the method: under 5% and every textbook route agrees; over 5% and any answer built on √(KbC) is visibly wrong.

Compare the pH against what a strong base of the same concentration would give. 0.10 M NaOH is pH 13.00; 0.10 M ammonia is pH 11.12. That gap of nearly two units is the whole practical difference between a strong and a weak base, and it is why ammonia is used as a cleaning agent and household bleach solutions are not interchangeable with lye.

Watch the concentration dependence too. The approximation pOH ≈ ½(pKb − log10C) holds whenever CKb, so a ten-fold dilution moves the pOH by about 0.5 units, not 1.0. The dilution table this calculator builds shows the effect directly for the base you entered.

If you have both the base and its conjugate acid in solution — ammonia plus ammonium chloride, for instance — this is not the right calculation. The pH is then fixed by the ratio of the two, and you want the Henderson-Hasselbalch buffer calculator. For a fully dissociated base such as NaOH or Ba(OH)2, use the pH and pOH calculator.

Kb, pKb and pH for common weak bases at 25 degC

Tabulated base constants, with the pH and ionization this page computes for a 0.10 M solution of each.
BaseKbpKbpKa of conjugatepH of 0.10 MIonized
Dimethylamine5.4×10−43.2710.7311.857.08%
Methylamine4.4×10−43.3610.6411.816.42%
Trimethylamine6.3×10−54.209.8011.392.48%
Ammonia1.8×10−54.749.2611.121.33%
Hydrazine1.7×10−65.778.2310.610.411%
Pyridine1.7×10−98.775.239.120.0130%
Acetate ion5.6×10−109.254.758.870.00748%
Aniline4.3×10−109.374.638.820.00656%

Kb values are representative tabulated constants at 25 °C; sources differ in the second significant figure. The pH and ionization columns are computed from the Kb in the same row for C = 0.10 M.

Assumptions and common errors

  • Reporting pOH as pH. The equilibrium gives hydroxide, so the raw answer is pOH. Forgetting the final 14.00 − pOH step turns a basic solution into an acidic one.
  • Confusing Kb with the conjugate Ka. They are reciprocally related through Kw, not equal. Ammonia's Kb is 1.8×10−5; the ammonium ion's Ka is 5.6×10−10. Select the matching entry mode above.
  • Using the shortcut past 5% ionization. For methylamine at 0.15 M it inflates [OH] by 2.7%; for stronger amines the error grows quickly.
  • Single equilibrium only. This treatment assumes nothing else in solution reacts. Adding the conjugate acid, a second base, or a salt of a different weak acid invalidates it.
  • Concentration in place of activity. Above roughly 0.1 M the two diverge and the calculated pH becomes an estimate.
  • Polyfunctional bases treated as monofunctional. Carbonate, phosphate and ethylenediamine have two or more protonation steps; entering only the first Kb underestimates the pH.
  • Assuming 25 °C. Amine ionisation is noticeably temperature-dependent, which is why buffer bottles carry a temperature coefficient. Enter a constant measured at your working temperature if precision matters.

Where this fits with the other acid-base tools

Four calculations cover almost all routine acid-base work, and they hand off to one another in a predictable order.

Strong electrolytes need no equilibrium at all — the concentration gives the ion directly. A single weak species, acid or base, needs the quadratic on this page. A conjugate pair together needs Henderson-Hasselbalch. A reaction in progress needs a titration treatment, because the composition changes with every millilitre added.

That last case is where weak bases most often show up in practice. Titrating a weak base with a strong acid gives an equivalence point below pH 7, because what remains at equivalence is the conjugate acid BH+, which hydrolyses. The acid-base titration calculator handles the stoichiometry and the curve. If you need the underlying constant expressed in the general form, the equilibrium constant calculator covers K for any reaction, and the molarity calculator is where you should start if the concentration itself is still to be worked out.

Frequently asked questions

How do I calculate the pH of a weak base?

Solve Kb = x2/(Cx) for x = [OH], take pOH = −log10x, then pH = 14.00 − pOH at 25 °C. The positive root is x = (−Kb + √(Kb2 + 4KbC))/2. Skipping straight to pH without going through pOH is the single most common error in this calculation.

What is the pH of 0.1 M ammonia?

11.12 at 25 °C from the exact root, using Kb = 1.8×10−5. The equilibrium hydroxide concentration is 1.3327×10−3 M and only 1.33% of the ammonia is protonated. Textbooks that use the √(KbC) shortcut report 11.13, because that shortcut gives 1.3416×10−3 M. For comparison, 0.10 M sodium hydroxide is pH 13.00 — nearly two pH units higher, meaning almost a hundred times more hydroxide from the same molar amount of base.

How do I convert Ka to Kb?

Divide the ion product of water by the acid constant: Kb = Kw/Ka = 1.0×10−14/Ka at 25 °C. In logarithmic form it is simply pKb = 14.00 − pKa. This applies only to a genuine conjugate pair — the acid must be the protonated form of the same base. Select the conjugate-acid entry mode above and the conversion happens automatically.

Why is the pH of a weak base solution not 14 minus the acid answer?

It is, but only when the base's Kb and the acid's Ka are numerically equal and both are at the same concentration. Ammonia and acetic acid happen to satisfy that at K = 1.8×10−5, which is why 0.10 M solutions give pH 11.125 and 2.875. For any other pairing the symmetry disappears, because a conjugate pair has KaKb = 10−14, not Ka = Kb.

What counts as a strong base rather than a weak one?

A base that is essentially fully ionised in water: the hydroxides of the alkali metals and the heavier alkaline earths, plus species such as the amide and hydride ions that react with water completely. Everything else — ammonia, all amines, and the anions of weak acids — is weak and needs a Kb. As a rough boundary, a Kb above about 1 puts the species beyond the reach of this treatment.

Is a solution of sodium acetate basic?

Yes. The acetate ion is the conjugate base of a weak acid, so it accepts protons from water with Kb = Kw/Ka = 1.0×10−14/1.8×10−5 = 5.6×10−10. A 0.10 M solution comes out at pH 8.87. Enter that Kb, or enter the acetic acid Ka in conjugate mode, and you get the same answer. The sodium ion is a spectator and plays no part.

Why does percent ionization go up when I dilute the base?

Le Chatelier's principle. Dilution reduces the concentration of every species, but the equilibrium constant is fixed, so the reaction shifts toward the side with more dissolved particles — the ionised side. The fraction converted therefore rises while the absolute hydroxide concentration falls, which is why the pH still moves toward neutral. The dilution table on this page shows both trends together.

Can I use this for carbonate or phosphate?

Only for the first protonation step, and with caution. Carbonate accepts one proton with Kb1 = Kw/Ka2 of carbonic acid, and a second far more weakly. Entering just Kb1 gives a good approximation because the second step is orders of magnitude weaker, but it is a lower bound on the pH. Amphiprotic species such as bicarbonate need a different treatment entirely, since they act as both acid and base.

How precise is the answer?

The arithmetic is exact to far more digits than the inputs justify. The real limit is the tabulated Kb: published values for the same base often differ by 10 to 20%, which is roughly 0.04 to 0.08 in pKb and about half that in pH. Report two decimal places in pH at most, and treat any third decimal as noise unless you measured the constant yourself under your own conditions.

References

  • IUPAC Compendium of Chemical Terminology (the Gold Book), base ionisation constantInternational Union of Pure and Applied Chemistry
  • CRC Handbook of Chemistry and Physics, dissociation constants of organic bases — CRC Press / Taylor & Francis
  • Quantitative Chemical Analysis, 10th ed. (Daniel C. Harris) — W. H. Freeman / Macmillan Learning
  • Chemistry: The Central Science (Brown, LeMay, Bursten) — Pearson