Water Chemistry

How to Balance GH and KH in Freshwater Aquariums

Written by The Aquarium Calculators Editorial Team Updated on
How to Balance GH and KH in Freshwater Aquariums

How do you balance GH and KH? Treat them as two separate numbers. Raise GH with calcium and magnesium sulfate salts, raise KH with bicarbonate, lower both by diluting with RO water, and change in small steps. Match the targets to your livestock, not to a fixed range, and test after every adjustment.

Understanding water hardness: GH vs KH

GH measures dissolved calcium and magnesium. KH measures the bicarbonate and carbonate that buffer pH. They have different jobs, and a test kit for one does not measure the other. GH and KH sit alongside other water quality basics such as ammonia, nitrite and nitrate. Both are expressed with the same factor: 1 dGH or 1 dKH is 17.848 mg/L as calcium carbonate (Wikipedia). Read the full pages: general hardness (GH) and carbonate hardness (KH). The comparison table on this page summarises the differences.

The relationship and common misconceptions

  • "Hard water means high KH." Not always. Gypsum raises GH without KH, and baking soda raises KH without GH.
  • "Raise KH to raise CO2." KH sets how pH responds. Only adding CO2 changes CO2. See carbon dioxide (CO2).
  • "Fix pH directly." pH is a result of CO2 and buffering. Change KH or CO2 and pH follows (Aquarium Science).
  • "One rule of thumb fits all." Hobby rules for grams per litre disagree. One retailer says 1-2 g of bicarbonate per 20 L raises KH by about 1 dKH (Gensou). Stoichiometry gives 30 mg per litre, or 0.6 g per 20 L. The retailer rule is 1.7-3.3 times higher.

GH and KH target reference by livestock

These are ranges from the listed profiles, not blanket targets. For specific shrimp targets, read the Neocaridina care guide. Sources disagree, so choose the livestock that suits your tap water, then use the table to check the fit.

โ† Scroll horizontally to inspect full matrix โ†’
LivestockGH (dGH)KH (dKH)Sources
Discus0-5Not sourced hereSeriously Fish
Neon tetra1-12Not listed; the profile says habitat water has negligible carbonate hardnessSeriously Fish
Guppy6-18 (other lists differ)4-12 (database)Fluval; Tankflare
Neocaridina cherry shrimp4-10 (tolerates 3-15)1-8 (tolerates 0-15)Shrimp Science; 2Hr Aquarist
Caridina shrimp4-60-2Seven Ports
Lake Malawi mbuna (electric yellow)10-258-18Tankflare; NT Labs

Test your tap water first. For fish that tolerate hard water see fish for hard water.

How to adjust GH and KH safely

Change in small steps, dissolve salts in a container before adding, and test after each change. The carbonate hardness (KH) page suggests raising KH by no more than about 1 dKH per day. No source reviewed proves a safe rate for every species, so treat it as a precaution. The table lists the methods, and the dose table gives stoichiometric amounts.

โ† Scroll horizontally to inspect full matrix โ†’
GoalMethodWatch-outs
Raise GH onlyGypsum plus Epsom salt, dissolved in a container firstAdds sulfate; gypsum dissolves slowly; test before adding
Raise KH onlySodium or potassium bicarbonateSodium load with baking soda; raise slowly; pH rises with KH
Raise GH and KH togetherCrushed coral, aragonite or a mixed shrimp mineralHard to dose; dissolves faster in acidic water; mixes differ by brand
Lower bothMix tap with RO, DI or rain waterDilutes both by the same ratio; test the mix; change in steps
Lower KH onlyNo practical chemical method in a home tankDilution lowers GH too; remove calcareous rock if it drives KH up
โ† Scroll horizontally to inspect full matrix โ†’
Stoichiometric doses (anhydrous NaHCO3 84.01; KHCO3 100.1; gypsum 172.17; Epsom 246.47 g/mol)
Change wantedPer litrePer 100 LPer 100 US gal (378.5 L)
+1 dKH with sodium bicarbonate30 mg3 g11.3 g
+1 dKH with potassium bicarbonate36 mg3.6 g13.5 g
+1 dGH with gypsum (3:1 Ca:Mg split)23 mg2.3 g8.7 g
+1 dGH with Epsom salt (3:1 Ca:Mg split)11 mg1.1 g4.2 g

