Calcium-to-Magnesium Balance Within General Hardness (GH)
Target a 3:1 to 4:1 calcium-to-magnesium (Ca:Mg) mass ratio (measured in ppm or mg/L) for most freshwater planted tanks, community aquariums, and ornamental shrimp setups, keeping total General Hardness (GH) within 4–8 dGH (71–143 ppm as CaCO3). Standard liquid GH test kits measure total divalent ions (Ca2+ plus Mg2+) as a single number and cannot tell you whether a tank reading 6 dGH is balanced or completely depleted of one mineral. Balancing both ions prevents nutrient lockout in plants, supports clean molting in shrimp, and stabilizes osmoregulation in fish.
How Calcium and Magnesium Combine to Create GH
One degree of General Hardness (1 dGH) equals 7.15 ppm (mg/L) of pure calcium OR 4.33 ppm (mg/L) of pure magnesium. Because magnesium ions are lighter than calcium ions, 1 ppm of magnesium contributes roughly 1.65 times more to a GH test reading than 1 ppm of calcium.
Use these plain-text formulas to convert between ppm (mg/L) and dGH:
Total GH (dGH) = (Ca in ppm / 7.15) + (Mg in ppm / 4.33)Total GH (ppm as CaCO3) = (Ca in ppm * 2.50) + (Mg in ppm * 4.12)Mg (ppm) = (Total GH in dGH - (Ca in ppm / 7.15)) * 4.33
Mass Ratio vs. dGH Contribution
A 3:1 to 4:1 mass ratio translates to roughly 65–71% of your GH coming from calcium and 29–35% coming from magnesium. Staying inside this window prevents either ion from blocking the uptake of the other across plant roots and gill membranes.
| Ca:Mg Mass Ratio (by ppm) | Molar / dGH Ratio | % of Total GH from Ca | % of Total GH from Mg | Typical Freshwater Suitability |
|---|---|---|---|---|
| 1:1 | 0.61 : 1 | 38% | 62% | Excess Mg; risks Ca lockout in plants and snails |
| 2:1 | 1.21 : 1 | 55% | 45% | Lower acceptable limit; usable for Rift-lake cichlids |
| 3:1 | 1.82 : 1 | 65% | 35% | Ideal baseline for planted tanks and shrimp |
| 4:1 | 2.42 : 1 | 71% | 29% | Ideal upper target for planted tanks and community fish |
| 6:1 or higher | 3.64 : 1+ | 78%+ | 22% or less | Mg-deficient; causes old-leaf yellowing in plants |
Target Ca and Mg Ranges by Freshwater Tank Type
Match your target GH and Ca:Mg split to the livestock and lighting intensity in your aquarium rather than chasing a single universal number. High-light planted tanks with pressurized CO2 (50–100+ PAR) consume calcium and magnesium faster than low-light setups (15–30 PAR), while hard-water African cichlids tolerate broader ratios at higher total hardness.
| Setup Type (Realistic Tank Size) | Target Total GH | Target Ca (ppm / mg/L) | Target Mg (ppm / mg/L) | Target Ca:Mg Mass Ratio |
|---|---|---|---|---|
| Low-Tech Planted / Community (10G–75G, 15–50 PAR) | 4–8 dGH (71–143 ppm) | 20–40 ppm | 6–12 ppm | 3:1 to 4:1 |
| High-Tech CO2 Planted (10G–120G, 50–100+ PAR) | 4–6 dGH (71–107 ppm) | 20–30 ppm | 6–10 ppm | 3:1 to 4:1 |
Soft-Water Shrimp (Caridina) (5G–40B) |
4–6 dGH (71–107 ppm) | 22–26 ppm | 6–8 ppm | 3:1 to 4:1 |
Hard-Water Shrimp (Neocaridina) & Snails (5G–40B) |
6–8 dGH (107–143 ppm) | 30–40 ppm | 8–12 ppm | 3:1 to 4:1 |
| Betta (5G–20L) | 3–6 dGH (54–107 ppm) | 15–28 ppm | 4–8 ppm | 3:1 to 4:1 |
| Goldfish (29G–125G) | 6–12 dGH (107–214 ppm) | 30–55 ppm | 8–16 ppm | 3:1 to 4:1 |
| African Cichlids (40B–125G) | 10–18 dGH (179–321 ppm) | 40–75 ppm | 15–30 ppm | 2:1 to 3.5:1 |
Measuring Your Current Ca:Mg Ratio
Estimate magnesium by taking separate liquid calcium and total GH readings and subtracting calcium's contribution from total hardness. Dedicated freshwater magnesium tests are uncommon, so pairing a liquid GH test with a calcium titration kit is the standard way to determine your Ca:Mg balance. See the calcium titration and magnesium subtraction guide for the full testing and calculation procedure.
Dosing Calcium and Magnesium Salts Accurately
Use food-grade or lab-grade mineral salts—specifically calcium sulfate dihydrate (gypsum), calcium chloride dihydrate, and magnesium sulfate heptahydrate (Epsom salt)—to adjust Ca and Mg independently. Always weigh dry salts on a 0.004 oz (0.1 g) digital gram scale and pre-dissolve them in a pitcher of RO/DI or dechlorinated water before pouring into the tank or water-change bucket.
Mineral Salt Contribution per 10 gal (37.85 L)
| Mineral Compound | Chemical Formula | % Active Ion | 0.035 oz (1 g) in 10 gal (37.85 L) Adds |
Amount per 10 gal (37.85 L) for +1 dGH |
|---|---|---|---|---|
| Gypsum (Calcium sulfate dihydrate) | CaSO4·2H2O |
23.3% Ca | +6.15 ppm Ca (+0.86 dGH) |
0.041 oz (1.16 g) (+7.15 ppm Ca) |
| Calcium chloride dihydrate | CaCl2·2H2O |
27.3% Ca | +7.20 ppm Ca (+1.01 dGH) |
0.035 oz (0.99 g) (+7.15 ppm Ca) |
| Epsom salt (Magnesium sulfate heptahydrate) | MgSO4·7H2O |
9.9% Mg | +2.61 ppm Mg (+0.60 dGH) |
0.059 oz (1.66 g) (+4.33 ppm Mg) |
- Gypsum vs. calcium chloride: Gypsum adds sulfate (
SO4^2-) and dissolves slowly, causing temporary cloudiness that clears within a few hours. Calcium chloride dissolves instantly but adds chloride (Cl-); excess chloride above50–75 ppmcan burn sensitive stem plants, so use gypsum as your primary calcium source or split the dose 50/50 between gypsum and calcium chloride. - Never use baking soda or calcium carbonate for GH: Sodium bicarbonate raises Carbonate Hardness (KH) without adding Ca or Mg. Crushed aragonite and limestone raise both Ca and KH, leaving magnesium behind.
Ready-to-Mix 6 dGH (3.5:1 Ca:Mg) RO/DI Remineralization Table
Use these exact weights when remineralizing 0 dGH RO/DI water to ~6.0 dGH (~28.9 ppm Ca, ~8.3 ppm Mg, 3.5:1 mass ratio) using gypsum and Epsom salt:
| Water Volume | Gypsum (CaSO4·2H2O) |
Epsom Salt (MgSO4·7H2O) |
Resulting Ca / Mg / GH |
|---|---|---|---|
| 5 gal (18.9 L) (bucket or 5G tank) | 0.083 oz (2.35 g) |
0.056 oz (1.60 g) |
28.9 ppm Ca / 8.3 ppm Mg / 6.0 dGH |
| 10 gal (37.85 L) (standard 10G tank) | 0.166 oz (4.70 g) |
0.113 oz (3.20 g) |
28.9 ppm Ca / 8.3 ppm Mg / 6.0 dGH |
| 20 gal (75.7 L) (20L or 20H tank) | 0.332 oz (9.40 g) |
0.226 oz (6.40 g) |
28.9 ppm Ca / 8.3 ppm Mg / 6.0 dGH |
| 29 gal (109.8 L) (standard 29G tank) | 0.481 oz (13.63 g) |
0.327 oz (9.28 g) |
28.9 ppm Ca / 8.3 ppm Mg / 6.0 dGH |
| 40 gal (151.4 L) (40B tank) | 0.663 oz (18.80 g) |
0.452 oz (12.80 g) |
28.9 ppm Ca / 8.3 ppm Mg / 6.0 dGH |
Note: Actual water volume in a decorated tank is typically 10–15% less than its nominal empty rating due to substrate and hardscape displacement. Dose for your estimated net water volume or pre-mix in measured water-change containers.
Symptoms of Imbalance and Common Pitfalls
An imbalanced Ca:Mg ratio produces the exact same symptoms as a total deficiency because excess calcium blocks magnesium uptake and excess magnesium blocks calcium uptake. Fixing the wrong ion makes the problem worse.
Recognizing Ca vs. Mg Deficiency and Lockout
- Magnesium Deficiency (or Excess Calcium above 6:1):
- Plants: Interveinal chlorosis (yellowing tissue between dark green veins) on older, lower leaves, because magnesium is mobile and the plant strips it from old growth to feed new shoots.
- Shrimp & Snails: Lethargy before molting and incomplete molts even when total GH reads
6–8 dGH. - Fix: Dose Epsom salt (
MgSO4·7H2O) to bring Mg up to6–10 ppm(or at least a4:1ratio) rather than adding more all-in-one GH booster.
- Calcium Deficiency (or Excess Magnesium below 1.5:1):
- Plants: Twisted, cupped, curled, or pale stunted new growth at the tips, because calcium is immobile in plant tissue and must come continuously from the water column.
- Shrimp & Snails: Soft, rubbery shells after molting, failed molts ("white ring of death"), and pitted or chalky snail shells.
- Fix: Perform a 30–50% water change with balanced remineralized water, or dose gypsum (
CaSO4·2H2O) to raise calcium without adding more magnesium.
Four Pitfalls That Skew Ca:Mg Ratios
- Household Ion-Exchange Water Softeners: Whole-house water softeners strip
Ca2+andMg2+out of tap water and replace them with sodium (Na+). Softened water often reads0–1 dGHwhile maintaining high TDS and KH, starving plants and shrimp of both minerals. Always plumb aquarium water from an unsoftened cold-water bypass or an RO/DI unit. - Relying on Calcium Carbonate Rocks to Raise GH: Adding crushed aragonite, limestone, or Texas holey rock to a tank dissolves only calcium and carbonate (
CaCO3), pushing calcium higher while magnesium stays flat. In soft-water setups, this routinely drives the Ca:Mg ratio past8:1and triggers magnesium lockout in plants. - Top-Offs With Tap Water Instead of RO/DI: Evaporation removes pure water (
H2O) and leaves all dissolved calcium and magnesium behind. Topping off evaporated water with tap water—or remineralized water—steadily concentrates both ions and drifts GH upward. Always top off evaporation with0 dGHRO/DI or distilled water, and save mineral adjustments for actual water changes. - Using Active Aquasoil Without Monitoring Early Absorption: Active buffering aquasoils (such as
3 Lor9 Lbagged planted substrates, which should never be rinsed) have a high cation-exchange capacity when new and pullCa2+andMg2+out of the water column during the first 4–8 weeks. Test GH weekly on new active-soil tanks and dose small, balanced water changes until absorption stabilizes.