Aquarium CO2 Calculator
Dial in CO2 for a thriving planted tank — convert KH and pH to dissolved CO2 ppm, read the drop checker chart, and get a safe starting bubble rate for your tank size.
CO2 calculators
CO2 from KH & pH
Enter your carbonate hardness (dKH) and current tank pH.
Typical: 2–8 dKH
Measured during photoperiod
Sweet spot for planted tanks. Fish are safe and plants photosynthesize well.
Formula assumes the pH shift comes purely from CO2. Phosphate buffers, driftwood tannins, and peat make the number read artificially high — see the accuracy note below.
Starting Bubble Rate
Conservative starting point in bubbles per second, based on tank volume and light level.
- Start at the low end, increase 1 bps every 24 hours.
- Turn CO2 on 1–2 hours before lights, off 1 hour before lights out.
- Always confirm with a drop checker — bubble counters drift.
CO2 / KH / pH chart
The classic aquarium CO2 chart. Rows are carbonate hardness (dKH), columns are pH. Cells are colored by fish-safety range and the cell matching your inputs above is highlighted.
| KH \ pH | 6.0 | 6.2 | 6.4 | 6.6 | 6.8 | 7.0 | 7.2 | 7.4 | 7.6 |
|---|---|---|---|---|---|---|---|---|---|
| 0.5 | 15 | 9 | 6 | 4 | 2 | 2 | 1 | 1 | 0 |
| 1 | 30 | 19 | 12 | 8 | 5 | 3 | 2 | 1 | 1 |
| 2 | 60 | 38 | 24 | 15 | 10 | 6 | 4 | 2 | 2 |
| 3 | 90 | 57 | 36 | 23 | 14 | 9 | 6 | 4 | 2 |
| 4 | 120 | 76 | 48 | 30 | 19 | 12 | 8 | 5 | 3 |
| 5 | 150 | 95 | 60 | 38 | 24 | 15 | 9 | 6 | 4 |
| 6 | 180 | 114 | 72 | 45 | 29 | 18 | 11 | 7 | 5 |
| 7 | 210 | 133 | 84 | 53 | 33 | 21 | 13 | 8 | 5 |
| 8 | 240 | 151 | 96 | 60 | 38 | 24 | 15 | 10 | 6 |
| 10 | 300 | 189 | 119 | 75 | 48 | 30 | 19 | 12 | 8 |
| 12 | 360 | 227 | 143 | 90 | 57 | 36 | 23 | 14 | 9 |
| 15 | 450 | 284 | 179 | 113 | 71 | 45 | 28 | 18 | 11 |
Values shown in ppm. Formula: CO2 (ppm) = 3 × KH(dKH) × 10(7 − pH).
How KH, pH and CO2 are linked
When CO2 dissolves in water it forms carbonic acid (H₂CO₃), which releases H⁺ and pulls pH down. Carbonate hardness (KH) is the water's buffering capacity — it neutralizes that acid. The three values are mathematically tied together, which is why measuring any two lets you calculate the third.
In a stable aquarium a 1.0 pH drop from injecting CO2 corresponds to roughly 30 ppm dissolved CO2, regardless of the starting KH. That's the "1 pH drop" method planted-tank keepers use to dial in injection.
Accuracy caveat — read this
The KH/pH/CO2 formula assumes CO2 is the only acid affecting pH. That's often false in real aquariums:
- Driftwood and botanicals release tannins that lower pH.
- Buffering substrates like aquasoil, and additives like peat, actively pull pH down.
- Organic acids from decaying matter shift pH independently.
When any of these are present the calculator (and the chart above) will read artificially high. If the calculated CO2 and your drop checker disagree, trust the drop checker.
Signs of too much CO2 in fish: gasping at the surface, rapid gill movement, lethargy, loss of color. If you see any of these, cut CO2 immediately and add surface agitation.
Drop checker color chart
A drop checker filled with 4 dKH reference solution gives you an at-a-glance readout of CO2 concentration with a 1–2 hour lag. It's the single most trustworthy indicator you can add to a planted tank.
Too little CO2. Plants pearl weakly and algae gains an edge. Increase injection.
Ideal. Plants photosynthesize actively and fish stay safe. Hold steady.
Danger. Fish gasp at surface — reduce injection immediately and add surface agitation.
Target CO2 → target pH
Enter the CO2 level you want and your KH — see the pH your tank should drop to.
Measure your morning (lights-off) pH first, then inject CO2 until the pH settles at this value.
Cylinder duration estimate
Rough time a CO2 cylinder lasts at your injection rate.
Ballpark only — actual life depends on diffuser efficiency, working pressure, and cylinder fill quality.
Safety rules
- • Never inject CO2 without a solenoid on a timer.
- • Add surface agitation at night to off-gas CO2.
- • Stop dosing if fish gather at the surface or breathe rapidly.
- • Test KH and pH weekly for the first month.
- • Keep a spare regulator diaphragm — end-of-tank dumps happen.
How the math works
Dissolved CO2 is derived from the carbonic acid equilibrium: as CO2 dissolves it forms H₂CO₃, which lowers pH proportionally to KH.
CO2 (ppm) = 3 × KH(dKH) × 10^(7 − pH)
The equation is only reliable when the pH drop is caused by CO2. Water with phosphate buffers, tannins, or organic acids reads high.
