What Is pH?

The pH scale measures the concentration of hydrogen ions (H+) in a solution. It ranges from 0 to 14, with 7 being neutral. A pH below 7 indicates an excess of H+ (acidic), while a pH above 7 indicates an excess of hydroxide ions (OH) (alkaline). The scale is logarithmic, meaning each whole number change represents a tenfold change in acidity. For example, a solution with pH 3 is ten times more acidic than one with pH 4. This fundamental property of water drives countless chemical reactions, especially those involving the dissolution and precipitation of salts and minerals.

In natural waters, pH is controlled by the balance of carbon dioxide, carbonate species, and other dissolved compounds. Rainwater is slightly acidic (pH ~5.6) due to dissolved CO2, while many groundwater systems are near neutral or slightly alkaline. Industrial processes, acid rain, and biological activity can shift pH dramatically, affecting every aspect of water chemistry.

The Science of Solubility

Solubility describes the maximum amount of a substance that can dissolve in a solvent at a given temperature and pressure. For ionic compounds (salts) in water, dissolution is an equilibrium process represented by the solubility product constant (Ksp). For a generic salt AmBn that dissociates into m cations An+ and n anions Bm−, the equilibrium is:

AmBn(s) ⇌ mAn+(aq) + nBm−(aq)

The Ksp is the product of the ion concentrations raised to their stoichiometric coefficients. A low Ksp means the salt is sparingly soluble; a high Ksp means it dissolves readily. However, Ksp alone does not tell the whole story. The actual solubility in a real solution can be greatly affected by pH because hydrogen or hydroxide ions can react with the dissolved or solid species, shifting the equilibrium.

How pH Influences Solubility

The influence of pH on solubility arises from chemical reactions that consume or release H+ or OH ions. These reactions alter the speciation of the solute, effectively removing ions from the solution or creating new species that are more or less soluble. Several mechanisms are at play.

Protonation and Deprotonation

Many anions found in common salts are weak bases, meaning they can accept a proton (H+) to form a neutral or less charged species. For example, the carbonate ion (CO32−) can accept a proton to become bicarbonate (HCO3), or two protons to form carbonic acid (H2CO3). In acidic water, the concentration of H+ is high, driving these protonation reactions. This reduces the concentration of free CO32− in solution, which in turn causes solid CaCO3 (calcite) to dissolve to replenish the depleted anion. The net effect is that salts of weak acids become more soluble in acidic conditions.

Hydrolysis and Complexation

Metal ions can also react with water or hydroxide ions to form hydroxo complexes. For instance, Fe3+ undergoes hydrolysis to form Fe(OH)2+, Fe(OH)2+, and eventually Fe(OH)3(aq) or solid Fe(OH)3. The equilibrium between these species is pH-dependent. At low pH, Fe3+ is the dominant species and remains soluble; at high pH, Fe(OH)3 precipitates. Similarly, Al3+ forms Al(OH)2+ and Al(OH)2+ at intermediate pH, and precipitates as Al(OH)3 above pH ~4. These hydroxide precipitates often have low Ksp, so adding acid can redissolve them.

Common Ion Effect and pH

The common ion effect states that the solubility of a salt is decreased if one of its ions is already present in solution. pH can be thought of as providing a common ion—either H+ or OH. For salts that produce OH upon dissolution (like metal hydroxides), adding an acid (H+) consumes the OH, pulling the equilibrium toward dissolution. Conversely, adding a base (OH) increases the concentration of the common ion and suppresses dissolution. This is why magnesium hydroxide (Mg(OH)2) is much more soluble in acidic water than in neutral or basic water.

Specific Examples of pH-Dependent Solubility

Carbonates and Bicarbonates

Carbonate minerals like calcite (CaCO3) and dolomite (CaMg(CO3)2) are abundant in nature. Their solubility is highly pH-sensitive. In neutral or alkaline water, the equilibrium favors the solid. But as pH drops, H+ combines with CO32− to form HCO3, and further to H2CO3, which decomposes into CO2 and water. This removal of carbonate ion drives the dissolution of the mineral. This process is responsible for the formation of limestone caves, where slightly acidic groundwater dissolves calcite over millennia. In industrial settings, acidic water can rapidly corrode concrete and pipes that contain calcium carbonate.

Other carbonate salts, such as sodium carbonate (Na2CO3), are highly soluble in all pH ranges because the sodium ion does not form strong complexes. However, the carbonate ion itself can be protonated, so at low pH, sodium carbonate solutions release CO2 gas.

Hydroxides

Metal hydroxides exhibit a clear pH-solubility relationship. The general rule is that most metal hydroxides are more soluble in acidic water because H+ reacts with OH to form water, reducing the product [Mn+][OH]n below the Ksp. For example, iron(III) hydroxide (Fe(OH)3) has a Ksp of about 2.8×10−39, making it nearly insoluble at neutral pH. However, at pH below 3, Fe3+ remains in solution. This principle is used to remove iron from drinking water: the pH is raised to precipitate Fe(OH)3, which is then filtered out.

