The Henderson-Hasselbalch equation is:
p H = p K a + l o g [ A − ] [ A H ] {\displaystyle pH=pKa+log{\frac {[A^{-}]}{[AH]}}}