# How does resonance affect basicity?

Resonance delocalizes electron density. As chemists, however, we should seek quantitative data. The $p {K}_{b}$ of ammonia, $N {H}_{3}$, is 4.7. The $p {K}_{b}$ of aniline (phenylamine), ${C}_{6} {H}_{5} N {H}_{2}$, is 9.42. Is this consistent with the statement above?