What this calculator does
Stony corals build their skeletons from calcium and carbonate, and magnesium keeps the two from precipitating out of solution. When tests show calcium, alkalinity or magnesium below target, this calculator tells you how much of the standard DIY chemicals to add to your whole system to correct it, and how many days to spread the correction over to stay within safe daily limits.
How it is calculated
Calcium chloride dihydrate is 27.3 % calcium, so grams = ΔCa (mg/L) × volume × 147.0 ÷ 40.08 ÷ 1000. Alkalinity: one dKH equals 0.357 meq/L; sodium bicarbonate provides one meq per 84.0 mg, soda ash (sodium carbonate) per 53.0 mg. Magnesium chloride hexahydrate is 12.0 % magnesium: grams = ΔMg × volume × 203.3 ÷ 24.31 ÷ 1000. Days are calculated from limits of 20 ppm calcium, 1 dKH alkalinity and 100 ppm magnesium per day.
Worked example
A 400-liter system raising calcium from 400 to 430 ppm needs 44 g of calcium chloride dihydrate over two days. Raising alkalinity from 7.5 to 8.5 dKH takes 12.0 g of baking soda or 7.6 g of soda ash. Lifting magnesium from 1,250 to 1,350 ppm needs about 335 g of magnesium chloride hexahydrate.
Inputs at a glance
- Total system water volume – in liters, US gallons or UK gallons, example 400 L
- Calcium now – in ppm, example 400
- Calcium target – in ppm, example 430
- Alkalinity now – in dKH, example 7.5
- Alkalinity target – in dKH, example 8.5
- Magnesium now – in ppm, example 1250
- Magnesium target – in ppm, example 1350
Practical tips
- Use total system volume including the sump, minus rock displacement.
- Dissolve chemicals in RO water and add them slowly to a high-flow area, calcium and alkalinity at different times.
- Soda ash raises pH more than bicarbonate – useful for tanks with low pH, but add it slowly.
FAQ
What are normal reef levels?
Natural seawater has about 420 ppm calcium, 7–8 dKH alkalinity and 1,280–1,350 ppm magnesium. Many reefs run alkalinity slightly higher.
Should magnesium come only from chloride?
For occasional corrections it is fine. For long-term dosing many reefers combine magnesium chloride with some magnesium sulfate.