Estimating Dissolved CO2 from pH and KH and Its Limits

You can estimate dissolved carbon dioxide (CO2) in a freshwater aquarium using the formula CO2 (ppm) = 3 × KH (in dKH) × 10^(7 - pH), targeting 20–30 ppm (mg/L) for pressurized planted tanks. However, this calculation only works reliably in water buffered strictly by carbonates and bicarbonates between 2 and 10 dKH (36–179 ppm CaCO3) with 0.01–0.05 pH meter precision; active aquasoil, driftwood tannins, phosphate buffers, and coarse liquid drop kits routinely skew the estimate by 50% or more.

The pH-KH-CO2 Formula and How to Calculate It

Multiply 3 by your carbonate hardness (dKH) and 10 raised to the power of (7 - pH) to get estimated CO2 in parts per million (ppm, equivalent to mg/L in freshwater).

CO2 (ppm) = 3 × KH (dKH) × 10^(7 - pH)

If your KH test kit reports in ppm (mg/L CaCO3) instead of degrees of carbonate hardness (dKH), divide the ppm reading by 17.85 first:

KH (dKH) = KH (ppm) ÷ 17.85

Step-by-Step Example

Suppose your tank measures 4 dKH (71 ppm) and pH 6.6 during the middle of the lighting period:

  1. Subtract pH from 7: 7 - 6.6 = 0.4
  2. Raise 10 to that power: 10^0.4 = 2.51
  3. Multiply by 3 and KH: 3 × 4 × 2.51 = 30.1 ppm CO2

Target CO2 Ranges for Freshwater Tanks

Setup Type Target Dissolved CO2 Notes
Uninjected / Fish-Only 2–3 ppm Atmospheric equilibrium with normal surface agitation
Low-Tech Planted (15–30 PAR, 6–8 hr/day) 2–5 ppm Ambient equilibrium; no pressurized injection needed
Medium-Light Planted (30–50 PAR, 7–8 hr/day) 10–20 ppm (if injected) Optional CO2; improves growth and reduces algae pressure
High-Tech Planted (50–100+ PAR, 6–8 hr/day) 20–30 ppm Pressurized CO2 required; aim for ~25–30 ppm at peak light
Livestock Stress Zone >35–40 ppm Risk of surface gasping, lethargy, and suffocation

Dissolved CO2 Lookup Table (pH vs. KH)

Use this chart only when your tank uses inert substrate, has no phosphate or organic buffers, and stays between 2 and 10 dKH. Values are in ppm (mg/L), rounded to the nearest whole number at 10 ppm and above.

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

Bold values (19–30 ppm) fall in the typical injected planted-tank target zone. Values above 40 ppm are hazardous to fish and shrimp.

Five Limits That Break the pH-KH-CO2 Estimate

The pH-KH chart assumes carbonic acid is the only acid lowering pH and bicarbonate is the only base raising KH; whenever other acids or buffers are present, the formula produces false numbers.

1. Active Aquasoil and Low-KH Water (0–2 dKH)

Active aquasoil absorbs carbonate hardness and releases humic and organic acids to buffer pH into the 5.5–6.5 range. If your tank sits at 0.5–1 dKH and pH 6.2 from aquasoil alone, the chart will claim you have 10–19 ppm CO2 even when zero CO2 is injected and actual dissolved CO2 is 2–3 ppm. At 0 dKH, the formula outputs 0 ppm regardless of how much CO2 you inject.

2. Non-Carbonate Buffers (Phosphates, Tannins, and Additives)

Standard aquarium KH drop kits do not measure carbonate and bicarbonate directly—they measure total alkalinity (all bases that neutralize acid).

  • Phosphate-based pH buffers raise your measured KH without adding bicarbonate, causing the chart to overestimate CO2.
  • Driftwood tannins, peat, and botanicals release weak organic acids that push pH down without adding CO2, also causing the chart to overestimate CO2.

3. Coarse Liquid Test Kit Resolution

