Knowledge Centre · Marine & reef

Reef chemistry: calcium, alkalinity and magnesium explained

A fish-only saltwater tank can run for years on salinity, ammonia, nitrite and nitrate alone. Add corals, clams or significant coralline algae, and three more parameters become genuinely important: calcium, alkalinity and magnesium, the raw materials calcifying animals build their skeletons from. Below is what each one does, why they move together chemically rather than independently, how to actually test them, and the early signs one has drifted — the "what and why" behind the numbers our Reef Dosing Calculator helps you dose to correct.

At a glance

Who needs this

Reef tanks with corals, clams or significant coralline algae growth; less critical for a fish-only system.

The core relationship

Calcium and alkalinity are consumed together by calcifying animals; magnesium keeps both stable in solution.

What this page won't do

Walk you through dosing arithmetic — see the Reef Dosing Calculator for that once you understand what you're targeting.

Calcium

Corals, clams, coralline algae and other calcifying organisms build their skeletons and shells largely from calcium carbonate, drawing dissolved calcium directly from the surrounding water as they grow[1]. In an established reef with active growth, calcium is consumed continuously, which is why it needs ongoing replenishment rather than a one-time correction. Research on coral calcification specifically has found that calcification rate tends to increase with the water's calcium-carbonate saturation state[1] — more available calcium and carbonate, kept in solution, generally means more material for calcifying animals to build with, within the ranges reef keepers typically maintain.

Alkalinity

Alkalinity measures water's capacity to buffer against pH swings, driven mainly by dissolved carbonate and bicarbonate ions — the same carbonate that calcifying animals combine with calcium to build their skeletons. It's usually reported in dKH (degrees of carbonate hardness), meq/L, or ppm as CaCO3, and it's worth checking which unit your specific test kit reports, since the same underlying reading looks like a very different number depending on the unit. Alkalinity is consumed alongside calcium as coral skeletons grow, and because it's also tied to pH stability, a swinging alkalinity reading can destabilise pH at the same time, compounding stress on livestock beyond the chemistry reading alone.

Magnesium

Magnesium doesn't get consumed by calcification the way calcium and alkalinity do, but it plays a supporting role that makes the other two possible: it slows how readily calcium carbonate crystallises out of solution[2]. Without enough magnesium present, calcium and alkalinity become harder to hold in solution together at reef-appropriate levels, and the two can precipitate out as scale on equipment and rockwork rather than staying available for corals to use. This is why magnesium is checked alongside calcium and alkalinity rather than treated as a separate, unrelated reading.

Why the three are chemically linked

These three parameters are grouped together because they're mechanically connected, not because they're interchangeable. A widely cited approximate ratio is around 20 ppm of calcium consumed for every 1 meq/L of alkalinity consumed (roughly 7 ppm calcium per 1 dKH) — useful context for why the two tend to move together in an actively growing reef, though actual consumption in your own tank depends on your specific livestock and growth rate, not this ratio alone. Magnesium sits underneath both, as the condition that keeps calcium and alkalinity stable together rather than a parameter with its own separate consumption story tied to growth.

Testing methods compared

General hobby convention; specific kits vary in method and precision.
Parameter Most common method Notes
Alkalinity Titration (drop-count) Widely regarded as more precise than colorimetric methods for this parameter specifically.
Calcium Titration (drop-count) Same drop-count approach as alkalinity, usually a separate reagent.
Magnesium Colorimetric or titration Generally considered adequate at lower precision, since magnesium doesn't need the same tight tolerance as alkalinity.

See our choosing a water test kit guide for the broader liquid-vs-strip-vs-digital comparison — reef chemistry test kits follow the same general accuracy trade-offs, with titration generally the most trusted method available for these three parameters specifically.

Target ranges

Widely cited hobby conventions, broadly consistent with natural seawater; not a single official standard.
Parameter Commonly cited range
Alkalinity Roughly 8–12 dKH
Calcium Roughly 380–450 ppm
Magnesium Roughly 1,250–1,400 ppm

As with salinity, stability within a sensible range matters at least as much as hitting an exact figure — choosing a target and holding it steady is generally more useful than chasing small swings toward a "perfect" number. Once you know your current readings and a target, our Reef Dosing Calculator scales your supplement's own stated dosing strength to your tank volume and the gap you're correcting.

Early warning signs of an imbalance

Coral polyps staying retracted or generally less extended than usual, slowed or stalled growth over weeks, and pale-looking tissue where an alkalinity swing has also disturbed pH stability are commonly reported early signs of a chemistry problem. None of these are exclusive to calcium, alkalinity or magnesium specifically — lighting, flow and other water-quality issues can produce similar signs — which is why testing directly, rather than diagnosing from coral appearance alone, is the more reliable approach. If coral is visibly losing colour rather than just looking less extended, see our coral turning white guide for the fuller differential between bleaching, tissue loss and normal variation.

