Figure 2. pH derivation from H+

In medicine it is the convention to refer to acidity using pH instead of [H+], so the logarithm of both sides of the equation is taken.

Henderson Hasselbalch