The freedom of movement of ions in solution can be accounted for by Boltzmann statistics. The Boltzmann equation is used to calculate the local ion density such that c i = c i 0 ⋅ ⋅ e − − W i k B T , where