Reef alkalinity, calcium & magnesium dosing calculator

Work out how much of your chosen product raises alkalinity, calcium or magnesium to your target, and how many days to spread it over to keep the change gentle.

Inputs

Tank plus sump and plumbing, minus the space taken by rock and sand.

Holmes-Farley suggests 7–11 dKH (2.5–4 meq/L).

Baking soda to add

8.52g

Raises 75 gal from 7.0 dKH to 8.0 dKH.

Within the 1.4 dKH-a-day limit. Add it slowly to the sump or another high-flow spot, then re-test in a day.

Rise
+1.0 dKH
Total to add
8.52 g (0.30 oz)
Days to spread over
1
Per day
8.52 g
Daily limit
1.4 dKH
Alkalinity after dosing
8dKH

To raise alkalinity from 7.0 dKH to 8.0 dKH in 75 gal of water, add 8.52 g (0.30 oz) of baking soda (sodium bicarbonate). The gauge shows alkalinity after dosing (8.0 dKH) against the usual reef range of 7–11 dKH.

How it works

Every supplement is a known amount of the ion you want per gram (or per millilitre). The calculator multiplies the rise you want by your system’s volume and by that amount:

rise   = target − current        (meq/L for alkalinity; mg/L = ppm for calcium and magnesium)
amount = rise × volume (L) × product factor
days   = rounded-up (rise ÷ maximum safe rise per day)
  • Alkalinity is measured in meq/L, and 1 meq/L = 2.8 dKH = 50.04 ppm as calcium carbonate. Baking soda supplies 84.0 mg of bicarbonate salt per meq; soda ash supplies 53.0 mg.
  • Calcium and magnesium are found from the element’s share of the salt: calcium chloride dihydrate is 27.3% calcium, anhydrous calcium chloride 36.1%, magnesium chloride hexahydrate 12.0% magnesium and Epsom salt 9.9%.
  • Brand products use each maker’s own rate: Red Sea’s 1 mL per 100 litres, and the gram-per-gallon formulas from Brightwell and Seachem.
  • The gauge shows the level after dosing against the range Holmes-Farley suggests: alkalinity 7–11 dKH, calcium 380–450 ppm, magnesium 1250–1350 ppm. Amber and red bands are the warning zones either side.
  • Daily limits are the most cautious the makers publish: 20 ppm calcium, 1.4 dKH alkalinity and 10 ppm magnesium a day.

Worked example

A 75 gallon system at 7 dKH alkalinity, target 8 dKH, using baking soda:

  • Rise: 1 dKH ÷ 2.8 = 0.357 meq/L
  • Volume: 75 gal = 283.9 L
  • Baking soda: 0.357 × 283.9 × 0.0840 = 8.5 g (0.30 oz), within the 1.4 dKH daily limit, so one dose.

The same system needing calcium raised from 400 to 420 ppm with calcium chloride dihydrate: 20 × 283.9 × 0.00367 = 20.8 g. Raising magnesium by 100 ppm with magnesium chloride hexahydrate takes about 237 g, spread over ten days at the 10 ppm daily limit.

Dose safely

  • Go slowly and test. Split anything larger than the daily limit over several days, and test before every dose.
  • Dissolve and add to flow. Mix powders in a cup of tank or RO water and pour it slowly into the sump or a high-flow spot, never straight onto corals.
  • Check salinity first. Red Sea notes that a 1 ppt rise in salinity from evaporation raises calcium by about 13 ppm and magnesium by about 40 ppm, so top off with fresh water before you decide a parameter is low.
  • Keep them in balance. Corals use alkalinity and calcium together, about 1 meq/L of alkalinity for every 20 ppm of calcium. Dosing one without the other makes the gap grow.

