The reef trinity: alkalinity, calcium, magnesium balance

A reef hobbyist who's been running mixed reefs for 15 years walks through the chemistry of the three major reef parameters — alkalinity, calcium, and magnesium — what they actually are, how they interact, and the four mistakes that destabilize the balance.

The reef trinity: alkalinity, calcium, magnesium balance

There is a moment in every reef keeper's journey when the conversation shifts from "what fish can I put in this tank" to "what is my alkalinity, what is my calcium, and what is my magnesium, and how are they interacting." That moment usually comes 6–18 months into the hobby, after the first successful cycle, after the first addition of corals, after the first sign that the corals are growing (which is exciting) or that the corals are struggling (which is terrifying). The conversation is the entry into reef chemistry, and the chemistry is the foundation of every successful reef I've ever built. The keeper who understands the trinity is the keeper whose corals grow, whose alkalinity is stable, and whose tank does not crash. The keeper who doesn't is the keeper whose tank eventually does.

This article is going to walk you through what the three parameters actually are, why they matter, how they interact, what the target values are for different reef types, and the four mistakes I see most often that destabilize the balance. I'm going to assume you have a cycled saltwater tank with a basic test kit and an interest in adding or maintaining corals. If you are still at the cycling stage, my earlier article on cycling is the right starting point.

The goal is to give you a working understanding of the chemistry, not a PhD in carbonate equilibria. Reef chemistry is genuinely complex at the academic level, and the deeper you go, the more interesting it gets. But for the practical work of running a reef tank, the framework below is the framework that matters. Master it, and 90% of the reef-keeping problems you would otherwise face simply do not appear.

Why these three, and not other parameters

The three parameters — alkalinity, calcium, and magnesium — are linked by the chemistry of calcium carbonate, the material that stony corals, coralline algae, and many other reef organisms use to build their skeletons. The equilibrium between dissolved calcium and bicarbonate ions in seawater produces calcium carbonate, which precipitates onto the growing surfaces of corals and coralline algae. The reaction is reversible, and the rate at which it proceeds in either direction is determined by the concentrations of the three ions involved: calcium (Ca²⁺), bicarbonate/carbonate (HCO₃⁻ / CO₃²⁻, measured together as "alkalinity"), and magnesium (Mg²⁺).

The third parameter, magnesium, is in some ways the most important and the most under-discussed. Magnesium does not directly participate in the calcium carbonate precipitation reaction, but it is present in seawater at roughly 1,300 ppm (compared to calcium at 420 ppm), and the high magnesium-to-calcium ratio in seawater is what prevents calcium carbonate from precipitating out of solution spontaneously. Without sufficient magnesium, the alkalinity and calcium would combine into a calcium carbonate precipitation event that would deplete both parameters in a matter of days and smother the tank. Magnesium, in effect, is the stabilizer. It is the parameter that keeps the trinity from collapsing.

The other reef parameters — pH, temperature, salinity, phosphate, nitrate, trace elements — matter, but they matter in different ways. The trinity is the foundation. The others are built on top.

Alkalinity: what it is, and what it is not

Alkalinity in a reef tank is the measure of the water's ability to buffer acids, primarily through the bicarbonate (HCO₃⁻) and carbonate (CO₃²⁻) ions. The standard unit in reef-keeping is dKH (degrees of carbonate hardness), where 1 dKH is approximately 17.86 mg/L of bicarbonate. Natural seawater has an alkalinity of approximately 8 dKH. A typical mixed reef runs at 7.5–10 dKH. An SPS-dominant (small polyp stony coral) reef often runs at 7.5–9 dKH. A LPS-dominant (large polyp stony) or soft coral reef often runs at 8–10 dKH.

What alkalinity is not: it is not pH. The two are related (low alkalinity can produce low pH, high alkalinity can produce high pH), but they are not the same. pH is the measure of how acidic or basic the water is at a specific moment. Alkalinity is the measure of how well the water can resist a change in pH when an acid is added. A tank with high alkalinity and low pH is buffering an acid load. A tank with low alkalinity and high pH is in a transient state that is about to crash.

Why alkalinity matters: corals and coralline algae consume alkalinity as they build calcium carbonate skeletons. A growing mixed reef consumes roughly 1–2 dKH per week, sometimes more in a heavily-stocked tank. If the alkalinity is not replenished, the tank will gradually run out of alkalinity, the pH will drop, and the corals will stop growing. The alkalinity drop is the single most common cause of coral decline in established reefs.

Target alkalinity values for a mixed reef:

  • 7.5–9 dKH for an SPS-dominant tank. SPS corals are sensitive to alkalinity swings, and a stable alkalinity in this range produces good growth and good coloration.
  • 8–10 dKH for a mixed reef. A common range for tanks with a mix of SPS, LPS, and soft corals.
  • 8–11 dKH for an LPS or soft coral tank. The less-demanding corals tolerate the higher end of the range.

The key word is stability. A reef that swings between 7 and 11 dKH is a stressed reef. A reef that holds at 8.5 ± 0.3 dKH is a stable reef. The target is not a specific value. The target is a stable value within the appropriate range for the corals you keep.

