Water Hardness Calculator

Measure water hardness precisely in your preferred unit and see instant conversions. Export results save records and print a polished PDF report to guide softening filtration and appliance care across homes labs and facilities. Track quality over time compare locations and optimize treatment decisions

Inputs
Advanced · Full Options
mg/L
gpg
°dH
°fH
°e
mmol/L
mg/L
mg/L
Classification is based on mg/L as CaCO₃. Default follows USGS: Soft ≤60 · Moderately hard 61–120 · Hard 121–180 · Very hard >180
mg/L
mg/L
mg/L
mg/L
Results
Field Value Unit
Sample
Input mode
Hardnessmg/L as CaCO₃ (ppm)
Grains per gallongpg
German degrees°dH
French degrees°fH
English/Clark degrees°e
Millimoles per litremmol/L (as CaCO₃)
ClassificationSoft / Moderately hard / Hard / Very hard
TimestampLocal
Saved History
# Timestamp Sample Input mode Input value(s) mg/L (ppm) gpg °dH °fH °e mmol/L Class
History is kept in-browser only. Export for backup.
Example Data
Location Hardness (mg/L as CaCO₃) gpg °dH °fH °e mmol/L Classification
Kitchen tap1408.197.8514.009.821.40Hard
Well water26015.2014.5826.0018.242.60Very hard
Rain tank251.461.402.501.750.25Soft
Lab feed603.513.366.004.210.60Soft
Boiler make-up1106.436.1711.007.721.10Moderately hard
Formula used

All results are normalized to hardness as calcium carbonate equivalents (mg/L as CaCO₃), then converted to other units.

  • From Ca and Mg (mg/L): Hardness as CaCO₃ (mg/L) ≈ 2.497 × Ca + 4.118 × Mg
  • gpg → mg/L: mg/L = gpg × 17.1
  • °dH → mg/L: mg/L = °dH × 17.848
  • °fH → mg/L: mg/L = °fH × 10
  • °e → mg/L: mg/L = °e × 14.254
  • mmol/L → mg/L: mg/L = mmol/L × 100.0869

Conversions from mg/L (as CaCO₃):

  • gpg = mg/L ÷ 17.1
  • °dH = mg/L ÷ 17.848
  • °fH = mg/L ÷ 10
  • °e = mg/L ÷ 14.254
  • mmol/L = mg/L ÷ 100.0869

Classification (default): Soft ≤60 · Moderately hard 61–120 · Hard 121–180 · Very hard >180 mg/L as CaCO₃.

How to use this calculator
  1. Choose an Input mode that matches your test result or known values.
  2. Enter the numeric value. For Ca and Mg, provide both concentrations in mg/L.
  3. Set desired Decimal precision and, if needed, enable Custom thresholds for classification.
  4. Click Calculate to see conversions across ppm, gpg, °dH, °fH, °e, and mmol/L with an overall classification.
  5. Use Add to history to store the record in your browser session.
  6. Click Download Results CSV/PDF or export your full history for reporting and archiving.
  7. Review the Formula used section for unit definitions and conversion math.
FAQs

It describes the concentration of divalent minerals—mainly calcium and magnesium. Hardness is commonly expressed as mg/L as CaCO₃, but other units like gpg, °dH, and mmol/L are also used.

Use mg/L as CaCO₃ for most reports and regulatory references. gpg is common in residential softener literature; °dH/°fH are common in Europe; mmol/L is SI-based.

Factors (2.497 for Ca; 4.118 for Mg) are standard approximations to express hardness as CaCO₃ equivalents. Actual speciation and other ions can slightly influence results.

By default, USGS thresholds: ≤60 soft, 61–120 moderately hard, 121–180 hard, >180 very hard (all in mg/L as CaCO₃). You can customize thresholds under advanced options.

Yes. Use the conversions to set dishwashers, coffee machines, or boiler treatment. Always check device manuals for preferred units.

No. It converts reported values and helps planning. For compliance or health decisions, use certified laboratory results and local guidelines.

Small differences arise from rounding and reference choices (e.g., 17.1 vs 17.12 mg/L per gpg; CaCO₃ molar mass 100.0869). This tool uses widely accepted standard values.
Note: Results are for informational purposes. Always validate against your method and reporting standards.

Related Calculators

Concentration Calculator in ChemistryDilution Factor Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.