Tips from the fish room

  • Use your real volume. Subtract rock and sand from the tank size and add the sump. Most systems hold less water than the label says.
  • Watch the trend, not one test. Two tests a week show how fast you use each element, which is the number you actually need to keep levels steady.
  • Pure chemicals are cheapest, brands are easiest. Baking soda and calcium chloride cost very little per dose. Branded liquids cost more but are pre-mixed and easy to meter.
  • Epsom salt adds sulfate. It raises magnesium, but the sulfate stays behind; Holmes-Farley’s recipes balance it with magnesium chloride.

FAQ

How much baking soda raises alkalinity by 1 dKH?

About 11.4 g per 100 US gallons, or 3.0 g per 100 litres. That is 84 mg of baking soda per litre for each 1 meq/L, and 1 meq/L is 2.8 dKH. Dose smaller than you think you need and test, because your real system volume is usually less than the tank's label.

Baking soda or soda ash?

Both add carbonate alkalinity. Soda ash (sodium carbonate) is stronger, so you need about 63% of the mass, and it raises pH more sharply when added; Holmes-Farley notes that about 0.5 meq/L of alkalinity as sodium carbonate raises pH by roughly 0.3 units right away. Baking soda is gentler, which is why many keepers use it for small, regular top-ups. Baking baking soda in an oven turns it into soda ash.

How fast can I raise alkalinity, calcium and magnesium?

Makers differ. Red Sea allows at most 1.4 dKH, 20 ppm calcium and 10 ppm magnesium a day. Seachem allows 24 ppm calcium and 25 ppm magnesium, and Holmes-Farley says he would not raise magnesium more than 100 ppm a day. The calculator uses Red Sea's more cautious limits and splits bigger rises over several days.

Why does the calculator disagree with my bottle?

Three usual reasons. Your real water volume (tank plus sump, less rock and sand) is not the label size. The product may not be pure. Or the maker's rate is rounded; for example Red Sea equates 100 litres with 25 gallons, which are 5% apart. Treat the result as a starting dose and let your test results decide the next one.

Can I dose calcium and alkalinity at the same time?

Not in the same spot. Adding strong doses together can make calcium carbonate precipitate. Red Sea's instructions add magnesium first, then alkalinity, then calcium, with about 10 minutes between each, into a high-flow area such as the sump.

Sources

  1. An Improved Do-it-Yourself Two-Part Calcium and Alkalinity Supplement System, Randy Holmes-Farley, Reefkeeping. 297 g of baking soda in a gallon is about 950 meq/L; 250 g of calcium chloride dihydrate in a gallon is about 18,500 ppm calcium; suggested ranges of calcium 380–450 ppm and alkalinity 2.5–4 meq/L (7–11 dKH).
  2. Do-It-Yourself Magnesium Supplements for the Reef Aquarium, Randy Holmes-Farley, Reefkeeping. Natural seawater magnesium is about 1285 ppm (1250–1350 is fine); a 100 gallon tank holds about a pound of it.
  3. Reef Care Program Foundation, Testing and Supplementing user manual, Red Sea. Maximum daily rise of calcium 20 ppm, alkalinity 0.5 meq/L (1.4 dKH), magnesium 10 ppm; dosing charts are based on 100 liters / 25 gallons.
  4. Reef Foundation A, B and C product pages, Bulk Reef Supply (Red Sea labels). 1 mL raises the calcium of 25 gallons by 2 ppm (A), the alkalinity by 0.036 meq/L or 0.1 dKH (B), and the magnesium by 1 ppm (C).
  5. Alkalin8.3-P dosing directions, Brightwell Aquatics (via Bulk Reef Supply). Gallons × dKH × 0.089 = grams; gallons × meq/L × 0.25 = grams.
  6. Reef Advantage Calcium and Reef Advantage Magnesium dosing instructions, Seachem. Calcium grams = gallons × mg/L × 0.0104, at most 24 mg/L a day; magnesium grams = gallons × mg/L × 0.05, at most 25 mg/L a day.

Formula and sources last checked September 30, 2026. How we test formulas.

Safety note: Estimates only. Equipment ratings vary by manufacturer, so always follow the manufacturer’s instructions and ratings, and ask a qualified professional when safety is at stake.