Calculation of pH of any salt solution
pH of all salts solutions is determined by the hydrolysis and - in the case of acidic or basic salts - by the dissociation. In case of salts of strong acids and strong bases effects of the hydrolysis are often negligible, but - as it was pointed out earlier - some of the strong acids and bases are weaker than it is commonly believed.
Let's solve the problem for simple salt using general approach.
We have two substances - HA and BOH - and two dissociation constants:
water dissociation constant:
and three balances:
In the case of salt solution Ca=Cb, but we have a good reason to treat these values separately. Once the general equation will be derived we can always simplify it using only one concentration, but general equation will describe not only pH of the salt solution, but also of any mixture of weak acid and weak base, regardless of their ratio.
In deriving the equation we could use the same approach we tested for polyprotic acid, but we will try shorter way that was not applicable then. We will use dissociation constants and mass balances to find out concentrations of A- and B+ ions to put them into charge balance equation. From acid mass balance:
Inserted into 11.1
Solved for [A-]:
and ready to be put into charge balance.
Now do the same to the base, using Kb and Kw definition:
solving for [B+] yields
and finally, combining 11.9 with 11.12 and charge balance we get
which is a fourth degree equation for [H+] in any mixture of weak acid and weak base.
Using for calculations
we get very similar, strikingly symmetrical result:
It is worth of noting here that the equation used for pH calculation in BATE pH calculator is just a full polyprotic version of the 11.13 (note that generalized equation 11.16 uses not stepwise, but overall dissociation constants Kai and Kbi):