This can be calculated using the expression for Ka and the Ka value for weak acid used to make the buffer solution.
The dilution of the acid and base need to be taken into account before plugging the values into the Ka expression.
Example:
Kb = [NH4+][OH-] / [NH3]
Kb = [x][x] / [0.1]
[x] = square root of [1.77 x 10^-5] x [0.1]
[x] = [OH-] = 1.33 x 10^-3
pOH = -log[OH-]
pOH = -log [1.33 x 10^-3]
pOH = 2.876
pH = 14 - 2.876
pH = 11.12