Aquarium CO2 calculator: pH/KH, pH drop and drop checker

CO2 ≈ 3 × KH (dKH) × 10^(7 − pH), so 4 dKH at pH 6.6 is about 30 ppm. Because a 0.1 pH error changes the answer by 26%, the calculator gives a range. Aqua soil, peat, driftwood and phosphate make the chart read too high; the pH-drop method or a drop checker is more reliable there.

ToolsBy Aquiio teamUpdated
KH unit
pH measured with
Anything in the tank that lowers pH without lowering KH?
Embed this tool on your site

Free to embed with the credit link kept.

How this is calculated

Three methods from data/calculators.json, the same code as the Aquiio app (checked against it case by case):

  • pH and KH (confidence medium): CO2 (ppm) = 3.0 × KH (dKH) × 10^(7 − pH). KH in ppm CaCO3 is divided by 17.848 first. The low and high ends use KH ± 0.5 dKH and your pH accuracy (0.1 for a meter, 0.2 for a colour kit). Below 1 dKH no number is shown.
  • pH drop (confidence medium): CO2 = baseline × 10^(degassed pH − pH now). With KH unchanged, unknown buffers cancel out.
  • Drop checker (confidence medium): the reference solution's pH = 7 − log10(CO2 ÷ (3 × reference KH)). Treating green as about pH 6.6 is our own derivation from the "4 dKH green ≈ 30 ppm" rule; it reproduces the UKAPS note that a 3 dKH solution turns green near 20 ppm (formula: 22.6).

Table: CO2 (ppm) from pH and KH, midpoint of the formula

pH2 dKH (35.7 ppm CaCO3)4 dKH (71.4 ppm)6 dKH (107 ppm)8 dKH (143 ppm)
7.06121824
6.810192938
6.615304560
6.424487296

Source: formula in data/calculators.json (The Krib cross-check: KH 10, pH 7.0 gives 30.05 mg/L on the Krib table, 30.0 by formula). Treat every cell as ± about 26% for a 0.1 pH error.

Where the pH/KH chart breaks down

The chart assumes all of your KH comes from carbonate and bicarbonate. Anything else that moves pH breaks it:

  • Aqua soil lowers pH on its own; 2Hr Aquarist calls the chart useless in that case.
  • Peat, leaves, botanicals and driftwood tannins are weak acids: pH falls, KH does not, and the chart reports CO2 that is not there.
  • Phosphate buffers in the pH 5–7 range (aquariumscience 15.6.2; The Krib).
  • pH precision dominates: 0.1 pH changes the result by a factor of 10^0.1 = 1.26. Roger Miller on The Krib states 20–25% per 0.1 pH, and his own example (KH measured 7 that could be 6–7, pH 7.2–7.6) gives "less than 5 ppm to about 13 ppm".

That is why the calculator shows a range and switches to a warning when you tick any of those boxes.

Target ranges

Table: CO2 ranges for planted tanks by source

SourceCO2 (ppm)Note
Green Chapter15–30Working range for planted tanks
aquariumscience10–25Target; 15–20 typical, many run 30–35
Estimative Index (Barr 2006)20–30Water-column target with EI dosing
PPS-Pro10–20Lower-light, lean dosing method
aquariumscience, The Kribabove 30Harm risk; larger fish like discus "would be in trouble"

Sources: data/calculators.json reference tables (co2_ranges, ei_targets, pps_pro_targets).

Drop checker colours

A drop checker holds a separate reference solution (usually 4 dKH) with bromothymol blue, which is yellow below pH 6.0 and blue above 7.6. Only CO2 gas crosses the air gap, so your tank's other buffers do not matter. Blue means too low, green about right (about 30 ppm), yellow too high (CO2Art 4 dKH solution text). The checker lags behind the tank; how long was not found in a source we opened, so the app does not state a time.

Frequently asked questions

How do you calculate CO2 from pH and KH?

CO2 (ppm) ≈ 3 × KH (dKH) × 10^(7 − pH). At 4 dKH and pH 6.6 that is about 30 ppm. It only works when carbonate is the only buffer, and a 0.1 pH error changes the result by about 26%.

What does a 1 pH drop mean for CO2?

A 1.0 pH drop from the degassed baseline to the CO2 peak is about 30 ppm, which 2Hr Aquarist gives as the usual aim (up to a 1.2 drop). The method works with aqua soil because unknown buffers cancel out.

What colour should my drop checker be?

Green with a 4 dKH reference solution, which is about 30 ppm. Blue means too little CO2, yellow too much. Never read an exact number from the shade.

Why is my pH/KH CO2 reading so high?

Aqua soil, peat, botanicals, driftwood tannins and phosphate lower pH without lowering KH, so the chart overstates CO2. Use the pH-drop method or a drop checker in those tanks.

How much CO2 is too much for fish?

aquariumscience and The Krib put the harm risk above 30 ppm, and larger fish such as discus are affected first. Many planted tanks still run 30–35 ppm with strong surface movement.

Sources