Weak base calculator
This weak base calculator finds the pH, pOH, [OH⁻] and percent protonation of a weak base such as ammonia, an amine or a basic anion, from its concentration and Kb, pKb or the Ka of its conjugate acid. It solves the equilibrium exactly, shows the x ≪ C shortcut with its 5 % check, and can work backwards from a measured pH to Kb.
Weak base calculator: pH, pOH and percent protonation
Kb calculator from Ka (Ka · Kb = Kw)
How to use the weak base calculator
In the first panel choose how you know the strength of the base: Kb, pKb, the Ka of its conjugate acid (common when a table lists only acids, for example NH₄⁺ for ammonia), or a base from the built-in list. Enter the initial concentration and the weak base calculator returns pH, pOH, [OH⁻], the fraction of base that has been protonated and the equilibrium concentrations of B and BH⁺, plus the x ≪ C shortcut with its 5 % test. The last mode turns a measured pH into Kb and pKb. The second panel converts Ka, Kb, pKa and pKb of a conjugate acid-base pair.
Weak bases and the constant Kb
A weak base takes a proton from water only partly: B + H₂O ⇌ BH⁺ + OH⁻. Ammonia and the amines (methylamine, pyridine, aniline) are neutral weak bases; the anions of weak acids (acetate, fluoride, cyanide, carbonate) are anionic weak bases, which is why solutions of sodium acetate or sodium carbonate are basic. The base dissociation constant measures how far the equilibrium lies to the right:
The relation Ka·Kb = Kw links every base to its conjugate acid, which is why the weak base calculator also accepts Ka. NH₄⁺ has Ka = 5.6 × 10⁻¹⁰, so NH₃ has Kb = 1.0 × 10⁻¹⁴ / 5.6 × 10⁻¹⁰ = 1.8 × 10⁻⁵. In the other direction, the nitrite ion with Kb = 2.17 × 10⁻¹¹ belongs to nitrous acid with Ka = 4.6 × 10⁻⁴, the answer to Example 14.8 in OpenStax Chemistry 2e, section 14.3 and the default of the second panel of this weak base calculator.
Solving for [OH⁻]: shortcut, quadratic and exact
With x = [OH⁻] = [BH⁺], the ICE table gives Kb = x²/(C − x), or x² + Kb·x − Kb·C = 0. The positive root is x = (−Kb + √(Kb² + 4·Kb·C))/2. If x is less than 5 % of C, the shortcut x ≈ √(Kb·C) is accurate enough. Then pOH = −log x and pH = 14.00 − pOH. The weak base calculator reports the shortcut, the quadratic and an exact solution of the charge balance [OH⁻] = [BH⁺] + Kw/[OH⁻], which also covers very dilute or very weak bases where water itself supplies a noticeable share of OH⁻ (for example 10⁻⁵ M aniline, whose pH is only 7.07).
Weak base calculator worked example: pH of 0.10 M ammonia
The weak base calculator opens with C = 0.10 M NH₃ and Kb = 1.8 × 10⁻⁵. Shortcut: x = √(1.8 × 10⁻⁵ × 0.10) = 1.34 × 10⁻³ M, which is 1.3 % of C, so the 5 % test passes. Quadratic: x = 1.33 × 10⁻³ M. Then pOH = −log(1.33 × 10⁻³) = 2.875 and pH = 14.00 − 2.875 = 11.125, usually quoted as 11.13. Only 1.3 % of the ammonia is protonated; the rest is dissolved NH₃. The inverse mode starts from the measured pH of 11.12 for the same solution: pOH = 2.88, [OH⁻] = 1.32 × 10⁻³ M and Kb = 1.76 × 10⁻⁵, pKb = 4.75.
A salt as the base. For 0.10 M sodium acetate, choose “Acetate ion” (Kb = 5.7 × 10⁻¹⁰) or enter Ka = 1.75 × 10⁻⁵ of acetic acid in the “Ka of the conjugate acid” mode: [OH⁻] = √(5.7 × 10⁻¹⁰ × 0.10) = 7.6 × 10⁻⁶ M, pOH 5.12, pH 8.88. This is the same calculation as the pH at the equivalence point of an acetic acid titration, which the Titration Calculator does with the diluted volume.
Kb and pKb of common weak bases at 25 °C
Neutral bases from LibreTexts Table E2, Base Dissociation Constants at 25 °C (CRC Handbook data); anion values are Kw divided by Ka of the conjugate acid from Table E1.
| Base | Formula | Kb | pKb | pKa of conjugate acid |
|---|---|---|---|---|
| Dimethylamine | (CH₃)₂NH | 5.4 × 10⁻⁴ | 3.27 | 10.73 |
| Methylamine | CH₃NH₂ | 4.6 × 10⁻⁴ | 3.34 | 10.66 |
| Ethylamine | C₂H₅NH₂ | 4.5 × 10⁻⁴ | 3.35 | 10.65 |
| Carbonate ion | CO₃²⁻ | 2.1 × 10⁻⁴ | 3.68 | 10.33 |
| Trimethylamine | (CH₃)₃N | 6.3 × 10⁻⁵ | 4.20 | 9.80 |
| Ammonia | NH₃ | 1.8 × 10⁻⁵ | 4.75 | 9.25 |
| Cyanide ion | CN⁻ | 1.6 × 10⁻⁵ | 4.79 | 9.21 |
| Hydrazine | N₂H₄ | 1.3 × 10⁻⁶ | 5.9 | 8.1 |
| Hypochlorite ion | OCl⁻ | 2.5 × 10⁻⁷ | 6.60 | 7.40 |
| Hydroxylamine | NH₂OH | 8.7 × 10⁻⁹ | 8.06 | 5.94 |
| Pyridine | C₅H₅N | 1.7 × 10⁻⁹ | 8.77 | 5.23 |
| Acetate ion | CH₃COO⁻ | 5.7 × 10⁻¹⁰ | 9.24 | 4.76 |
| Aniline | C₆H₅NH₂ | 4.0 × 10⁻¹⁰ | 9.4 | 4.6 |
| Fluoride ion | F⁻ | 1.6 × 10⁻¹¹ | 10.80 | 3.20 |
Alkyl groups push electron density onto nitrogen, so methylamine and dimethylamine are about 25 times stronger bases than ammonia. In aniline the lone pair is delocalised into the aromatic ring, and in pyridine it sits in a tightly held sp² orbital, which makes both much weaker. Strong bases such as NaOH and KOH do not appear here: they are fully dissociated and belong in the pH Calculator.
Where a weak base calculator is useful
Cleaning products. Household ammonia (about 1 M NH₃) has pH near 11.6. Salts and hydrolysis. Na₂CO₃, NaCN, NaOCl and sodium acetate solutions are basic because their anions are weak bases. Titration equivalence points. When a weak acid is neutralized by NaOH, the solution at equivalence is a weak base solution. Pharmaceuticals. Most drugs are amines; their pKa (of the protonated form) decides how much is ionized in the body. Buffers. NH₃/NH₄Cl and Tris buffers combine a weak base with its conjugate acid, which the Buffer Calculator (Henderson-Hasselbalch) handles.
Common mistakes the weak base calculator helps you avoid
Reporting pOH as pH. The equilibrium gives [OH⁻]; you must subtract pOH from 14.00. Using Ka where Kb is needed. A table value of 5.6 × 10⁻¹⁰ for “ammonia” is the Ka of NH₄⁺; the weak base calculator mode “Ka of the conjugate acid” converts it for you. Treating NaOH like ammonia. Strong bases need no Kb. Skipping the 5 % check. Strong amines at low concentration fail it; 0.0010 M methylamine is about 49 % protonated. Rounding Kw. At temperatures other than 25 °C, pKa + pKb is not 14.00.
Related calculators
This weak base calculator covers bases only. Weak acids are handled by the Weak Acid Calculator; mixtures of a base with its conjugate acid by the buffer calculator. For pH, pOH and strong bases use the pH calculator, and for the general equilibrium method see the ICE Table Calculator.
- Weak Acid Calculator
- pH Calculator
- Buffer Calculator (Henderson-Hasselbalch)
- Titration Calculator
- ICE Table Calculator
- All chemistry calculators
Frequently asked questions
How do you find the pH of a weak base?
Solve Kb = x²/(C − x) for x = [OH⁻] (or use x ≈ √(Kb·C) if x is under 5 % of C), take pOH = −log x, then pH = 14.00 − pOH at 25 °C. The weak base calculator does all three steps and shows them.
How do I get Kb from Ka?
Divide Kw by Ka of the conjugate acid: Kb = 1.0 × 10⁻¹⁴ / Ka. For NH₄⁺ (Ka = 5.6 × 10⁻¹⁰), Kb of NH₃ = 1.8 × 10⁻⁵. Equivalently, pKb = 14.00 − pKa.
What is the pH of 0.1 M ammonia?
About 11.13 at 25 °C, using Kb = 1.8 × 10⁻⁵. [OH⁻] = 1.33 × 10⁻³ M and only 1.3 % of the NH₃ is protonated.
Why is a sodium acetate solution basic?
The acetate ion is the conjugate base of acetic acid and takes protons from water with Kb = Kw/Ka = 5.7 × 10⁻¹⁰, releasing OH⁻. A 0.10 M solution has pH 8.88.
Is this weak base calculator free?
Yes. The weak base calculator runs in your browser, needs no sign-up and does not store the values you enter.