How to calculate the pH of very weak acids and bases

Calculation for a Strong Acid

Let’s start with a classic school chemistry exercise to warm up:

If we have a 0.1 M solution of sulfuric acid, what is its pH?

Sulfuric acid (H2SO4) is a strong acid, meaning it dissociates completely in water. A concentration of 0.1 M means there are 0.1 moles of H2SO4 in 1 litre of solution.

Recall that the unit ‘M’ (“molar”) represents mol/L (“moles per litre”) and the litre (L) is sometimes also written as a ‘cubic decimetre’ (1 L=1 dm3), so it is also sometimes written as mol/dm3.

The dissociation of sulfuric acid in water can be represented as:

H2SO4(aq)2 H+(aq)+SO42(aq).

So, our 0.1 moles of H2SO4 will produce 0.2 moles of H+ ions in 1 litre of solution.

The concentration of H+ ions in the solution will be

0.2 mol1 L=0.2 M.

The pH of the solution, using its definition, is

pH=log10[H+]=log10(0.2)=0.70.

This is very acidic! It would turn universal indicator paper a deep red.

This calculation is straightforward. But what if we have a weak acid?

Calculation for a Weak Acid

Suppose instead we have a 0.1 M solution of acetic acid (CH3COOH). Acetic acid is a weak acid, meaning it does not dissociate completely in water. What will the pH of this solution be?

The dissociation of acetic acid in water can be represented as:

CH3COOH(aq)H+(aq)+CH3COO(aq).

The equilibrium constant for this reaction is called the acid dissociation constant, Ka, and is defined as:

Ka=[H+][CH3COO][CH3COOH].

For acetic acid, it has been experimentally determined that Ka=1.8×105 M at 25 °C.

In any aqueous solution where acetic acid is present, the above relationship between those three species always holds true at equilibrium - no matter what else it is mixed with.

The usual method to solve for the pH of a weak acid solution is to set up an ICE table (initial, change, equilibrium), as follows:

SpeciesInitial (M)Change (M)Equilibrium (M)
[CH3COOH]0.1-x0.1x
[H+]0+xx
[CH3COO]0+xx

Note that it doesn’t matter whether the units in our table are moles (amount) or molar (concentration), since the volume of the solution is constant. Here, we’ll use molarity, so we don’t need to worry about the volume.

Our solution starts with 0.1 M undissociated acetic acid, and no protons or acetate ions. During dissociation, x units of acetic acid react to form x units of protons and acetate ions in solution.

We now apply the equilibrium constant expression to the last column of the table:

Ka=[H+][CH3COO][CH3COOH]=x20.1x=1.8×105

With a little algebra, we can rearrange this into a quadratic equation:

x2+(1.8×105)x(1.8×106)=0

We can solve this equation using the quadratic formula to get solutions of

x=0.0013327 M  or  x=0.0013507 M.

Since x represents a concentration, it cannot be negative, so we take the positive solution of x=0.0013327 M.

Now that we know that [H+]=0.0013327 M, we can calculate the pH of the solution as usual:

pH=log10[H+]=log10(0.0013327)=2.88.

This is over 100 times less acidic than our sulfuric acid solution despite having equal concentrations, so the distinction between strong and weak acids is very clear!

Calculation for a VERY Weak Acid

This time, suppose we’re looking at organic molecules that we usually wouldn’t think of as acids - even though they can be. For example, benzyl alcohol (C6H5CH2OH) is a common organic compound that is used as a solvent and in the manufacture of other chemicals. It has a hydroxyl group (OH) that can donate a proton to water, making it a weak acid.

In comparison to phenol (pKa=10.0), which is already a weak acid, benzyl alcohol (pKa=15.4) is even weaker. This is due to the fact that the conjugate base of phenol (the phenoxide anion) is stabilised by resonance with the aromatic ring. Benzyl alcohol’s conjugate base (phenylmethoxide) has no such stabilisation, as it is one carbon away from the ring, so it is much less stable, favouring the undissociated form.

Let’s try to calculate the pH of a 0.1 M solution of benzyl alcohol. Intuitively, we should expect the answer to be very close to 7, since the acidity barely moves away from the pH of neutral water (7.0 at 25 °C).

First of all, let’s convert from pKa to Ka using the formula:

pKa=log10Ka    Ka=10pKa

Therefore, the value of Ka for benzyl alcohol is:

Ka=1015.4=3.9811×1016 M.

Now, we’ll attempt to use the same method as before, with an ICE table:

SpeciesInitial (M)Change (M)Equilibrium (M)
[C6H5CH2OH]0.1-x0.1x
[H+]0+xx
[C6H5CH2O]0+xx

Using the equilibrium constant expression on the last column, we get

Ka=[H+][C6H5CH2O][C6H5CH2OH]=x20.1x=3.9811×1016

Rearranging this into a quadratic equation gives us:

x2+(3.9811×1016)x(3.9811×1017)=0

Solving for x gives us:

x=6.3096×109 M  or  x=6.3096×109 M.

So, we take the solution of x=6.3096×109 M and compute the pH:

pH=log10[H+]=log10(6.3096×109)=8.20.

