Calculate the Kb given the pH and molarity

Return to the Acid Base menu

Return to a listing of many types of acid base problems and their solutions

Calculate Ka from pH and Molarity

This is a favorite problem for teachers to test! Here's the problem to be discussed:

Problem #1: Codeine (C18H21NO3) is a weak organic base. A 5.0 x 10¯3 M solution of codeine has a pH of 9.95. Calculate the value of Kb for this substance.

Comment: note that I will use B to symbolize the weak base. No one cares what the specific base is because the technique to be explained works for all weak bases. What happens is that some teachers will use the name of a specific weak base while others go the generic route.


1) Write the ionizaton equation for the base. Remember, we will use B to symbolize the base.

B + H2O ⇌ HB+ + OH¯

2) Write the equilibrium expression:

Kb = ( [HB+] [OH¯] ) / [B]

3) Our task now is to determine the three concentrations on the right-hand side of the equilibrium expression since the Kb is our unknown.

a) We will use the pH to calculate the [OH¯]. We know pH = -log [H+], therefore [H+] = 10¯pH

[H+] = 10¯9.95 = 1.122 x 10¯10 M

I've kept a couple guard digits; I'll round off the final answer to the proper number of significant figures.

Knowing the [H+] allows us to get the [OH¯]. To do this, we use Kw = [H+] [OH¯], so we have this:

1.00 x 10¯14 = (1.122 x 10¯10) (x)

x = [OH¯] = 8.9125 x 10¯5 M

(See note at bottom of this soluton for a different way to get the [OH¯].)

b) From the ionization equation, we know there is a 1:1 molar ratio between [HB+] and [OH¯]. Therefore:

[HB+] = 8.9125 x 10¯5 M

c) the final value, [B] is given in the problem. In the example being discussed, 5.0 x 10¯3 M is the value we want. Some teachers will use 5.0 x 10¯3 M, while others would say to first subtract the 8.9125 x 10¯5 value from 5.0 x 10¯3 M. Let's do both.
c1) Kb = [(8.9125 x 10¯5) (8.9125 x 10¯5)] / 5.0 x 10¯3

Kb = 1.59 x 10¯6

c2) Kb = [(8.9125 x 10¯5) (8.9125 x 10¯5)] / (5.0 x 10¯3 minus 8.9125 x 10¯5)

Kb = 1.62 x 10¯6

In reality, it makes very little difference if we use the unmodified concentration of the acid (the 5.0 x 10¯3 value) or if we do the subtration. In the above example, both values round off to 1.6 x 10¯6. In the end, you do what your teacher recommends. So, ask your teacher if you're not sure.

A different path to the [OH¯]:

pH = 9.95

pH + pOH = pKw = 14.00

pOH = 14.00 - 9.95 = 4.05

[OH¯] = 10¯pOH = 10¯4.05 = 8.9125 x 10¯5 M

In this example, I'll use a generic acid and made-up numbers that lead to the Kb for the base.

Before that, a comment: one reason teachers might tend to avoid real substances in this type of question is that you can just look up the answers on the Internet. Ka and Kb values for many weak acids and bases are widely available.

Problem #2:

A 0.0135 M solution of a weak base (generic formula = B) has a pH of 8.39. Calculate the Kb for this weak base.

To remind you, here is the ionization equation:

B + H2O ⇌ HB+ + OH¯


a) [H+] = 10¯pH = 10¯8.39 = 4.0738 x 10¯9 M

b) [OH¯] = Kw / [H+] = 1.00 x 10¯14 / 4.0738 x 10¯9

[OH¯] = 2.4547 x 10¯6 M

Remember, due to the 1:1 molar ratio that [HB+] = [OH¯]

c) I will use 0.0135 M for [B].

Kb = [(2.4547 x 10¯6) (2.4547 x 10¯6)] / 0.0135 = 4.46 x 10¯10

Problem #3: A student prepares a 0.15 M solution of a monoprotic weak acid and determines the pH to be 11.68. What is the Kb of this weak base? The answer. In the answer, I plan to follow a slightly different path to the hydroxide ion concentration.

Comment: if you don't know the formula of the weak base, that's OK. Simply use B as the formula. It does not matter what the anion portion is, it only matters that the base is weak.

Also, with regard to bases, keep in mind that the proper generic chemical equation to use is:

B + H2O ⇌ HB+ + OH¯

As a reminder, here is the proper generic equation for weak acids:

HA ⇌ H+ + A¯

Problem #4: A 0.15 mol/L solution of the ascorbate ion, HC6H6O6¯, has a pH of 8.65. Calculate the Kb for the ascorbate ion.


1) Ascorbate ion reacts as follows:

HC6H6O6¯ + H2O ⇌ H2C6H6O6 + OH¯

2) The Kb expression is:

Kb = ([H2C6H6O6] [OH¯]) / [HC6H6O6¯]

3) Substituting values and solving:

Kb = [(4.4668 x 10¯6) (4.4668 x 10¯6)] / 0.15

Kb = 1.33 x 10¯10

Comment: use the pH to calculate the [H+]. Then use Kw and the [H+] to calculate the hydoxide ion concentration.

Calculate Ka from pH and Molarity

Return to the Acid Base menu

Return to a listing of many types of acid base problems and their solutions