Keeping a reef tank stable means holding calcium, alkalinity, and magnesium near natural seawater values. This calculator converts the gap between your measured and target levels into a precise additive dose, scaled to your real water volume, and warns you when a correction should be spread across several days.
How it works
For each parameter the dose is proportional to the rise required and the system volume, using a known strength ratio for the additive:
dose (ml) = (target − current) / strengthRise × (volume / refVolume) × refDose
The defaults assume a concentrated calcium chloride part that raises calcium by about 100 ppm per 18 ml per US gallon, a carbonate part that raises alkalinity by about 1 dKH per 4 ml per US gallon, and a magnesium part that raises Mg by about 100 ppm per 12 ml per US gallon. Volumes are converted to US gallons internally so the ratios stay consistent regardless of the unit you enter.
Tips and safe limits
Raise alkalinity by no more than about 1 dKH per day and calcium by no more than about 50 ppm per day to avoid shocking corals. The tool highlights any dose that exceeds these limits. Correct magnesium before calcium and alkalinity, because low magnesium makes the other two impossible to hold. Target natural seawater values of roughly 420 ppm calcium, 8 dKH alkalinity, and 1350 ppm magnesium, and test regularly so your daily doses track consumption rather than overshooting.