This is very strange! Why is the pH greater than 7, implying an alkaline solution?

This must be wrong. Let’s find out why and how to fix it.

The limitations of the ICE table method

When we set up our ICE table, we made the assumption that the initial value of [H+] was zero, i.e. no protons present in the solution prior to adding our compound.

But, we should know that pure water experiences its own equilibrium reaction called autoionisation:

H2O(l)H+(aq)+OH(aq).

The equilibrium constant for this reaction is called the ionic product, Kw, and is defined as:

Kw=[H+][OH]=1.0×1014 M2  at 25C.

This means that in pure water, there is a constant concentration of [H+]=107 M and [OH]=107 M at 25 °C. This is why pure water has a pH of 7. In most cases, these proton concentrations are tiny enough to be neglected and considered zero, like we did in our ICE table.

But in our ‘very weak acid’ example, the dissociation of benzyl alcohol is so weak that it becomes comparable to the autoionisation of water. In fact, the water becomes the dominant source of acidity in the solution.

The correct way for very weak acids

Rather than rely on the ICE table method, we’ll tackle this problem from first principles.

We can use the trick of setting the volume of the solution to 1 L, so that moles and molarity have the same numerical value, for convenience. So, we are adding 0.1 moles of benzyl alcohol to 1 L of water.

Once we add the benzyl alcohol, we will generate a solution containing four different ionic species:

  • [H+]: protons, from autoionisation of water and dissociation of alcohol
  • [OH]: hydroxide ions, from autoionisation of water
  • [C6H5CH2OH]: undissociated benzyl alcohol
  • [C6H5CH2O]: phenylmethoxide ions, from dissociation of alcohol

as well as the neutral water itself.

We have two different equilibrium reactions happening in the solution:

  1. The autoionisation of water:

H2O(l)H+(aq)+OH(aq)

  1. The dissociation of benzyl alcohol:

C6H5CH2OH(aq)H+(aq)+C6H5CH2O(aq).

We know equilibrium constants for both of these reactions, so we can write down two equations:

  1. Kw=[H+][OH]=1.0×1014 M2
  2. Ka=[H+][C6H5CH2O][C6H5CH2OH]=3.9811×1016 M

That’s two equations in four unknowns, so we can’t solve it just yet. We need to find two more constraints to help us out.

We know that the total amount of our organic compound can’t change, since it’s not present in the water originally. So, we can consider conservation of mass for our compound:

  1. [C6H5CH2OH]+[C6H5CH2O]=0.1 M

because we started with 0.1 moles of benzyl alcohol in 1 L of water.

Next, we know that the solution must be electrically neutral, since charges always balance out. So we can get a fourth equation from conservation of charge:

  1. [H+]=[C6H5CH2O]+[OH]

since the total positive charge present must be exactly balanced by the total negative charge present.

Now that we have four equations in four unknowns, we can solve them simultaneously to find our concentrations at equilibrium. If we do the algebra to eliminate all the variables other than [H+], we will end up with a cubic polynomial:

[H+]3+Ka[H+]2(Kw+Kac0)[H+]KaKw=0

where c0=0.1, Ka=3.9811×1016 and Kw=1.0×1014, with all units in molar.

Cubic equations are tough to solve algebraically. We can solve it numerically instead to get three possible roots:

[H+]=1.00199×107,  3.9652×1016,  1.00199×107

(all units in molar). As before, we take the positive solution of [H+]=1.00199×107 M.

Solving systems of nonlinear equations like that is a bit time consuming, and since we resorted to using a numerical solver, we could have just used one from the beginning. Using WolframAlpha to solve our system of four equations, and ignoring extraneous solutions, we find the appropriate solution to the system is:

[H+]=1.00199×107 M [OH]=9.98015×108 M [C6H5CH2OH]0.1 M [C6H5CH2O]=3.9732×1010 M

so the value of [H+] matches what we found, and we also get the other values for free as well.

Finally, we can calculate the pH of the solution:

pH=log10[H+]=log10(1.00199×107)=6.99914.

This is just barely below 7, which is exactly what we expected. The benzyl alcohol is such a weak acid that it has a negligible effect on the pH - but quantifying that effect precisely takes mathematical work!

Some technicalities

Aqueous protons

It’s worth noting that even though we’ve been writing [H+] to mean the species which contributes to pH, it is not the case that these are actual free protons (i.e. bare hydrogen nuclei) roaming around in solution. In reality, protons are always found bound to water molecules, called ‘hydronium’ (H3O+). Whenever we write [H+], we are really referring to [H3O+]: it’s simply quicker to write [H+] instead.

Using the ‘proper’ formula, the autoionisation of water would therefore be:

H2O(l)+H2O(l)H3O+(aq)+OH(aq)

as one water molecule transfers a proton to another through a hydrogen bond. At no point is the proton ‘free’ in the usual sense.

Activity vs concentration

Throughout, we’ve been using concentration equilibrium constants, Ka and Kw, which are defined in terms of molarity. This is usually the most convenient way to express them, but in some circumstances, we need to use the activity of the species instead of concentration.

