What Is Water Hardness?

Educational illustration showing calcium and magnesium minerals in water droplets alongside soap, towels, and scale buildup representing the concept of water hardness.
Conceptual illustration showing calcium and magnesium minerals in water and their effects such as soap residue and mineral scale in household water systems.

Water hardness is a measure of the concentration of dissolved calcium and magnesium ions in water. These minerals enter water as it moves through soil and rock, and their presence can affect soap performance, mineral deposits, and the operation of household appliances.

In chemistry, water hardness helps explain how dissolved minerals interact with soaps and form solid deposits. Hard water is generally safe to drink, but it can leave spots on glassware, reduce soap lather, and produce scale inside water heaters and plumbing.

The amount of hardness varies with local geology and water treatment. Measuring it helps households and water utilities decide whether softening is useful and which treatment method is appropriate.

What Causes Water Hardness?

Water becomes hard when it dissolves calcium- and magnesium-containing minerals. This commonly occurs as groundwater passes through limestone, dolomite, and other mineral-rich geological formations.

Rainwater absorbs carbon dioxide from the atmosphere and soil, forming a weakly acidic solution that can dissolve certain carbonate minerals. For example, calcium carbonate can dissolve in the presence of water and carbon dioxide:

CaCO₃ + CO₂ + H₂O ⇌ Ca²⁺ + 2HCO₃⁻

This reaction releases calcium ions and bicarbonate ions into the water. Magnesium-containing minerals can contribute additional hardness, while sulfate and chloride salts may also supply dissolved calcium and magnesium.

The amount of mineral that remains dissolved depends partly on chemical equilibrium. Solubility Product Constants in Solutions explains how equilibrium relationships help describe the dissolution and precipitation of sparingly soluble compounds.

When dissolved ions combine to form an insoluble solid, a precipitation reaction occurs. Calcium carbonate scale is a familiar example of mineral precipitation from hard water.

Temporary and Permanent Water Hardness

Water hardness is traditionally divided into temporary and permanent hardness according to the dissolved mineral compounds involved and whether boiling can reduce the hardness.

Temporary Hardness

Temporary hardness is associated mainly with calcium and magnesium bicarbonates dissolved in water. Heating can promote the release of carbon dioxide and the precipitation of calcium carbonate, reducing part of the hardness.

This is one reason kettles develop whitish mineral deposits after repeated boiling. Temporary hardness is also commonly called carbonate hardness, although the terms have specific meanings in water analysis.

Permanent Hardness

Permanent hardness is associated with calcium and magnesium salts such as sulfates and chlorides. Ordinary boiling does not effectively remove this type of hardness.

Reducing permanent hardness generally requires treatment such as ion exchange, reverse osmosis, or chemical precipitation. Many natural water supplies contain contributions from both categories.

How Water Hardness Is Measured

Water hardness is commonly reported in milligrams per liter (mg/L) as calcium carbonate (CaCO₃). This is a standardized equivalent concentration, not necessarily the amount of solid calcium carbonate physically present in the water.

Other units include parts per million (ppm) as CaCO₃ and grains per U.S. gallon (gpg). For dilute water solutions, 1 mg/L is approximately equivalent to 1 ppm, while 1 gpg is approximately 17.1 mg/L as CaCO₃.

Water Hardness Classification

The U.S. Geological Survey commonly classifies water hardness using the following ranges:

Hardness Levelmg/L as CaCO₃
Soft0–60
Moderately hardGreater than 60–120
HardGreater than 120–180
Very hardGreater than 180

These categories describe mineral concentration rather than whether water is safe to drink. Hardness alone does not establish the presence or absence of harmful contaminants.

Worked Example: Understanding a Hardness Test Result

Suppose a household water test reports a total hardness of 171 mg/L as CaCO₃. How hard is the water, and what does that reading mean in grains per gallon?

  1. Identify the classification: A result of 171 mg/L falls within the hard-water category of greater than 120–180 mg/L.
  2. Convert the measurement: Divide 171 mg/L by approximately 17.1 mg/L per grain per gallon.
  3. Calculate the result: 171 ÷ 17.1 = approximately 10 gpg.

The water is classified as hard, with a hardness of approximately 10 grains per gallon. A homeowner could use this measurement when selecting or configuring a water softener, following the manufacturer’s instructions.

How Hard Water Affects Homes and Appliances

Hard water produces several recognizable effects, particularly where water is heated, evaporates, or comes into contact with soap.

Soap Scum and Reduced Lather

Calcium and magnesium ions react with traditional soap molecules to form poorly soluble compounds. These compounds can create soap scum and reduce the amount of soap available for cleaning.

