Chemistry · Acids, Bases and pH
Weak base calculator icon showing ammonia accepting a proton from water

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.

The weak base calculator works at 25 °C (Kw = 1.0 × 10⁻¹⁴, pKa + pKb = 14.00). Concentrations are in mol/L by default. For NaOH, KOH or Ca(OH)₂ use the pH calculator, because those bases are strong.

Weak base calculator: pH, pOH and percent protonation

Choose how you will give the base strength, then enter the initial concentration of the base.
For a salt such as sodium acetate, enter the salt concentration.
Scientific notation is fine: 1.8e-5 means 1.8 × 10⁻⁵.
Kb at 25 °C.

Kb calculator from Ka (Ka · Kb = Kw)

Convert between Ka of a conjugate acid, Kb of its base, pKa and pKb at 25 °C.

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:

Kb = [BH⁺]·[OH⁻] / [B] · pKb = −log Kb · Ka·Kb = Kw = 1.0 × 10⁻¹⁴ (25 °C) · pKa + pKb = 14.00

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.

BaseFormulaKbpKbpKa of conjugate acid
Dimethylamine(CH₃)₂NH5.4 × 10⁻⁴3.2710.73
MethylamineCH₃NH₂4.6 × 10⁻⁴3.3410.66
EthylamineC₂H₅NH₂4.5 × 10⁻⁴3.3510.65
Carbonate ionCO₃²⁻2.1 × 10⁻⁴3.6810.33
Trimethylamine(CH₃)₃N6.3 × 10⁻⁵4.209.80
AmmoniaNH₃1.8 × 10⁻⁵4.759.25
Cyanide ionCN⁻1.6 × 10⁻⁵4.799.21
HydrazineN₂H₄1.3 × 10⁻⁶5.98.1
Hypochlorite ionOCl⁻2.5 × 10⁻⁷6.607.40
HydroxylamineNH₂OH8.7 × 10⁻⁹8.065.94
PyridineC₅H₅N1.7 × 10⁻⁹8.775.23
Acetate ionCH₃COO⁻5.7 × 10⁻¹⁰9.244.76
AnilineC₆H₅NH₂4.0 × 10⁻¹⁰9.44.6
Fluoride ionF⁻1.6 × 10⁻¹¹10.803.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.

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.

Results are for study, homework and lab preparation; check important results against your own data, and follow your lab’s safety rules. Back to chemistry calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: