Work out how much magnesium chloride and Epsom salt raises your reef magnesium by the amount you need — in weighed grams, split across days, with the 85:15 split that keeps chloride and sulfate near seawater ratios. Everything runs in your browser; nothing is saved.
How it works
Magnesium is dosed as two salts, not one: magnesium chloride hexahydrate for most of it, and Epsom salt (magnesium sulfate) for the rest. The split keeps chloride and sulfate near their seawater ratios — Epsom-only dosing piles up sulfate over time, and chloride-only dosing piles up chloride.
Magnesium needed (g) = magnesium gap (ppm) × litres ÷ 1,000. 1 ppm is 1 mg per litre, so the gap in ppm times the litres is the milligrams of magnesium the tank is short, divided by 1,000 to give grams.
Magnesium chloride (g) = magnesium (g) × chloride share ÷ 0.1196. Magnesium chloride hexahydrate, MgCl2·6H2O, weighs 203.30 g per mole and magnesium weighs 24.305 g per mole, so the salt is 24.305 ÷ 203.30 = 0.1196 — 12.0% magnesium.
Epsom salt (g) = magnesium (g) × remaining share ÷ 0.0986. Epsom salt, MgSO4·7H2O, weighs 246.47 g per mole, so it is 24.305 ÷ 246.47 = 0.0986 — 9.9% magnesium.
Days = gap ÷ max rise per day, rounded up. The default cap is 100 ppm per day; the daily dose of each salt is its total grams divided by the number of days. The Red Sea Foundation manual caps daily magnesium at 10 ppm/day — a much gentler limit you can set in the max-rise box.
Why magnesium comes first. Below about 1,250 ppm, calcium and alkalinity precipitate and will not hold — fix magnesium first, then the others. Natural seawater holds about 1,290 mg/kg of magnesium, and most reefs run 1,250–1,400 ppm.
Worked example
A 100-gallon system (378.5 L) from 1,250 to 1,350 ppm magnesium, at the default 85% chloride share and a 100 ppm/day cap.
378.5 litres, current 1,250 ppm, target 1,350 ppm, 85% chloride, max rise 100 ppm/day.
Magnesium (g) = gap × litres ÷ 1,000. Chloride = magnesium × 0.85 ÷ 0.1196. Epsom = magnesium × 0.15 ÷ 0.0986.
Gap = 1,350 − 1,250 = 100 ppm. Magnesium = 100 × 378.54 ÷ 1,000 = 37.85 g. Magnesium chloride hexahydrate = 37.85 × 0.85 ÷ 0.1196 = 269 g. Epsom salt = 37.85 × 0.15 ÷ 0.0986 = 58 g. Days = 100 ÷ 100 = 1 day. All-chloride instead would be 37.85 ÷ 0.1196 = 317 g of magnesium chloride and no Epsom.
269 g magnesium chloride + 58 g Epsom salt, in 1 day. Dissolve in warm RO water, pour slowly into the sump, retest tomorrow.
A second case from the same test checks: a 50-gallon system from 1,100 to 1,300 ppm needs the same 37.85 g of magnesium — 269 g chloride + 58 g Epsom, split 134.5 g chloride + 28.8 g Epsom per day over 2 days at the same 100 ppm/day cap. And at the gentler Red Sea cap of 10 ppm/day, the worked example stretches to 10 days at 26.9 g chloride per day.
How to read your results
The verdict word is the headline: the grams of magnesium chloride plus the grams of Epsom salt. The stat grid shows the three numbers behind it — the grams of magnesium itself inside the two salts, the chloride grams, and the Epsom grams.
Read the rows under the verdict for the next step. "Needs action" means do it now — usually the split itself, or raising magnesium before calcium and alkalinity. "Caution" means respect the limit: a big gap is split across days on purpose, and magnesium only falls via water changes, so overshooting is slow to undo. "OK" means that check passed — the dose fits inside one safe daily rise, or the handling note is one to follow rather than a warning.
If the verdict says "No dose needed", your magnesium is already at or above target. Do not dose to push it higher — magnesium only falls via water changes, so stop dosing once you reach target.
Common mistakes
- Dosing Epsom salt only. Epsom-only dosing piles up sulfate over time; the 85:15 chloride-to-Epsom split keeps chloride and sulfate near seawater ratios.
- Using de-icing magnesium chloride. De-icing flakes can carry contaminants — use food- or aquarium-grade magnesium chloride and plain unscented Epsom salt.
- Spooning the salts. Spoon volumes vary by grain and packing; the tool's grams are stoichiometric, so weigh them on a kitchen scale.
- Correcting calcium and alkalinity while magnesium is low. Below about 1,250 ppm they precipitate and will not hold — fix magnesium first, then the others.
- Landing a big gap in one dose. Split the correction across days at your daily cap and retest with your magnesium kit before each dose.
- Using the display volume instead of the net volume. Rock and substrate displace water, so the label gallons overstate the water — measure the system volume with the Tank Volume Calculator first.
- Keeping on dosing after reaching target. Magnesium only falls via water changes, so once you reach target, stop — a standing magnesium dose is a mistake, not maintenance.
Grams to raise magnesium by 100 ppm
Magnesium chloride and Epsom salt for a 100 ppm rise at each tank size, at the default 85% chloride share, recomputed with the formula above. Read your size across, then scale by the gap in hundreds of ppm you need to close.
| System volume | Magnesium chloride | Epsom salt | All-chloride |
|---|---|---|---|
| 25 gal (94.6 L) | 67 g | 14 g | 79 g |
| 50 gal (189.3 L) | 135 g | 29 g | 158 g |
| 75 gal (283.9 L) | 202 g | 43 g | 237 g |
| 100 gal (378.5 L) | 269 g | 58 g | 317 g |
| 150 gal (567.8 L) | 404 g | 86 g | 475 g |
| 200 gal (757.1 L) | 538 g | 115 g | 633 g |
Check it against the worked example: 100 gallons needs 269 g chloride + 58 g Epsom per 100 ppm — the same 269 g + 58 g the tool gives.
FAQ
Why two salts instead of one?
The default 85:15 chloride-to-Epsom split keeps chloride and sulfate near seawater ratios. Epsom-only dosing piles up sulfate over time; chloride-only dosing piles up chloride.
Why does the tool default to 100 ppm per day when Red Sea says 10?
The 100 ppm/day cap is the research default this tool ships with; Red Sea's Foundation manual caps daily magnesium at 10 ppm/day, which is much gentler. The cap is editable in the form — use the gentler figure on a stocked reef, and never raise magnesium faster than your livestock tolerates.
Do I weigh the salts or spoon them?
Weigh them. Spoon volumes vary by grain and packing; the tool's grams are stoichiometric (CRC molar masses: magnesium chloride hexahydrate is 12.0% magnesium, Epsom salt is 9.9%).
Can I dose the whole correction at once?
Only if the gap fits inside your daily cap. A big gap is split across days by the tool, so it never lands in one dose.
Why does low magnesium make calcium and alkalinity hard to hold?
Magnesium holds calcium and alkalinity in solution. Below about 1,250 ppm they precipitate as calcium carbonate and the correction does not hold — you add calcium, it snows out, and the reading barely moves. Fix magnesium first, then calcium and alkalinity.
What if my magnesium is already above target?
Dose nothing. The tool says "No dose needed" and gives no grams. Magnesium only falls via water changes, so an overshoot has to be waited out or diluted — do not chase it down with another chemical.
Sources
- Textbook — Haynes (ed.), CRC Handbook of Chemistry and Physics. Used for the molar masses: Mg 24.305; MgCl2·6H2O 203.30 (12.0% Mg); MgSO4·7H2O 246.47 (9.9% Mg) — the 0.1196 and 0.0986 divisors follow from them.
- Manufacturer — Red Sea Foundation manual. Caps daily magnesium at 10 ppm/day. Cited as the gentler limit the tool offers against its 100 ppm/day default; the disagreement is stated on the page, not hidden.
- Textbook — Millero, F. J., Chemical Oceanography, CRC Press. Used for natural seawater magnesium, about 1,290 mg/kg, and for the chloride and sulfate ratios the 85:15 split is built around.
- Hobby practice — Holmes-Farley, R., Reefkeeping Magazine / Advanced Aquarist. Used for the method (DIY magnesium chloride / sulfate blends) and the practical limits behind the 100 ppm/day default.
No links are given here because no source web address was on file for these references — they are named so you can look them up.