Many modern synthetic detergents are formulated to work better in hard water, although performance still depends on the product and water conditions.

Mineral Scale in Plumbing

Scale forms when dissolved minerals precipitate onto surfaces. Calcium carbonate deposits commonly accumulate on faucets, showerheads, heating elements, and inside hot-water equipment.

In water heaters and boilers, accumulated scale can interfere with heat transfer and increase maintenance requirements. The severity depends on water chemistry, temperature, equipment design, and operating conditions.

Spots on Dishes and Laundry

When hard water evaporates from glassware, dissolved minerals may remain as visible spots or films. Laundry can also feel less soft if mineral deposits or detergent residues remain in the fabric.

Is Hard Water Safe to Drink?

Hard water is generally considered safe to drink when the water supply otherwise meets drinking-water safety standards. Calcium and magnesium are essential nutrients, and drinking water can contribute to their intake.

Water hardness is primarily an aesthetic and operational concern rather than a direct health hazard. However, hard water is not automatically free of bacteria, heavy metals, or other contaminants. Drinking-water safety must be evaluated separately.

Households using sodium-based water softeners should also recognize that ion exchange increases the sodium content of treated water. People following medically prescribed sodium restrictions may want to discuss their water treatment arrangements with a healthcare professional.

How Water Softeners Remove Hardness

Split educational illustration showing hard water with calcium and magnesium ions entering a water softener and softened water flowing from a household faucet.
Split illustration demonstrating the ion-exchange water softening process where hard water minerals are removed before water flows through household plumbing.

Several treatment methods can reduce calcium and magnesium concentrations. The appropriate choice depends on water hardness, treatment goals, cost, and the volume of water being processed.

Ion Exchange

Many household water softeners contain resin beads that exchange sodium or potassium ions for calcium and magnesium ions.

  1. Hard water enters a tank containing ion-exchange resin.
  2. Calcium and magnesium ions bind to exchange sites on the resin.
  3. Sodium or potassium ions are released into the water in exchange.
  4. The resin is periodically regenerated using a concentrated salt solution.

Ion exchange reduces hardness but does not necessarily remove other dissolved contaminants or disinfect the water.

Reverse Osmosis

Reverse osmosis uses pressure to move water through a selective membrane, reducing concentrations of many dissolved ions, including calcium and magnesium. It is often used for drinking-water treatment rather than whole-house softening because it produces a concentrated waste stream and requires suitable equipment.

Lime Softening

Lime softening adds calcium hydroxide to adjust water chemistry and encourage hardness minerals to precipitate. The resulting solids can then be separated from the treated water. This approach is used in some municipal and industrial treatment systems.

Hard Water vs. Soft Water

PropertyHard WaterSoft Water
Calcium and magnesiumHigher concentrationsLower concentrations
Traditional soapMore soap scum and reduced latherGenerally lathers more easily
Scale formationGreater potential for mineral depositsLower potential for hardness scale
Water treatmentMay benefit from softeningUsually needs no hardness treatment

Soft water is often preferred for cleaning and protecting appliances, while some people prefer the taste of mineral-rich water. Whether treatment is worthwhile depends on measured hardness and the problems experienced.

Frequently Asked Questions

Can boiling water remove hardness?

Boiling can reduce some temporary hardness by promoting calcium carbonate precipitation. It does not reliably remove permanent hardness caused by dissolved calcium and magnesium salts such as sulfates and chlorides.

Does a water filter remove hardness?

It depends on the filter. Ordinary sediment and activated-carbon filters generally do not substantially remove dissolved calcium and magnesium. Ion-exchange systems and suitable reverse-osmosis membranes can reduce hardness.

How can I tell if my home has hard water?

Common clues include white deposits around faucets, spots on glassware, and reduced soap lather. A hardness test kit or a water-quality report from your utility provides a more reliable measurement.

Water hardness reflects the amount of dissolved calcium and magnesium in a water supply, and its effects are most noticeable in cleaning and mineral scale formation. Measuring hardness before choosing a treatment system helps determine whether softening is necessary and which method is appropriate for the water’s composition.

Sources: U.S. Geological Survey, Water Science School: Hardness of Water; World Health Organization, Hardness in Drinking-water; American Water Works Association, Water Quality and Treatment: A Handbook on Drinking Water.

Written by Nathan Caldwell

Nathan Caldwell is a writer and contributor at Trust Atoms, covering science, chemistry, physics, biology, emerging research, and the ideas that shape our understanding of the natural world. His work focuses on researching complex scientific topics and translating them into clear, engaging explanations for curious readers. Nathan’s articles are created for informational and educational purposes, with an emphasis on reliable sources, scientific context, and making complicated subjects easier to understand.