How to calculate salt activity

My work in membrane processes for desalination and blue energy often requires me to calculate the thermodynamic properties of salts. The tricky part of this is determining something called the activity of the salt.

As long as I know the salt concentration, I just need to find the activity coefficient to get the activity. There are several ways to get activity coefficients, but they all give you something called the mean ionic activity coefficient, which has to be combined with the salt concentration in just the right way in order to get a correct result. It’s easy to do with monovalent salts like sodium chloride (NaCl), but it gets tricky when you want to consider multivalent salts (like calcium chloride, CaCl2).

I’ve been unable to find a complete explanation of how to use activity coefficients that is general enough to include multivalent salts online , so I decided to write one. Much of the content below is adapted from Aquatic Chemistry by Werner Stumm and James Morgan, but I’ve extended their treatment to more thoroughly cover multivalent salts.

Chemical Potential

The thermodynamic quantity underlying almost all chemical calculations is the chemical potential, and calculating it is the reason determining the activity is so important. The chemical potential μ of any substance is given by

(1)μ=μo+RTlna

where μo is the chemical potential at some standard state, a is the activity or “effective concentration,” R is the gas constant, and T is the temperature. The activity is related to the actual concentration m by an activity coefficient γ:

(2)a=mγ

γ is an empirical correction factor that you can look up in a table or calculate with a model like pyEQL. It’s important to use a γ and a concentration based on the same scale. In these examples I’m going to use the molal (mol/kg) scale, and denote the concentrations with m. You could instead use the molar (mol/L) scale, in which case it’s conventional to use C for concentration.

Application to salts in water

I’m interested in the chemical potential of salts dissolved in water, and I’ll start with a monvalent salt like NaCl. Applying equation 1 gives

(3)μNaCl=μNaClo+RTlnaNaCl

and substituting equation 2 for aNaCl, we have

(4)μNaCl=μNaClo+RTlnmNaClγNaCl

Now, for reasons that are beyond the scope of this post, γNaCl is not the activity coefficient you can look up in tables. What we can look up is the mean ionic activity coefficient, which is related to the concentrations of individual ions. So, I need to relate the salt concentration mNaCl to the individual ion concentrations.

Most salts are strong electrolytes, meaning that they dissolve completely1 in water to form ions. In the case of NaCl, we can write this as

(5)NaCl=>Na++Cl

In other words, if I dissolve 1 mol of solid NaCl in some water, I don’t get 1 mol of dissolved NaCl molecules, I get 1 mole of Na+ and 1 mol of Cl.

So, how do we relate μNaCl to the chemical potentials of the ions? It turns out that the chemical potential of aqueous NaCl is equal to the sum of the chemical potentials of the ions into which it dissolves.

(6)μNaCl=μNa++μCl

which also implies that

(7)μNaClo=μNa+o+μClo

Using equations 1 - 7, and applying the rules of math with logarithms, we have

(8)μNaCl=μNa+o+μClo+RTlnaNa+aCl

(9)μNaCl=μNaClo+RTln(mNa+γNa+)(mClγCl)

which means that

(10)aNaCl=(mNa+γNa+)(mClγCl)

At this point I’ve equated the activity of dissolved NaCl with the concentrations and activity coefficints of the two individual ions. Unfortunately, those activity coefficients can’t be measured directly.

Working around single-ion activity coefficients

Since it’s not possible to measure γ for an individual ion; we can only measure the geometric mean activity of the two ions, which is defined (for NaCl ) as

(11)a±=aNaCl12=(mNa+mClγNa+γCl)12

Correspondingly, the mean ionic activity coefficient and mean ionic molality are defined as

(12)γ±=(γNa+γCl)12

and

(13)m±=(mNa+mCl)12

So, for a monovalent salt like NaCl, once I find the mean ionic activity coefficient, I can write the chemical potential of the salt as

(14)μNaCl=μNaClo+RTln(m±γ±)2

Notice that the salt concentration, mNaCl, the individual ion concentrations, mNa+ and mCl, and the mean ionic molality m± are all equal. This is the case only because NaCl is a monovalent salt and it makes it easy to be “sloppy” with concentrations and activity coefficients. To get a more precise understanding of how to handle all salts, we need to consider a more general case.

General case for multivalent salts

Now I’ll repeat the above steps for a generic salt, Aν+Bν, which dissolves into cation A with charge z+ and anion B with charge z:

(15)Aν+Bν=>ν+Az++νBz

Because the charge of the cation and the anion may not be equal, one mole of salt Aν+Bν will produce ν+ moles of cations and ν moles of anions. For example,

(16)MgCl2=>1Mg+2+2Cl

Just as with NaCl, the chemical potential of the salt is still the sum of the chemical potentials of individual ions, but this time we have to multiply the potential of each one by the respective number of moles. So, we have:

(17)μsalt=ν+μ++νμ

(18)μsalt=ν+(μ+o+RTlna+)+ν(μo+RTa)

(19)μsalto=ν+μ+o+νμo

so that

(20)μsalt=μsalto+RTln(a+)ν+(a)ν

(21)μsalt=μsalto+RTln(m+γ+)ν+(mγ)ν

The mean ionic activity coefficient and the mean ionic molality are therefore:

(22)γ±=(γ+ν+γν)1ν++ν

and

(23)m±=(m+ν+mν)1ν++ν

Just like before, if I can find a value for the mean molal activity coefficient, I can calculate the chemical potential of the salt using

(24)μsalt=μsalto+RTln(m±γ±)ν++ν

but because of the stoichiometry in this case, m± is not equal to msalt. If I add 1 mol of magnesium chloride (MgCl2) to water, it dissolves into 1 mol of Mg+2 and 2 mol of Cl. In other words,

(25)msalt=m+ν+=mν

Even though I can figure out the individual ion concentrations from Eq. 25, the salt concentration is the most straightforward way to express how much salt is in the water. So, it would be nice to be able to calculate the activity from the mean ionic activity coefficient and msalt.

Eq. 21 and 24 show that

(26)asalt=(m+γ+)ν+(mγ)ν=(m±γ±)ν++ν

If I use Eq. 25 to substitute m+ and m in terms of msalt, I get

(27)asalt=ν+ν+νν(msaltγ±)ν++ν

And this, at last, is the general formula for the activity of any salt as a function of the salt concentration and the mean molal activity coefficient. Some examples of this relationship can be found in Appendix 2.1 of Electrolyte Solutions by Robinson & Stokes (1968).



  1. This isn’t really true. In fact, even strong electrolytes like NaCl don’t completely dissociate. In other words, there is such a thing as an NaCl ion pair dissolved in water. See this presentation for some excellent work on the subject. ^