SaltyIQ
All Articles
Water Chemistry

The Calcium-Alkalinity-Magnesium Relationship Explained

Understand how calcium, alkalinity, and magnesium work together in your reef tank — and what to do when one falls out of balance.

SaltyIQ TeamMarch 2, 20268 min read

The Big Three

If you keep a reef tank long enough, you will hear the phrase "the Big Three" — calcium, alkalinity, and magnesium. These three water parameters are the foundation of every thriving reef aquarium. They work together in a tightly connected chemical relationship, and when one falls out of line, the other two follow.

Think of it like a three-legged stool. Remove any leg and the whole thing tips over. Understanding how these parameters interact is the single most valuable thing you can learn as a reef keeper, because it turns confusing test results into clear action steps.

This article breaks down what each parameter does, why they depend on each other, and exactly what to do when your numbers are off.

What Corals Are Actually Doing

Every stony coral in your tank — whether it is an SPS frag the size of your thumbnail or an LPS colony the size of a softball — is quietly building a skeleton out of calcium carbonate (CaCO₃). This process is called calcification, and it runs around the clock in a healthy reef.

To build calcium carbonate, corals pull two things from your water: calcium ions (Ca²⁺) and carbonate ions (CO₃²⁻). The carbonate ions come from your water's alkalinity — its ability to buffer acids and supply carbonate. That is why calcium and alkalinity always drop together: corals consume them in a roughly fixed ratio.

Magnesium plays a different but equally critical role. It does not get built into the coral skeleton in large amounts. Instead, magnesium acts as a chemical stabilizer that prevents calcium and carbonate from spontaneously combining and crashing out of solution. Without enough magnesium, your calcium and alkalinity become unstable no matter how carefully you dose.

Coralline algae, clams, snails, and other invertebrates also consume the Big Three. The more calcifying organisms you have, the faster these parameters deplete — and the more important it is to keep the triangle balanced.

Calcium: The Building Block

Calcium is the raw material that corals use to grow. In natural seawater, calcium sits around 420 ppm, and most reef aquariums do best in the 400–450 ppm range. Below 380 ppm, coral growth slows noticeably. Above 480 ppm, you risk a dangerous precipitation event where calcium and alkalinity crash simultaneously.

Calciumppm
Low
Optimal
Danger
300550

Calcium depletion rate depends on how many corals you have and how fast they are growing. A tank full of SPS corals can drop 10–20 ppm per day, while a softies-only tank barely moves the needle. Test weekly at minimum — daily if you are dialing in a new dosing routine.

Guide

Salifert Calcium Test Kit Guide

Step-by-step interactive guide to accurate calcium testing.

Alkalinity: The Most Important Parameter

If you could only test one parameter, make it alkalinity. Alkalinity (measured in dKH or meq/L) represents your water's ability to buffer pH and supply carbonate ions for calcification. It is the most dynamic of the Big Three — it can swing faster than calcium or magnesium, and corals react to alkalinity changes more acutely than almost any other parameter.

The target range for most reef tanks is 7–11 dKH, with the sweet spot at 8–9 dKH for mixed reefs. The exact number matters less than stability — a reef at a steady 8.0 dKH will outperform one that bounces between 7 and 10.

AlkalinitydKH
Low
Acceptable
High
514

Alkalinity depletes faster than calcium in most tanks because biological processes beyond calcification (like pH buffering) also consume it. This is why many reefers find their alkalinity dropping faster than their calcium — it is completely normal and expected.

Guide

Hanna Alkalinity Checker Guide

Step-by-step guide for accurate digital alkalinity testing.

Magnesium: The Hidden Key

Magnesium is the parameter most reefers overlook, and it is the one that explains why dosing calcium and alkalinity sometimes just does not work. Magnesium sits at much higher concentrations than the other two — natural seawater is around 1350 ppm, and your target should be 1250–1400 ppm.

Magnesiumppm
Low
Optimal
High
Danger
11001600

