In general, aragonite is the more stable form of calcium carbonate at low temperatures and high pH, while calcite is more stable at high temperatures and low pH. However, the presence of certain ions, such as magnesium and sulfate, can also influence the mineral form that precipitates.
For example, the presence of magnesium ions can inhibit the precipitation of aragonite and promote the formation of calcite. This is why calcite is the more common mineral form in the shells of marine organisms that live in warm, tropical waters, where the concentration of magnesium ions is high.
In contrast, the presence of sulfate ions can promote the precipitation of aragonite. This is why aragonite is the more common mineral form in the shells of marine organisms that live in cold, polar waters, where the concentration of sulfate ions is high.
The formation of seashells is a dynamic process that is constantly being influenced by changes in the environmental conditions. As a result, the mineral form of the seashells can vary even within the same species, depending on the specific location where they live.