Skip to content
reefcalcs

CO₂ / pH / Alkalinity Calculator

pH, alkalinity, and dissolved CO₂ form a tightly coupled system. Once you fix any two, the third follows from the carbonate equilibrium. The constants are different in seawater and fresh water, so this calculator has two modes. Use Saltwater for reef tanks and Freshwater for planted tanks. A reef tank whose pH won't climb above 7.9 at normal alkalinity usually has too much CO₂ in the room air, not too little alkalinity.

CO₂ / pH / Alkalinity

35 ppt ≈ 1.026 SG. Enter ppt, not SG.

pH
8.10
Alkalinity
8.00dKH
Dissolved CO₂
0.52mg/L

Estimate. Seawater constants, carbonate alkalinity only.

  • Hobby pH meters are calibrated with freshwater buffers and read seawater with some offset, and a 0.1 pH error changes CO₂ by about 25 %. Treat CO₂ as an estimate.

Seawater: CO₂ = carbonate alkalinity ÷ (K₁/[H⁺] + 2K₁K₂/[H⁺]²), with K₁ and K₂ from Millero et al. (2002). At 25 °C and 35 ppt, pK₁ ≈ 5.83 — not the freshwater 6.35, which would overstate reef CO₂ about 4×.

Sponsor this calculator

How this is calculated

SEAWATER (reef tanks):
  carbonate alkalinity = CO₂ × (K₁/[H⁺] + 2·K₁·K₂/[H⁺]²)
  pK₁ = 6.359 − 0.00664·S − 0.01322·t + 4.989e-5·t²
  pK₂ = 9.867 − 0.01314·S − 0.01904·t + 2.448e-5·t²
  (Millero et al. 2002; S = salinity ppt, t = °C)
  At 25 °C, 35 ppt: pK₁ ≈ 5.83, pK₂ ≈ 8.95

FRESHWATER (planted tanks):
  CO₂ [mg/L] = 15.7 × dKH × 10^(6.35 − pH)
  6.35 = pK₁ of carbonic acid in fresh water at 25 °C
  15.7 = 44.01 mg CO₂ per mmol ÷ 2.8 dKH per meq

In seawater, carbonic acid's apparent pK₁ is about half a unit lower than in fresh water, and at reef pH a good share of the alkalinity is carbonate rather than bicarbonate. Put both together and the planted-tank formula overstates reef CO₂ about four times. That's why the reef mode uses seawater constants.

For a reef tank holding 8 dKH at pH 8.1, dissolved CO₂ comes out near 0.5 mg/L. At pH 7.8 and the same alkalinity it is about 1.2 mg/L. That rise usually comes from poor room ventilation, not from coral consumption or an alkalinity problem. The fix isn't dosing more alk; it's fresher air at the skimmer intake.

Treat the reef result as an estimate. The seawater mode counts all of your alkalinity as carbonate alkalinity and ignores the small borate share. Hobby pH meters are calibrated with freshwater buffers, so they don't read exactly on the seawater pH scale these constants use. A 0.1 pH error alone moves CO₂ by about 25 %. Planted-tank keepers use the freshwater formula to target CO₂ injection, and it is only valid for fresh water.

FAQ

Why won't my pH go above 7.9 even with 9 dKH alk?
Usually room-air CO₂. Indoor air often carries far more CO₂ than outdoor air, and gas exchange at the skimmer and surface pulls the tank toward the room. Feeding the skimmer outdoor air or running a CO₂ scrubber on its air intake is the usual fix. Raising alkalinity is not the fix.
Can I use the planted-tank CO₂ formula for my reef?
No. The 15.7 × dKH × 10^(6.35 − pH) formula uses freshwater constants. In seawater it overstates CO₂ about 4×. Use the Saltwater mode, which uses seawater constants from Millero et al. (2002).
Does temperature matter?
Yes. In Saltwater mode the constants are adjusted for the temperature and salinity you enter. The Freshwater formula is fixed at 25 °C.
Share / embed this calculator

Paste this snippet into any blog or forum post that allows raw HTML to embed the calculator.

<iframe
  src="https://reefcalcs.com/embed/co2-ph/"
  width="100%"
  height="720"
  style="border: 2px solid #111412; max-width: 720px;"
  loading="lazy"
  title="reefcalcs CO₂ / pH / Alkalinity Calculator"
></iframe>

Sources & references

  1. 1.
  2. 2.
    UKAPS — Water pH by dKH and CO₂ values (freshwater formula)
    https://www.ukaps.org/forum/threads/water-ph-by-dkh-and-co2-values.77203/

Last reviewed