How this differs from freshwater GH/KH

If you've kept a freshwater planted or hard-water tank, the underlying chemistry concept behind alkalinity here is genuinely the same carbonate buffering capacity our freshwater water hardness guide covers as KH. What doesn't transfer directly is everything specific to reef systems: the target ranges are different, calcium and magnesium interact with each other and with calcifying invertebrates in ways that have no freshwater equivalent, and the consumption dynamics depend on coral growth rather than the general hardness sources freshwater tanks deal with. Treat this as a related but distinct topic, not the same parameters under new names.

Common mistakes

  • Testing calcium and alkalinity but never magnesium, missing the parameter that keeps the other two stable together.
  • Chasing an exact target number rather than prioritising stability within a sensible range.
  • Diagnosing a chemistry problem from coral appearance alone without testing directly.
  • Assuming freshwater KH knowledge transfers directly to reef alkalinity targets, without accounting for the different ranges and calcium/magnesium relationship.
  • Correcting a large gap in a single dose rather than the gradual approach covered in our Reef Dosing Calculator's own guidance.

Frequently asked questions

Do I need to test calcium, alkalinity and magnesium in a fish-only saltwater tank?

Not with the same regularity a reef tank needs. These three matter most because calcifying organisms — corals, clams, coralline algae — draw on them continuously as they grow. A fish-only tank without corals or significant coralline algae growth has much lower demand, though basic testing is still worth doing occasionally, since natural seawater itself carries these minerals and extreme depletion can still occur over time.

Which should I test with a titration kit vs a colorimetric kit?

Alkalinity is most commonly tested by titration (counting drops until a colour change), which is widely regarded as more precise than colorimetric (colour-matching) methods for this specific parameter. Calcium is also commonly titration-based. Magnesium is more often colorimetric in hobby test kits, generally considered adequate for magnesium specifically since it doesn't need the same tight precision as alkalinity.

What are the first warning signs that calcium, alkalinity or magnesium is out of balance?

Coral polyps staying retracted or generally looking less extended than usual, slowed or stalled growth, and — for pH-linked alkalinity swings specifically — coral tissue appearing paler are commonly reported early signs, though none of these are exclusive to a chemistry imbalance and can also indicate lighting, flow or other water-quality issues. Testing directly is more reliable than trying to diagnose an imbalance from coral appearance alone.

Can I use freshwater GH/KH testing knowledge for reef chemistry?

The underlying chemistry concepts overlap — alkalinity in a reef tank is essentially the same carbonate buffering capacity that KH measures in freshwater — but the target ranges, the calcium/magnesium relationship, and the consumption dynamics from calcifying invertebrates are specific to reef systems and don't transfer directly. Treat reef chemistry as a related but distinct topic from our freshwater water hardness guide, not the same parameters under a different name.

How AquaPulse can help

Reef chemistry rewards consistency over any single reading — a coral responding to a slow, weeks-long alkalinity decline needs that decline actually visible as a trend to catch it before growth stalls, not a single day's number that still sits technically "in range." Three separate readings, tracked in isolation, make that trend far harder to see than the same three readings kept together.

This is where a logbook does more than a memory ever could. AquaPulse doesn't test calcium, alkalinity or magnesium for you — it has no way to — but keeping all three together in one place, entry after entry, is what turns three separate numbers into a trend you can actually act on. iOS and Android both have it; the Water Check feature page explains how the logging itself works.

Sources and uncertainty

Published
8 August 2026
Last reviewed
8 August 2026
Written and maintained by
AquaPulse (Valeon Labs Ltd)

This guide draws on the same peer-reviewed coral-calcification research and reef-hobbyist sources already cited in our Reef Dosing Calculator's own supporting content, extended here with testing-methodology and diagnostic-sign detail the calculator page doesn't cover. Target ranges reflect widely cited hobby convention rather than one official standard, and we've said so explicitly rather than presenting a single figure as definitive. We'll update this page if we find something we've got wrong.

Good to know: This guide provides general informational guidance only. It does not recommend a specific brand or product, and does not replace testing your own tank's actual readings.

What we deliberately left out: a specific dosing calculation or supplement recommendation, since that's the Reef Dosing Calculator's own scope and this guide is deliberately focused on the underlying chemistry rather than duplicating the tool's dosing-method comparison; and precise numeric consumption rates for every coral type, since this varies too much by species, growth rate and stocking to state reliably.