The Henderson-Hasselbalch equation allows us to (1) calculate pKa, given pH and the molar ratio of proton donor and acceptor; (2) calculate pH, given pKa and the molar ratio of proton donor and acceptor; and (3) calculate the molar ratio of proton donor and acceptor, given pH and pKa.