Magnesium hydroxide is another common example. In basic water (pH > 10), it readily precipitates. In acidic water, it dissolves to give Mg2+ ions. This is why "milk of magnesia" (a suspension of Mg(OH)2) is effective as an antacid: it neutralizes stomach acid by dissolving and releasing OH.

Phosphates

Phosphate salts are critical in agriculture and biology. The phosphate ion (PO43−) is a triprotic base, meaning it can accept up to three protons to form HPO42−, H2PO4, and H3PO4. Each of these species has different solubility properties with metal cations. For instance, calcium phosphate (Ca3(PO4)2) is sparingly soluble at neutral pH, but in acidic soils, the phosphate is protonated to H2PO4, which forms more soluble calcium salts. This phenomenon is crucial in soil chemistry: the availability of phosphorus (an essential plant nutrient) is highest in slightly acidic soils (pH 6.0–6.5). At higher pH, phosphorus tends to precipitate as insoluble calcium or magnesium phosphates.

Similarly, many heavy metal phosphates are extremely insoluble and can be used for remediation. Adjusting pH to precipitate phosphate minerals is a common method to remove phosphate from wastewater to prevent eutrophication.

Sulfides

Sulfide (S2−) is a strong base that reacts with water to form HS and H2S. In acidic conditions, H2S gas escapes, effectively removing sulfide from solution and driving the dissolution of sulfide minerals. For example, cadmium sulfide (CdS) is used in pigments and semiconductors. It is nearly insoluble in neutral water but dissolves readily in strong acids because H2S is produced. This behavior is exploited in analytical chemistry to separate metal sulfide precipitates by controlling pH.

Practical Applications

Water Treatment

Municipal and industrial water treatment facilities rely heavily on pH adjustment to control solubility. Hard water contains Ca2+ and Mg2+ ions, which can form scale (CaCO3, Mg(OH)2) in pipes and boilers. By lowering pH, scale can be dissolved. Alternatively, raising pH can cause these ions to precipitate as a sludge that is removed by sedimentation. In drinking water treatment, the pH is carefully optimized to minimize corrosion of distribution pipes while preventing heavy metals like lead and copper from dissolving. The US Environmental Protection Agency (EPA) provides guidelines on pH control for corrosion prevention (Lead and Copper Rule).

Acid mine drainage (AMD) is a serious environmental problem where pyrite (FeS2) oxidizes to produce sulfuric acid, lowering the pH of nearby water to 2 or 3. At such low pH, heavy metals (iron, copper, zinc, cadmium) become soluble and can contaminate streams. Treatment often involves adding lime (CaO) to raise pH, causing these metals to precipitate as hydroxides or carbonates that can be removed.

Soil Chemistry and Agriculture

Soil pH is a master variable controlling nutrient availability. Most crop plants prefer a pH between 6.0 and 7.0. At low pH, elements like aluminum and manganese become soluble and can reach toxic levels. At high pH, micronutrients such as iron, zinc, and copper become insoluble and unavailable. Farmers routinely apply lime (calcium carbonate or calcium hydroxide) to raise soil pH, or sulfur to lower it, in order to optimize plant growth. Understanding the pH-solubility relationship is essential for fertilizer management. For instance, phosphate fertilizers are most effective when soil pH is slightly acidic; otherwise, they may be immobilized as insoluble phosphates.

Organic matter and microbial activity also influence pH through the production of organic acids and CO2. The interplay between pH, solubility, and biological processes is a key area of study in soil science.

Industrial and Environmental Management

In industrial cooling towers, boiler systems, and desalination plants, the formation of mineral scale (CaCO3, CaSO4, Mg(OH)2) reduces efficiency and damages equipment. Operators control pH and add chemicals to prevent scaling. For example, in reverse osmosis membranes, adjusting feed water pH to 5–6 can keep calcium carbonate dissolved and prevent fouling. Similarly, in oil and gas production, the solubility of barite (BaSO4) and other scale-forming minerals is managed by pH and pressure control.

Ocean acidification—the ongoing decrease in seawater pH due to absorption of atmospheric CO2—is a global-scale example of pH affecting mineral solubility. Seawater pH has dropped by about 0.1 units since the industrial revolution. This acidification reduces the availability of carbonate ions, making it more difficult for marine organisms such as corals, mollusks, and some plankton to build their calcium carbonate shells and skeletons. Studies by the National Oceanic and Atmospheric Administration (NOAA) highlight the serious ecological and economic consequences.

Conclusion

The solubility of salts and minerals in water is not a fixed property; it is profoundly influenced by pH. By shifting the equilibrium through protonation, hydrolysis, and common-ion effects, even small changes in pH can transform a saturated solution into an unsaturated one—or trigger massive precipitation. This understanding is not just academic: it underpins water treatment, agriculture, industrial processes, and environmental protection. From preventing scale in a home water heater to restoring an acidified lake, the same principles apply. As global challenges like water scarcity and climate change intensify, the ability to predict and manipulate pH-dependent solubility will remain an essential tool for scientists and engineers.