To calculate the pH of a solution of NH3, consider the dissociation of ammonia into NH4+ ions and OH- ions, as NH3 is a weak base.
The equilibrium expression for the reaction is:
NH3 (aq) + H2O (l) ⇌ NH4+ (aq) + OH− (aq).
Initially, the concentration of NH3 is 0.15 M and there is no NH4+ or OH- in the solution.
Define "x" as the change in the concentration of NH4+ and OH- at equilibrium. After the reaction reaches equilibrium, the concentrations will be:
NH3: (0.15−x) M
NH4+: x
OH−: x
The equilibrium expression is: Kw = [NH4+][OH−] / [NH3]
Kw = 1.0 × 10−14 at 298 K
NH3 is a weak base, so we can use Kw to find the concentration of OH- ions.
Therefore, 1.0 × 10−14 = [x] [x] / 0.15 − x
Approximate 0.15 - x as 0.15. This is okay when we are dealing with a weak base like NH3.
So: 1.0 × 10−14 = x2 / 0.15 and x2 = 1.0 × 10−14 × 0.15. That means x2 = 1.5 × 10−15 and x = 1.22 x 10-8. This is the concentration of OH- ions.
pOH = - log10(OH-) = - log10(1.22 x 10-8) ≈ 7.91
pH = 14 - pOH = 14 − 7.91 ≈ 6.09