Activity is simply a way to quantify the ’effective’ concentration of a species. For example, if some of the ions in solution get ‘stuck’ to the hydrophilic walls of the container, they are much less available for reaction, so we say that their activity is lower, dropping the overall effective concentration.

To calculate pH, we should really be using the activity of protons, aH+, instead of the concentration, as well as the dimensionless equilibrium constants, where we use activities instead of concentrations.

If all activity coefficients are equal to 1 (i.e. ideal behaviour, no species are ‘getting stuck’), then all we are doing is removing the units from our concentrations without changing the numerical value, so our answers are all the same. But for our very weak acid calculation, the concentrations involved are so tiny that the usually small nonidealities in activity could have a significant effect on the final answer, in the same way that neglecting the autoionisation of water did as shown above.

Temperature dependence of equilibria

Additionally, like all physical or chemical changes, there is some associated enthalpy change, meaning there will be some amount of heat released or absorbed during the process. For acid dissociations, this is usually an exothermic process, so heat is released, slightly warming the solution for some time. Since equilibrium constants are strongly temperature dependent, the ratios of the ion concentrations would change too, affecting the transient pH while the heat is dissipated. Due to the high heat capacity (’thermal inertia’) of water, this effect is likely to be small, and it would be would be compensated by a shift in the equilibria to lessen the exothermic dissociation reactions (by Le Chatelier’s principle), but it still may be worth considering for high precision work.

Another effect could be the thermal expansion (density reduction) of the solution on the slight heating, increasing the volume and diluting the concentrations, changing the equilibrium ratios again.

Volume of the solution

We have assumed that the volume of the water does not change when we add the benzyl alcohol. But at room temperature, pure benzyl alcohol (and acetic acid) are both liquids, so they occupy some finite volume too. But there is no guarantee that volume is conserved when we mix: for example, when we add sodium chloride (NaCl) to water, the volume actually decreases slightly, as the ions are highly solvated, bringing the water molecules closer together, increasing the density slightly. A similar phenomenon occurs when we mix a polar liquid (e.g. ethanol, acetic acid, or benzyl alcohol) with water: the total volume is less than the sum of the original isolated volumes. This is called having a negative ’excess volume’.

I wasn’t able to find literature values for the excess volume of benzyl alcohol in water (with the possible exception of this paper that I can’t access!). The total volume of the solution is likely to be close to the volume of the water alone, as the effect of adding the alcohol and contracting the volumes cancel out to some degree. But there would still be some leftover deviation. This contraction changes the volume and concentrations of the ions in solution, shifting equilibria slightly from what we calculated.

Dissolving vs dissociating

A common point of confusion is the difference between dissolution and dissociation. When something dissolves, it is being converted from a solid state to an aqueous state, meaning it gets separated and surrounded by water molecules (‘solvated’). This is a purely physical process: no ionisation necessarily occurs at this step! Dissociation, on the other hand, is the process where ionisation of the solvated species occurs. It is this process for which our equilibrium constants are defined. In all of the above calculation, we assumed that the benzyl alcohol dissolved completely in the water, meaning that no solid state was present at equilibrium. This essentially means that we assumed that benzyl alcohol is miscible in water, meaning it can be mixed in practically all proportions.

It is often said that magnesium hydroxide (Mg(OH)2) is a strong base yet is only sparingly soluble in water. This seems contradictory, but it is not: solid magnesium hydroxide first needs to be dissolved to get neutral aqueous complexes with formula [Mg(OH)2] (aq): only a tiny proportion of the solid actually does this, hence the term ‘sparingly soluble’. But once that little bit of [Mg(OH)2] (aq) has formed, all of that completely dissociates into their ions: Mg2+(aq)+2 OH(aq): there will be no [Mg(OH)2] (aq) left in solution. This is the criterion for a strong base. As long as we are below the solubility limit, everything dissolves and dissociates completely.

Solubility in organics can be inferred by the degree of hydrogen bonding between the solute and solvent, in comparison to solute-solute interactions. In our case of benzyl alcohol, the OH group serves as a hydrogen bond donor and acceptor, so we expect some degree of solubility, but the large phenyl ring is hydrophobic, hindering solvation. Additionally, since the phenyl ring is a conjugated π system, its delocalised molecular orbitals extend above and below the plane of the molecule, allowing for ππ interactions between benzyl alcohol molecules (called ‘ππ stacking’), stabilising the solid state, further limiting solubility. The actual solubility limit of benzyl alcohol in water is about 4% (i.e. 40 grams can dissolve in 1 L of water), which is fairly low: about 9 times smaller than for table salt (NaCl). Using the molecular mass of benzyl alcohol (C7H8O, Mr=108.1 g/mol), we find that our 0.1 M solution contains only 10.8 grams per litre, so it is within the solubility limit. So, on this occasion, precipitation is not a concern, and we can safely assume that complete dissolution followed by marginal dissociation is a good model for the system, as we presumed above.

Lorcan Nicholls
Lorcan Nicholls
Engineering Graduate

An engineering graduate from the University of Cambridge. Interested in bioengineering, mechanical engineering, sustainable energy and automation.