Worked example
Example: Ca 60 mg/L, Mg 20 mg/L, 600 µS/cm. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Calcium, as Ca | 60.000 mg/L |
| Magnesium, as Mg | 20.000 mg/L |
| Electrical conductivity at 25 °C, µS/cm | 600.00 - |
| TDS factor, mg/L per µS/cm | 0.65000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Total hardness, as CaCO₃ | 232.20 mg/L |
| German degrees | 13.010 |
| French degrees | 23.220 |
| Grains per US gallon, as CaCO₃ | 13.564 |
| Hardness | 2.3200 mmol/L |
| Hardness, meq/L | 4.6399 |
| Total dissolved solids (estimate) | 390.00 mg/L |
Open this example in the calculator and change any input.
Formula
\(TH = Ca\,\frac{M_{CaCO_3}}{M_{Ca}} + Mg\,\frac{M_{CaCO_3}}{M_{Mg}}\)
\(°dH = \frac{TH}{10\ \text{mg/L}\cdot M_{CaCO_3}/M_{CaO}} \qquad °fH = \frac{TH}{10\ \text{mg/L}} \qquad gpg = \frac{TH}{\text{grain}/\text{US gal}} \qquad c = \frac{TH}{M_{CaCO_3}}\ (\text{mmol/L with } TH \text{ in mg/L and } M \text{ in g/mol}), \quad c_{eq} = 2c \qquad TDS = k \cdot EC\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(Ca\) | calcium, as Ca | kg/m³ |
| \(Mg\) | magnesium, as Mg | kg/m³ |
| \(EC\) | electrical conductivity | µS/cm |
| \(k\) | TDS factor | mg/L per µS/cm |
| \(TH\) | total hardness as CaCO₃ | kg/m³ |
| \(°dH\) | German degrees | – |
| \(°fH\) | French degrees | – |
| \(gpg\) | grains per US gallon | – |
| \(c\) | hardness in mmol/L | – |
| \(c_{eq}\) | hardness in meq/L, \(2c\) | – |
| \(TDS\) | total dissolved solids estimate | kg/m³ |
| \(M\) | molar masses from IUPAC atomic weights | kg/kmol |
Method and standards
Equivalent conversion to CaCO₃ with IUPAC 2013 atomic weights; unit definitions of the German and French degrees, the grain (64.79891 mg) and the US gallon (231 in³).
Where it is used
- Reading water analyses from labs that use different units.
- Softener and DM plant sizing.
- Setting boiler water and cooling water limits.
Common mistakes
- Adding Ca and Mg in mg/L directly without converting to CaCO₃.
- Mixing US and imperial gallons in grains per gallon.
- Using a TDS factor from another water.
Assumptions and limits
- Hardness from calcium and magnesium only; TDS is an estimate from conductivity.
- Conductivity is taken as the value at 25 °C (temperature-compensated). The linear TDS factor suits dilute waters; a note appears above 10 000 µS/cm.
References
- Hardness unit definitions (°dH = 10 mg/L CaO, °fH = 10 mg/L CaCO3, grain = 64.79891 mg)
- IUPAC 2013 atomic weights
Questions and answers
How do I convert calcium and magnesium to hardness as CaCO₃?
Multiply calcium by 100.09/40.08 = 2.497 and magnesium by 100.09/24.31 = 4.118. 60 mg/L Ca and 20 mg/L Mg give 232 mg/L as CaCO₃: 13.0 °dH, 23.2 °fH, 13.6 grains per US gallon, 2.32 mmol/L.
How accurate is TDS from conductivity?
Only as good as the factor, which depends on the salts. 0.55–0.7 mg/L per µS/cm is typical; calibrate it against a gravimetric TDS of your own water.
What is the difference between °dH and °fH?
German degrees count CaO (10 mg/L per degree); French degrees count CaCO₃ (10 mg/L per degree). One °dH is 1.785 °fH.
Method and article reviewed by FireCAD engineering on 11 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.