Calcium: the structural element

Calcium in a reef tank is the measure of dissolved calcium ions (Ca²⁺) in the water. The standard unit is ppm (parts per million), which is equivalent to mg/L. Natural seawater has a calcium concentration of approximately 420 ppm. A typical reef runs at 380–450 ppm.

Why calcium matters: corals and coralline algae use calcium, along with carbonate, to build calcium carbonate skeletons. A growing reef consumes calcium, and like alkalinity, the calcium must be replenished. The consumption rate varies, but a typical mixed reef consumes 10–30 ppm per week.

Target calcium values for a mixed reef:

  • 380–450 ppm for an SPS-dominant tank. SPS corals prefer the higher end of the range.
  • 400–450 ppm for a mixed reef.
  • 380–450 ppm for an LPS or soft coral tank.

The relationship between calcium and alkalinity. The two parameters are consumed together in the calcium carbonate precipitation reaction. For every 1 dKH of alkalinity consumed, roughly 18–20 ppm of calcium is consumed (the exact stoichiometry depends on whether the precipitation is as aragonite or calcite, but the practical ratio for reef-keeping is approximately 18 ppm calcium per 1 dKH alkalinity). A dosing system that maintains both parameters in this ratio will produce stable values for both.

A common mistake is to dose calcium and alkalinity as if they were independent. They are not. A calcium drop without a corresponding alkalinity drop suggests a calcium-specific consumption (rare) or a measurement error. An alkalinity drop without a corresponding calcium drop suggests a measurement error. The two typically move together, and the dosing system should reflect that.

Magnesium: the silent stabilizer

Magnesium in a reef tank is the measure of dissolved magnesium ions (Mg²⁺) in the water. The standard unit is ppm. Natural seawater has a magnesium concentration of approximately 1,300 ppm (some sources cite 1,350 ppm; the difference is geographic). A typical reef runs at 1,300–1,400 ppm.

Why magnesium matters: as I noted above, magnesium is the stabilizer that prevents spontaneous calcium carbonate precipitation. The mechanism is that magnesium ions bind to the surface of growing calcium carbonate crystals, blocking further crystal growth. Without sufficient magnesium, the alkalinity and calcium would combine into an insoluble calcium carbonate precipitate (literally, a snowstorm of crystals in the tank), which would deplete both parameters and smother everything in its path.

A magnesium deficiency in a reef tank is a slow-motion disaster. The first sign is often an alkalinity and calcium level that will not stay up despite aggressive dosing. The reason is that the alkalinity and calcium are precipitating out of solution as fast as they are added, because the magnesium is too low to prevent it. The fix is to dose magnesium, wait for the levels to stabilize, and then resume the normal alkalinity and calcium dosing.

Target magnesium values for a mixed reef:

  • 1,300–1,400 ppm. The natural seawater value. Most reef keepers target this range without further adjustment.
  • 1,250–1,300 ppm is acceptable but on the low end. Watch for signs of calcium carbonate precipitation.
  • Below 1,250 ppm is a magnesium deficiency. Dose magnesium chloride or a magnesium supplement.

Why magnesium drops. Magnesium drops slowly in most reefs, through consumption by coralline algae, by some coral species, and by adsorption onto the surfaces of calcium carbonate skeletons. The drop is much slower than the alkalinity or calcium drop (typically 5–20 ppm per month), but it is real. Most reef keepers test magnesium monthly and dose as needed.

A note on magnesium dosing: the standard practice is to dose magnesium chloride (MgCl₂) or a combination of magnesium chloride and magnesium sulfate (MgSO₄) in reef-specific dosing supplements. The dose should be calculated to bring the tank to the target value, and the change should be made slowly (no more than 50 ppm per day) to avoid shocking the corals.

The four mistakes that destabilize the trinity

Mistake 1: Dosing alkalinity and calcium independently. Some reef keepers dose a calcium supplement and an alkalinity supplement as if they were independent. They are not. A growing reef consumes them in a fixed ratio, and a dosing system that does not respect the ratio will produce one parameter that climbs while the other drops, which is the worst possible state for a reef (corals prefer both parameters to be stable, and a parameter that is climbing is as stressful as one that is dropping).

The fix is a balanced dosing system. The two main options:

  • Two-part dosing system. A calcium chloride / calcium supplement dosed separately from an alkalinity supplement (sodium bicarbonate, sodium carbonate, or a balanced commercial product). The doses are calculated to maintain the consumption ratio. Most commercial two-part systems (BRS 2-Part, Red Sea Foundation, Tropic Marin All-For-Reef) are designed around this ratio.
  • Balanced single-part dosing system. A single supplement that includes calcium, alkalinity, and magnesium in the consumption ratio. All-For-Reef by Tropic Marin is the standard product in this category. The single-part approach is simpler to use but more expensive per dose.

