MossPearl

Planted tank calculators, with the sources shown

Entry 02CO₂

CO₂ from pH and KH

Enter your tank's KH and its pH with the CO₂ running. You get the estimated CO₂ in ppm, where it sits against the published targets, and the pH to aim for.

Last updatedOct 19, 2026

FormulaCO₂ = 3 × KH × 10^(7 − pH)

Your readings
Target

Estimated dissolved CO₂

–

–pH that gives the target
–target, ppm
–KH used

The chart

The same formula over the usual range. Your reading is outlined (rounded to the nearest whole dKH and 0.2 pH). The shaded cells fall in the 20–30 ppm target from the EI guide (Barr Report forum1). The Krib table, compiled by Chuck Gadd, is the familiar version of this chart (The Krib (Chuck Gadd's CO2/pH/KH table)2).

CO₂ in ppm = 3 × KH × 10^(7 − pH). Shaded: 20–30 ppm
KHpH 6.0pH 6.2pH 6.4pH 6.6pH 6.8pH 7.0pH 7.2pH 7.4pH 7.6
1 dKH3019127.54.83.01.91.20.8
2 dKH603824159.56.03.82.41.5
3 dKH90573623149.05.73.62.3
4 dKH12076483019127.64.83.0
5 dKH15095603824159.56.03.8
6 dKH18011472452918117.24.5
7 dKH21013384533321138.45.3
8 dKH24015196603824159.66.0
9 dKH27017010768432717116.8
10 dKH30018911975483019127.5

What the numbers mean

The Krib table states that 15–25 mg/L of CO₂ works best for plant growth and that concentrations above 30 mg/L may cause respiratory problems in fish (The Krib (Chuck Gadd's CO2/pH/KH table)2). The EI guideline lists a CO₂ target of 20–30 ppm (Barr Report forum1). The calculator reports against both. Fish gasping at the surface is a sign to cut back now, whatever the number says.

When pH/KH misleads

The formula comes from the carbonate equilibrium, and it assumes carbonate is the only thing buffering the water. Anything else that sets pH breaks that assumption: phosphate buffers, acids from soil or wood, or additives. Then the estimate can be far off in either direction. Soft-water tanks with very low KH are the most sensitive.

Drop checkers

A drop checker isolates a small volume of reference solution, usually 4 dKH water with bromothymol blue, from the tank by an air gap, so only CO₂ crosses over. In the Barr Report thread on drop checkers, Hoppy explains that 4 dKH at pH 6.6 corresponds to 30 ppm, that green indicates roughly 30 ppm (25–40), yellow-green about 50 and blue-green about 20, and that a checker needs about 2 hours to respond to a change (Barr Report forum (Hoppy)3). Green Aqua notes that some solutions sold as 4 dKH turn green at 20 mg/L instead (Green Aqua4), so the color is a guide, not a reading.

The same post explains why the older rule of thumb, a pH drop of 1.0 from a degassed sample, falls short: water left out to degas kept losing CO₂ for 2 or 3 days, so the reference point was never fixed.

Bubble counts

We found no published source that converts bubbles per second into ppm. Bubble size depends on the counter, the regulator and the diffuser, and tanks lose CO₂ at different rates. Use a drop checker or this estimate, raise the rate in small steps, and watch the fish.

Sources for this page

  1. 1Barr Report forum: EI "light": the less technical aspects of the Estimative IndexRead Oct 19, 2026
  2. 2The Krib (Chuck Gadd's CO2/pH/KH table): CO2 chartRead Oct 19, 2026
  3. 3Barr Report forum (Hoppy): Drop checkers / CO2 indicators: why and howRead Oct 19, 2026
  4. 4Green Aqua: How to determine the CO2 level in your aquariumRead Oct 19, 2026
  5. 5Wikipedia: Hardness of water: German degree (1 °dH = 10 mg/L CaO = 0.1783 mmol/L)Read Oct 19, 2026

Every figure above traces to one of these. Formulas are on Methods. Found an error? hello@mosspearl.com