treamz

Aquarium CO₂ calculator: ppm from KH and pH, with chart

Estimate dissolved CO₂ in ppm from KH (dKH or ppm CaCO₃) and pH, with a colour-coded KH/pH/CO₂ chart and the cases where the chart misleads.

Checked Runs in your browser: nothing you enter is sent anywhere.

Dissolved CO₂ in an aquarium can be estimated from carbonate hardness and pH: CO₂ (ppm) = 3 × KH (dKH) × 10^(7 − pH). At 4 dKH and pH 6.6 that gives 30 ppm, the level most planted tanks aim for. Enter your own readings below; KH can be in degrees (dKH) or in ppm as CaCO₃.

Where the formula comes from

In fresh water at aquarium pH, carbonate hardness is almost all bicarbonate (HCO₃⁻), and bicarbonate and dissolved CO₂ are an acid–base pair: [CO₂] = [HCO₃⁻] × 10^(pK₁ − pH). One dKH is 17.848 mg/L as CaCO₃, which is 0.357 mmol/L of bicarbonate; multiplied by 44.01 g/mol for CO₂, that is 15.7 mg/L × 10^(pK₁ − pH). Rewriting around pH 7 gives a constant of 15.7 × 10^(pK₁ − 7). The hobby value of 3 corresponds to a pK₁ of about 6.28; the textbook pK₁ of 6.35 at 25 °C gives about 3.5. The rounded 3 is what the published KH/pH/CO₂ charts use, so this page uses it too, but read the result as ±15% at best before any measurement error.

For KH in ppm CaCO₃, divide by 17.848 first: 71 ppm is 4 dKH. Some kits label degrees as °dH, °KH or dKH; they are the same unit for carbonate hardness.

A worked example

Your KH test reads 5 drops for a kit that counts one drop per degree, so KH = 5 dKH. In the evening, with CO₂ on for a few hours, your pH meter reads 6.7. CO₂ = 3 × 5 × 10^(7 − 6.7) = 15 × 10^0.3 = 15 × 1.995 = 30 ppm, the top of the usual target. To land on 25 ppm instead you would let the pH settle near 6.78.

KH, pH and CO₂ chart

CO₂ in ppm from the formula above. Columns are pH, rows are KH.

  • under 15 ppm, low
  • 15–30 ppm, target
  • 30–45 ppm, high
  • over 45 ppm, dangerous
KH \ pH6.06.26.46.66.87.07.27.47.6
1 dKH (18 ppm)3019127.54.83.01.91.20.8
2 dKH (36 ppm)603824159.56.03.82.41.5
3 dKH (54 ppm)90573623149.05.73.62.3
4 dKH (71 ppm)12076483019127.64.83.0
5 dKH (89 ppm)15095603824159.56.03.8
6 dKH (107 ppm)18011472452918117.24.5
8 dKH (143 ppm)24015196603824159.66.0
10 dKH (178 ppm)30018911975483019127.5
12 dKH (214 ppm)36022714390573623149.0

The bands are rough conventions used by planted-tank keepers, not toxicity thresholds. Fish tolerance depends on species, oxygen level and surface movement; a well-aerated tank tolerates more CO₂ than a still one.

When the chart is wrong

The formula assumes carbonate is the only thing buffering the water and CO₂ the only thing moving its pH. That is often not true:

  • Phosphate and other buffers raise the measured KH without being bicarbonate, so the chart reads high. Some pH-down products and buffers are phosphate-based.
  • Tannins and humic acids from driftwood, leaves, peat and active soils lower pH without CO₂, so the chart reads high again, sometimes by a lot.
  • Low KH (below about 2 dKH) makes small errors in the KH test, often one drop, a large share of the result.
  • pH test accuracy matters most: 0.1 pH is a factor of 1.26 in CO₂. Colour-card pH kits rarely resolve better than 0.2.

Two methods sidestep most of this. A drop checker holds its own 4 dKH reference solution with bromothymol blue behind an air gap, so only CO₂ reaches it; at 4 dKH, green (about pH 6.6) is roughly 30 ppm. The pH-drop method compares a sample of tank water fully degassed overnight with the tank at full injection: since a fully degassed sample holds only a few ppm, a drop of about 1.0 pH means about ten times that, often quoted as close to 30 ppm. Both still lag the tank by an hour or two.

More water calculators are on the aquarium calculators page.

Sources

  • Carbonate hardness, Wikipedia (the 3 × KH × 10^(7 − pH) relation and its assumption of carbonate-only buffering).
  • Measuring CO₂, Aquarium Science (drop checker and pH-drop methods).
  • Drop checkers: why and how, The Barr Report (the 4 dKH reference solution).
  • Harned H. S., Davis R. (1943), “The ionization constant of carbonic acid in water”, Journal of the American Chemical Society 65: 2030–2037 (pK₁ ≈ 6.35 at 25 °C).

Questions

How do you calculate CO2 ppm in an aquarium?

Use CO2 (ppm) = 3 × KH (dKH) × 10^(7 − pH). With 4 dKH and pH 6.6 the result is about 30 ppm.

What is the ideal CO2 level for a planted aquarium?

Most planted-tank keepers aim for about 30 ppm, with 15–30 ppm the usual working range. Start lower and raise injection slowly while watching the fish.

How do I convert KH in ppm to dKH?

Divide ppm as CaCO3 by 17.848. For example, 71 ppm is 4 dKH and 107 ppm is 6 dKH.

Why is the KH pH CO2 chart inaccurate?

It assumes carbonate is the only buffer and CO2 the only acid. Phosphate buffers, tannins from wood and active soils all shift pH or KH and make the chart read high.

What pH should I aim for with CO2 injection?

It depends on your KH. At 4 dKH about 30 ppm is pH 6.6; at 6 dKH it is about pH 6.8. A drop of about 1.0 pH from fully degassed water is the common rule of thumb.

How does a drop checker work?

It holds a 4 dKH reference solution with a pH indicator, separated from the tank water by an air gap. Only CO2 crosses the gap, so the colour reflects CO2 alone: green is about 30 ppm.