Mistake 2: Making large corrections. A reef that is at 6 dKH alkalinity and 350 ppm calcium (a moderately depleted state) is a reef that needs to be brought up to target slowly. The temptation is to dose heavily to bring the values up quickly. The result is a swing in the parameters that stresses the corals more than the depletion did. The target should be a return to 8 dKH and 420 ppm over 1–2 weeks, not 24 hours.

The rule: change any single parameter by no more than 0.5 dKH per day for alkalinity, no more than 20 ppm per day for calcium, no more than 50 ppm per day for magnesium. The slow approach produces a stable tank. The fast approach produces a stressed tank.

Mistake 3: Testing too rarely. A reef that is tested monthly is a reef whose parameters are drifting for 3–4 weeks before the keeper finds out. The standard testing frequency for an established reef is alkalinity 2–3 times per week (because alkalinity is the most rapidly-changing parameter), calcium weekly, magnesium monthly. The tests are quick and inexpensive, and the information is essential.

A useful tool: a continuous alkalinity monitor (e.g., the Alkatronic, the Kamoer F4, the Pinpoint). These devices measure alkalinity every few hours and provide trend data that catches a drift long before a weekly test would. They are not inexpensive ($200–500), but for a heavily-stocked reef, they are worth it.

Mistake 4: Ignoring the salt mix. The salt mix is the source of all three parameters in a reef tank. A salt mix that is low in calcium (some inexpensive salt mixes are) is a salt mix that will produce a chronically low calcium, regardless of how much calcium is dosed. The salt mix that is high in alkalinity (some reef-specific mixes are) is a salt mix that will produce a chronically high alkalinity. The fix is to choose a salt mix that hits the target values for your reef, and to test the freshly-mixed saltwater to verify.

The salt mixes I use, in order of preference:

  • Tropic Marin Pro-Reef. A high-calcium, moderate-alkalinity, magnesium-balanced mix. The closest to natural seawater of the major commercial salt mixes.
  • Red Sea Coral Pro. Similar profile, designed for reef tanks.
  • Instant Ocean Reef Crystals. A budget-friendly option that is acceptable for less-demanding reefs.

The test of the salt mix is to mix a fresh batch of saltwater at the target specific gravity (1.025–1.026), test the three parameters, and verify they are in the right ballpark. If the freshly-mixed saltwater is outside the target, the salt mix is the wrong one for the reef.

The daily practice of running a trinity

Here is the daily, weekly, and monthly practice that I follow on my own reefs:

Daily: check the dosing system (whether manual or automatic) to confirm the doses are being delivered. Check the tank for any visible changes (coralline algae growth, coral polyp extension, water clarity). Note any anomaly for follow-up.

2–3 times per week: test alkalinity. Record the value. Calculate the trend (rising, falling, stable). Adjust the dose if the trend is moving in the wrong direction.

Weekly: test calcium. Compare the calcium trend to the alkalinity trend. If the two are moving in parallel (which they should be), the system is balanced. If one is moving without the other, there is a problem to investigate.

Monthly: test magnesium. Test the freshly-mixed saltwater for all three parameters (to verify the salt mix is consistent). Calibrate the dosing system if needed.

Every 2–3 months: send a sample for ICP (inductively coupled plasma) testing. The ICP test measures the trace elements (strontium, iodine, iron, manganese, etc.) that are not part of the trinity but that are part of a complete reef water profile. The cost is $30–50 per test, and the information is valuable for catching trace element deficiencies before they affect coral health.

The bottom line

The reef trinity — alkalinity, calcium, and magnesium — is the foundation of a stable reef. The three parameters are linked by the chemistry of calcium carbonate, the material that corals use to build their skeletons. A reef that maintains the trinity in the right ratios, with the right values, and with the right stability, is a reef that grows corals for decades. A reef that does not is a reef that struggles, declines, and eventually crashes.

The right values are 7.5–10 dKH for alkalinity, 380–450 ppm for calcium, and 1,300–1,400 ppm for magnesium, with the exact range determined by the corals you keep. The right stability is no more than 0.5 dKH alkalinity change per day, no more than 20 ppm calcium change per day, no more than 50 ppm magnesium change per day. The right practice is testing 2–3 times per week for alkalinity, weekly for calcium, monthly for magnesium, and adjusting the dosing system based on the trend.

The four mistakes — independent dosing, large corrections, infrequent testing, and ignoring the salt mix — are the most common destabilizers. The fix in each case is a commitment to the framework and the discipline to follow it. A reef that runs on this framework is, in my experience, a reef that runs well. The chemistry is not optional. The chemistry is the foundation.

---

About the author

Olivia Brown is a long-time reef hobbyist and consultant with 15+ years of experience ranging from nano-reefs to 300-gallon mixed reef systems. She has worked with both hobbyists and small commercial aquaculture operations on tank cycling, husbandry, and long-term system design, and is a strong advocate for understanding the chemistry of the systems we run.

Olivia Brown

Olivia Brown

🐠 Marine biologist

Olivia Brown holds a PhD in marine biology from the University of Miami and has 10 years of marine aquarium practice spanning reef systems, coral husbandry, and large public-aquarium life support design.

→ View all 30 articles by Olivia Brown