The cation-exchange capacity of a soil is determined by its constituent materials, which can vary greatly in their individual CEC values. CEC is therefore dependent on parent materials from which the soil developed, and the conditions under which it developed. These factors are also important for determining soil pH, which has a major influence on CEC.