Interactive Laboratory Engine

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.

Laboratory Console Engine // SYS.2.5
ONLINE
Calibration Controls
10 Parameters
5 L 200 L

Total volume of prepared water.

0 dGH 30 dGH

Hardness of municipal tap water (Mode A only).

0 dKH 25 dKH

Alkalinity of municipal tap water (Mode A only).

0 dGH 10 dGH

Baseline RO/DI hardness (default 0 dGH).

0 dKH 10 dKH

Baseline RO/DI alkalinity (default 0 dKH).

0 dGH 25 dGH

Target general hardness.

0 dKH 20 dKH

Target carbonate hardness. Compared in Mode A; targeted in Mode B.

0.5 1

Mode B: Default 0.75 represents 3:1 Calcium to Magnesium molar ratio.

Diagnostic Telemetry
Console Standby

Awaiting Parameter Calibration

Adjust parameters in the left console to initiate real-time telemetry and biological safety verification.

How do I mix RO and tap water, or add minerals? Use the calculator to find the RO share for a target GH, then add calcium, magnesium or bicarbonate salts to reach GH and KH targets. Check the result with test kits.

Mix RO and tap water

Enter your tap and RO values and a target. RO share = (tap - target) / (tap - RO). Hardness and KH fall in the same proportion, so you cannot lower GH and KH independently by mixing alone.

Mixing examples (RO at 0 dGH, 0 dKH)
Tap waterTarget GHRO shareTap shareResulting KH
14 dGH / 10 dKH6 dGH57.1%42.9%4.3 dKH
10 dGH / 8 dKH6 dGH40%60%4.8 dKH
20 dGH / 14 dKH8 dGH60%40%5.6 dKH
8 dGH / 5 dKH4 dGH50%50%2.5 dKH
12 dGH / 9 dKH5 dGH58.3%41.7%3.7 dKH

Add minerals to reach a target

Enter the starting GH and KH (for example, RO water or a mix), the target and the volume. The tool returns grams of gypsum, Epsom salt and bicarbonate. Dissolve each in a container of water first. Never pour salts straight into a tank with livestock.

Add to RO or DI waterPer litrePer 20 LNotes
+1 dGH, gypsum (CaSO4.2H2O)23 mg0.46 g3:1 Ca:Mg molar split; 172.17 g/mol
+1 dGH, Epsom salt (MgSO4.7H2O)11 mg0.22 g246.47 g/mol
+1 dKH, sodium bicarbonate30 mg0.6 g84.01 g/mol
Sulfate added per +1 dGH17.1 mg/LDerived from the two salts
Sodium added per +1 dKH (baking soda)8.2 mg/LDerived

How the maths works

One dGH is 17.848 mg/L as CaCO3, which is 0.1783 mmol/L (Wikipedia; Sigma-Aldrich). Alkalinity of 1 dKH is 0.3567 meq/L, and 1 meq/L of bicarbonate is 84.01 mg/L of NaHCO3 (Fisher), so 1 dKH needs 30 mg/L. Wikipedia's example agrees: 120 mg/L of NaHCO3 is about 4.005 dKH (Wikipedia).

  1. GH moles = dGH x 0.1783 mmol/L.
  2. Calcium share (default 75%, a 3:1 molar split) gives calcium mmol; the rest is magnesium.
  3. Gypsum mg = calcium mmol x 172.17; Epsom mg = magnesium mmol x 246.47 (Merck).
  4. Bicarbonate mg = dKH x 29.96 (0.3567 x 84.01).

The 3:1 split is an assumption, so the tool lets you change it. Hobby grams-per-litre rules disagree with these numbers; one retailer rule is 1.7-3.3 times higher (Gensou). Use stoichiometry and test.

Read general hardness (GH), carbonate hardness (KH) and the how to balance GH and KH. For water-change effects see the GH/KH water change calculator.

Safe limits

  • Change gradually. The KH page suggests no more than about 1 dKH per day. No source reviewed proves a safe rate for all species, so this is a precaution.
  • Gypsum dissolves at about 2 g/L at 20 C, so the tool warns if a dose would exceed that.
  • Mix in a container, test, then add. Results ignore ionic strength and any minerals already in the water.
  • Real RO water is not exactly zero. Enter your RO reading.
  • Sodium bicarbonate raises pH with KH. Do not use it to fix pH directly.

FAQ

The questions below are answered in the FAQ section rendered under this article.

Calculator References

Mixing versus adding minerals

โ† Scroll horizontally to inspect full matrix โ†’
GoalMethodTool output
Lower GH and KH togetherMix RO and tapRO and tap share
Raise GH onlyGypsum + Epsom saltGrams per volume
Raise KH onlyBicarbonateGrams per volume

Frequently Asked Questions

How much RO water do I mix with tap?

RO share = (tap - target) / (tap - RO). With tap 14 dGH, RO 0 and target 6, use 57% RO and 43% tap.

Can mixing set GH and KH separately?

No. Mixing dilutes both by the same fraction. Add minerals or bicarbonate to adjust them separately.

How much gypsum and Epsom salt per dGH?

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

How much baking soda per dKH?

About 30 mg/L.

Why does the result not match my test?

Source water may have its own minerals, RO water may not read zero, salts may be impure or hydrated differently, and kit resolution is coarse. Test and adjust in small steps.

Can I add these salts to a tank with fish?

Mix them in a container of water and add slowly with the tank running. Do not pour dry salts onto livestock or into the filter intake.