Here is why magnesium matters so much: calcium and carbonate ions naturally want to combine and precipitate out of solution. Magnesium ions insert themselves into the crystal lattice and slow this precipitation down, keeping calcium and alkalinity dissolved and available for your corals.

When magnesium drops below 1250 ppm, calcium and alkalinity become chemically unstable. You will see a frustrating pattern: you dose calcium, alkalinity drops. You dose alkalinity, calcium drops. No matter what you do, you cannot get both to hold. The fix is almost always the same — raise magnesium first, and the other two will stabilize.

Guide

Salifert Magnesium Test Kit Guide

Step-by-step interactive guide for accurate magnesium testing.

How the Triangle Works Together

Now that you understand each parameter individually, here is how the triangle actually functions day to day in your tank.

Calcium and alkalinity are consumed together. Every time a coral builds a unit of calcium carbonate skeleton, it uses roughly equal parts calcium ions and carbonate (from alkalinity). This means that in a healthy, growing reef, both parameters drop at a predictable ratio. If you are dosing a balanced two-part solution, this ratio stays in check automatically.

Magnesium depletes slowly. Unlike calcium and alkalinity, magnesium consumption is gradual. Most tanks only need magnesium supplemented every week or two rather than daily. However, because magnesium levels are so much higher (1300 ppm vs 420 ppm for calcium), a small percentage drop still represents a significant absolute change.

The precipitation trigger. When magnesium is too low, or when calcium and alkalinity are both pushed too high simultaneously, you risk a snowstorm event — a sudden, rapid precipitation where calcium carbonate crystals form visibly in the water column. This crashes both calcium and alkalinity simultaneously and can be devastating to corals. The combination to avoid: calcium above 480 ppm + alkalinity above 11 dKH + magnesium below 1250 ppm.

The balance rule is simple: keep magnesium in range first, then maintain calcium and alkalinity together using a balanced dosing method. If one parameter drifts, the others will follow — so always correct in this order: magnesium → calcium → alkalinity.

What to Do With Your Results

Once you have tested all three parameters, use the table below to determine your next step. Find the scenario that matches your results and follow the recommended action.

ScenarioCa (ppm)Alk (dKH)Mg (ppm)Action
All in range400–4508–91300–1400Maintain current dosing. Test weekly.
Low calcium onlyBelow 4008–91300–1400Increase calcium dose. Do not change alkalinity.
Low alkalinity only400–450Below 71300–1400Increase alkalinity dose. Raise slowly — no more than 1 dKH per day.
Both Ca and Alk lowBelow 400Below 71300–1400Increase balanced two-part dosing. Both are being consumed — your corals are growing.
Low magnesiumAnyAnyBelow 1250Raise magnesium first before adjusting Ca or Alk. Target 1350 ppm over several days.
Ca high, Alk droppingAbove 460Below 7AnyStop calcium dosing. Dose alkalinity only until ratio corrects. Check Mg.
All highAbove 460Above 11Above 1450Stop all dosing. Perform a 20% water change. Risk of precipitation.

Use our dosing calculators to determine the exact amounts for your tank volume:

Calculator

Calcium Dosing Calculator

Calculate exactly how much calcium supplement your tank needs.

Calculator

Alkalinity Dosing Calculator

Calculate your alkalinity supplement dose based on current and target levels.

Calculator

Magnesium Dosing Calculator

Calculate magnesium supplementation for your reef aquarium.

Your Next Step

You now understand the chemistry behind the Big Three and how to read your test results as a connected system rather than three isolated numbers. The next step is putting this knowledge into practice with a consistent dosing routine.

If you have never dosed before, start with our guide on when to start dosing to learn the signs that your tank is ready. Already past that point? Jump straight to setting up your first two-part dosing routine for a practical, step-by-step walkthrough.

Test consistently, dose gradually, and always think in threes. Your corals will thank you.

Related Resources