Fishmathix

❦ Plants & CO2

CO2 Calculator from pH and KH

Estimate dissolved CO2 in ppm from your pH and carbonate hardness readings.

Estimate only. Results are approximations based on the formulas explained below. Verify with your own test kits, measurements and product instructions.

What this calculator does

Pressurized CO2 is the biggest boost you can give a planted tank, but too little does nothing and too much can suffocate fish. Because CO2 forms carbonic acid, it lowers pH in a predictable way for a given carbonate hardness. This calculator uses that relationship to estimate the CO2 concentration from two simple test readings, and tells you which pH to aim for to reach about 30 ppm.

How it is calculated

The carbonate equilibrium gives the widely used approximation CO2 (ppm) = 3 × KH × 10^(7 − pH), with KH in degrees (dKH). The reverse form, pH = 7 − log10(CO2 ÷ (3 × KH)), gives the pH that corresponds to a target CO2 level. The relationship assumes that carbonates are the only buffer in the water; phosphate buffers, humic acids from driftwood or soils and other acids make the estimate read too high.

Worked example

With a KH of 4 dKH and a pH of 6.6, CO2 = 3 × 4 × 10^0.4 ≈ 30 ppm, right in the typical planted-tank range. To reach exactly 30 ppm at this KH the pH should sit around 6.60.

Inputs at a glance

  • Carbonate hardness (KH) – in dKH, example 4
  • pH – a plain number, example 6.6

Practical tips

  • A practical method: measure the pH of a glass of tank water left to degas overnight, then aim for a drop of about 1.0 pH unit when CO2 is fully on.
  • Use a drop checker as a second opinion; it is not fooled by other acids in the water.
  • Never chase a number at the fishes' expense – surface gasping means turn the CO2 down immediately.

FAQ

Why doesn't the formula work in my soil tank?

Active aqua soils release acids that lower pH without CO2, so the formula overestimates CO2. Use the 1-pH-drop method instead.

What CO2 level is safe?

Most fish tolerate 20–30 ppm well. Above 35–40 ppm, sensitive fish can show stress, especially with weak surface agitation.