Skip to content

CO₂ calculator from KH and pH

Estimate dissolved CO₂ from your carbonate hardness and pH readings; with a reference table.

–Estimated dissolved CO₂
–Assessment

KH–pH–CO₂ table (mg/L)

KH \ pH 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6
1 30 19 12 7.5 4.8 3.0 1.9 1.2 0.8
2 60 38 24 15 9.5 6.0 3.8 2.4 1.5
3 90 57 36 23 14 9.0 5.7 3.6 2.3
4 120 76 48 30 19 12 7.6 4.8 3.0
5 150 95 60 38 24 15 9.5 6.0 3.8
6 180 114 72 45 29 18 11 7.2 4.5
8 240 151 96 60 38 24 15 9.6 6.0
10 300 189 119 75 48 30 19 12 7.5

Below 10: low for plants 10–30: suitable for planted tanks 30–40: watch your fish Above 40: dangerous for fish

The relationship between KH, pH and CO₂

Carbon dioxide dissolved in water forms carbonic acid and lowers pH. Carbonate hardness (KH) resists this drop. The three are linked; if you know KH and pH you can estimate the amount of CO₂:

CO₂ (mg/L) ≈ 3 × KH (dKH) × 10^(7 − pH)

Example: KH 4, pH 6.8 → 3 × 4 × 10^0.2 ≈ 19 mg/L.

What value is good?

  • Below 10 mg/L: normal in tanks without CO₂ injection. Enough for slow-growing plants (anubias, ferns, mosses).
  • 15–30 mg/L: the target range in planted tanks with CO₂ injection.
  • Above 30 mg/L: fish may start breathing fast at the surface. Turn CO₂ off at night and add an air stone.
  • Above 40 mg/L: dangerous for fish.

Why the result can be wrong

The formula assumes KH comes only from carbonate. The result does not reflect reality when:

  • phosphate-buffered pH regulators are used,
  • tannins from peat, catappa leaves or driftwood acidify the water,
  • an active substrate (aqua soil) lowers KH and pH itself.

That is why a drop checker (an indicator with 4 dKH reference fluid) is more reliable in tanks with CO₂: green indicates roughly 30 mg/L.

Measuring tips

  • Measure pH a few hours after CO₂ starts, while the light is on; it changes during the day.
  • Test KH with a drop kit; strip tests are not precise enough for this calculation.
  • Do not raise CO₂ suddenly; increase it slowly over days while watching the fish's breathing.