Raising GH

Use calcium and magnesium salts that carry no carbonate. One dGH is 0.178 mmol/L, so a 3:1 calcium-to-magnesium split gives 23 mg/L gypsum and 11 mg/L Epsom salt per dGH. Gypsum dissolves at about 2 g/L at 20 C (Merck), so dissolve it in warm water. The 3:1 split is an assumption.

Raising KH

Sodium bicarbonate gives 30 mg/L per dKH: 120 mg/L is 4.0 dKH (Wikipedia). Potassium bicarbonate gives 36 mg/L per dKH (derived from its molar mass of about 100.1 g/mol). Add it to a bucket of tank water and pour in slowly. Crushed coral raises KH and GH together, slowly and unpredictably.

Lowering both with RO or rain water

RO fraction = 1 - target / tap, if RO is near zero. With tap at 14 dGH and a target of 6 dGH, mix 57% RO with 43% tap. KH falls by the same proportion. Use the GH/KH remineralization calculator and the GH/KH water change calculator to do the arithmetic.

Troubleshooting water parameter instability

pH crashes and KH drift

Nitrification consumes alkalinity. The reaction NH4+ + 2 O2 gives NO3- + 2 H+ + H2O, so every mole of nitrogen turned into nitrate uses 2 equivalents of alkalinity. That is about 7.1 mg/L as CaCO3 (0.4 dKH) per 1 mg/L of nitrogen oxidised. This is a theoretical maximum from our arithmetic; plants and denitrification offset it. In practice it means KH falls steadily in a stocked tank between water changes. When KH nears zero, pH can crash. Test KH weekly and replace it with water changes. See the pH crash calculator and the CO2 cylinder calculator.

Active soil and CO2 effects

Active soil lowers KH over weeks; see the Walstad vs active soil. CO2 lowers pH but does not change KH. Carbonate rock can dissolve faster under CO2 and raise KH, which can mislead a pH controller (Aquarium Science). If your KH is near zero, do not start CO2 until you have fixed it. Also see KH and CO2 in the injection guide.

Water Chemistry Tool

GH/KH Remineralization and RO Mixing Calculator

Calculate RO and tap mixing ratios and the grams of gypsum, Epsom salt and bicarbonate to reach a target GH and KH.

Hydrochemical Safety Verification 100% Free & Evidence-Based

GH vs. KH

โ† Scroll horizontally to inspect full matrix โ†’
PropertyGH (General Hardness)KH (Carbonate Hardness)
What it measuresDissolved calcium and magnesiumBicarbonate and carbonate (buffer)
Main roleMineral supply for animals and plantsKeeps pH stable
Raised byGypsum, Epsom salt, mineral mixes, crushed coralBicarbonate salts, crushed coral
Lowered byDilution with RO, DI or rain waterDilution, nitrification, soil buffering
Unit conversion1 dGH = 17.848 mg/L CaCO31 dKH = 17.848 mg/L CaCO3

Frequently Asked Questions

Should GH and KH be equal?

No. They measure different things and no source reviewed requires a fixed ratio. Choose each to suit your livestock, and adjust them separately.

How much baking soda raises KH by 1 dKH?

About 30 mg per litre, which is 3 g per 100 L, from stoichiometry. One retailer gives a rule 1.7-3.3 times larger. Dissolve it first, add in steps and test.

How do I raise GH without raising KH?

Use gypsum and Epsom salt. At a 3:1 calcium-to-magnesium split, 1 dGH needs about 23 mg/L gypsum and 11 mg/L Epsom salt.

How do I lower GH and KH together?

Mix tap water with RO, DI or rain water. The RO share is 1 minus target divided by tap value, if the RO water reads zero. Test the mix before use.

Why does my KH keep dropping?

Nitrification, CO2 systems, acidic soil and driftwood consume or mask KH. Theoretically, each 1 mg/L of nitrogen turned into nitrate uses about 0.4 dKH. Water changes with buffered water replace it.

Is it safe to change GH or KH quickly?

Changing gradually is the common precaution, and the KH page suggests no more than about 1 dKH per day. Sources disagree on how much fluctuation matters, so make small changes and watch the animals.

Further Reading & Sources