GH Calculator - Tools & Calculators

Units

GH Calculator

Calculate General Hardness (GH) from Calcium (Ca) and Magnesium (Mg) levels.

How do I calculate the general hardness (GH) of my aquarium?

What is general hardness (GH)?

General hardness (GH) measures the total concentration of dissolved calcium and magnesium ions in water. It is one of the most important water parameters for aquarium keeping, affecting fish health, shrimp molting, plant growth, and overall ecosystem stability. GH is commonly measured in degrees (dGH or °dH) or ppm.

How the calculation works

If you know your calcium and magnesium levels in ppm, you can calculate the resulting GH:

GH (dGH) = (Ca ppm ÷ 7.143) + (Mg ppm ÷ 4.348)

Unit conversions

From To Multiply by
dGHppm CaCO₃17.848
ppm CaCO₃dGH0.056
dGHmmol/L0.1783

GH ranges and what they mean

GH range Classification Suitable for
0–4 dGHVery softCaridina shrimp, blackwater fish
4–8 dGHSoftMost tetras, discus, angelfish, planted tanks
8–12 dGHMediumLivebearers, Neocaridina shrimp, community fish
12–18 dGHHardAfrican cichlids, brackish species
18+ dGHVery hardTanganyikan cichlids, specialized setups

How to adjust GH

  • Raise GH: Add GH booster, crushed coral, or limestone. Use remineralizers for RO water.
  • Lower GH: Mix with RO or distilled water. Some active substrates also reduce GH.

Tips for managing GH

  • Test GH at least monthly, more often when setting up new tanks or after major water changes
  • Match GH to your livestock – research the natural habitat of your fish and shrimp
  • Stability is more important than perfection – avoid sudden GH swings
  • Maintain a healthy Ca:Mg balance (3:1 to 4:1) for optimal plant and invertebrate health