Because the pH scale is logarithmic, a small reading error creates a massive CO2 error:

  • A 0.2 pH shift changes the calculated CO2 by 58%. At 4 dKH, misreading a color chart as pH 6.6 instead of pH 6.8 jumps your estimate from 19 ppm to 30 ppm.
  • Liquid KH drop kits resolve in 1 dKH steps (1 drop = 1 dKH). At 2 dKH, being off by a single drop swings the calculated CO2 by 50%.

4. Temperature and Ionic Strength Shifts

The constant 3 in the formula is calibrated near 77°F (25°C) in low-TDS freshwater. Cooler setups (such as 65–70°F / 18–21°C) hold more dissolved gas and alter carbonate dissociation constants slightly. In practice, this temperature shift (~5–10%) is smaller than liquid test kit error, but it compounds inaccuracies when pushing near 30+ ppm.

5. Uneven Circulation and Lagging Equilibrium

The formula assumes the entire water column is fully mixed and at chemical equilibrium. In tall tanks (21–24+ in / 53–61+ cm deep, such as 55G, 75G, or 90G setups) or under-filtered tanks, CO2 concentration can vary significantly between the diffuser zone and dead spots. High-tech CO2 planted tanks need 6–10×/hr rated filter turnover (GPH) to distribute dissolved CO2 evenly before spot-sampling pH.

More Accurate Ways to Measure and Tune CO2

Use a 4 dKH drop checker for daily visual monitoring and the 1.0 pH drop degassing test with a digital pH meter for exact calibration.

Method 1: 4 dKH Drop Checker (Eliminates Tank Buffer Interference)

A glass drop checker isolates a standardized 4 dKH reference solution mixed with bromothymol blue indicator behind an air pocket. Only CO2 gas crosses the air gap, so tank tannins, phosphates, and active aquasoil cannot skew the reading:

  • Blue: Low CO2 (<15 ppm)
  • Lime green: Target CO2 (~25–30 ppm)
  • Yellow: Excessive CO2 (>35–40 ppm)

Account for a 1–2 hour lag time—the color reflects what your tank's CO2 level was 1–2 hours earlier, not instantaneously. Never fill a drop checker with tank water; always use premade 4 dKH reference solution.

Method 2: The 1.0 pH Drop Test (Degassed Baseline Comparison)

Because non-carbonate buffers stay constant whether CO2 is present or not, comparing your tank's pH against a degassed sample of the same water measures only the pH drop caused by injected CO2:

  1. Measure your tank's pH at peak CO2 (mid-photoperiod) using a calibrated digital pH meter (0.01–0.05 resolution).
  2. Scoop a small cup of tank water and aerate it vigorously with an air pump and airstone for 15–30 minutes (or shake it repeatedly in a half-full, uncapped bottle) until the pH stops rising. This drives off excess CO2 to atmospheric equilibrium (~2–3 ppm).
  3. Measure the degassed sample's pH.
  4. Subtract the tank pH from the degassed pH. A 0.8–1.0 pH drop indicates roughly 20–30 ppm CO2, regardless of KH or aquasoil.

Safe Pressurized CO2 Starting Workflow

When dialing in pressurized CO2 on a planted tank, pair your drop checker and pH-drop readings with conservative starting bubble rates (BPS) and timer control:

  • Starting BPS: 0.5–1 BPS for 10G (20×10×12 in / 51×25×30 cm), 1–1.5 BPS for 20G, and 3–5 BPS for 75G (48×18×21 in / 122×46×53 cm).
  • Solenoid schedule: Turn CO2 ON 1–2 hours before lights on so levels reach 25–30 ppm at the start of the photoperiod, and turn CO2 OFF 1 hour before lights off so plants consume remaining CO2 before dark.
  • Livestock check: Always override numbers if fish or ornamental shrimp gasp at the surface, breathe rapidly, or cluster near filter outflows—immediately increase surface agitation or run an airstone if symptoms appear.