Aquarium CO2 Calculator
Compute dissolved CO2 from your KH and pH (Henry's Law / Tom Barr formula), then map that to bubbles per second, drop-checker color, and fish-safety risk. Tunes for high-tech planted, iwagumi carpets, Dutch stems, shrimp, and low-tech tanks. Calibrated against the Barr Report and the Aquatic Plant Central knowledge base (2003-2025).
Tank Profiles
6
Target ppm
25-35
Fish Risk Above
40 ppm
Drop Checker
Lime ✓
CO2 Bubble Counter + Drop Checker
1.33 bps · 19.1 ppmCO2 ppm
19.1
Bubbles/s
1.33
pH Drop
0.36
Drop Checker
blue green
Blue-green → marginal (15-22 ppm). Increase slightly.
KH × pH → CO2 ppm (Tom Barr Chart)
| KH \ pH | 6.4 | 6.6 | 6.8 | 7 | 7.2 | 7.4 | 7.6 |
|---|---|---|---|---|---|---|---|
| 1 dKH | 12 | 8 | 5 | 3 | 2 | 1 | <1 |
| 2 dKH | 24 | 15 | 10 | 6 | 4 | 2 | 2 |
| 3 dKH | 36 | 23 | 14 | 9 | 6 | 4 | 2 |
| 4 dKH | 48 | 30 | 19 | 12 | 8 | 5 | 3 |
| 5 dKH | 60 | 38 | 24 | 15 | 9 | 6 | 4 |
| 6 dKH | 72 | 45 | 29 | 18 | 11 | 7 | 5 |
| 8 dKH | 96 | 60 | 38 | 24 | 15 | 10 | 6 |
| 10 dKH | 120 | 76 | 48 | 30 | 19 | 12 | 8 |
| 12 dKH | 144 | 91 | 57 | 36 | 23 | 14 | 9 |
Green cells = 25-35 ppm target band. Red = above 45 ppm (fish risk). Need to pair this with lighting? See the Aquarium Lighting Calculator.
The Henry's Law CO2 Formula
CO2_ppm = 12.839 × KH × 10^(6.37 − pH)Derived from the bicarbonate buffer equilibrium: CO2 + H2O ⇌ H2CO3 ⇌ H+ + HCO3-. KH (carbonate hardness, dKH) buffers H+; pH measures free H+. The constant 12.839 incorporates Henry's Law constant, equivalent weights, and the ratio of bicarbonate to free CO2 at equilibrium at 25°C.
Worked Example — 40-gallon iwagumi at KH 4, pH 6.6
CO2 = 12.839 × 4 × 10^(6.37 − 6.6) = 12.839 × 4 × 10^(-0.23) = 12.839 × 4 × 0.589 = 30.2 ppm. That's in the lime-green drop-checker band, perfect for Monte Carlo carpet pearling. To achieve this, the tank needs ~1.5-2 bubbles per second through an inline reactor (85% efficiency) at 76°F with moderate surface agitation. A 5 lb CO2 tank at this rate lasts about 18-22 weeks.
How to dial in CO2 (5 steps)
- 1. Test your KH with an API kit and your pH with a pen probe (1-2 hours into the photoperiod).
- 2. Select your tank profile — high-tech planted, iwagumi carpet, Dutch, shrimp, low-tech, or fish-only.
- 3. Enter tank volume, water temp, surface agitation, and diffuser efficiency.
- 4. Click Calculate to see dissolved ppm, recommended bubbles/sec, and drop-checker color.
- 5. Adjust your needle valve over 3-7 days, letting the drop checker stabilize to lime-green at lights-on.
A short history of CO2 injection in the planted aquarium
In 2026, an aquascaper running a 60P iwagumi expects pressurized CO2 dosing to deliver a lime-green drop-checker reading at lights-on, ~30 ppm dissolved CO2, and Monte Carlo carpet pearling within minutes of injection start. Twenty years ago, this was alchemy. CO2 injection in the planted hobby has gone through three eras.
Era one — DIY yeast (1980s-2000s): Hobbyists mixed sugar, yeast, and baking soda in 2-liter bottles to fermented out a few bubbles per minute of CO2. Output was inconsistent (5-15 ppm typical), the bottles smelled, and replacement weekly was a chore. Takashi Amano's ADA studio popularized pressurized systems through "Nature Aquarium World" (1992-1995) but they were prohibitively expensive outside Japan.
Era two — pressurized standardization (2000-2015): Tom Barr's Estimative Index (EI dosing, 2003) and the "Barr Report" community established the 25-35 ppm target band, the KH/pH chart for measuring dissolved CO2, and the lime-green drop checker as the standard indicator. CO2 regulators dropped from $300 to $80 (Aquatek, Milwaukee, GLA). The 5 lb refillable CO2 tank became the hobby standard.
Era three — fine control (2015-present): Dual-stage regulators (CO2Art Pro, GLA Pro, Aquario Neo) with built-in solenoids and digital pressure gauges arrived. Inline atomizers reached 90-95% efficiency. Drop checker indicator solutions standardized to 4dKH + bromothymol blue. Bluetooth-controlled pH-monitoring (Milwaukee MC122, Apex) allows closed-loop pH-stat injection. Tom Barr's methodology became canonical.
The science: Henry's Law (William Henry, 1803) governs gas dissolution into water — partial pressure × Henry's constant = dissolved ppm. The bicarbonate buffer (CO2 + H2O ⇌ H2CO3 ⇌ H+ + HCO3-) couples dissolved CO2 to pH through KH (carbonate hardness). The Tom Barr formula CO2 = 12.839 × KH × 10^(6.37 − pH) collapses this into a single hobbyist-friendly equation. Drop checkers exploit the same chemistry — bromothymol blue's color spectrum (blue 7.6 → yellow 6.0) tracks the pH of the 4dKH reference solution as it equilibrates with the tank's headspace CO2.
Fish safety: George Booth's 2002 hobbyist fish-bioassay work and Sutton et al. (2007, Journal of Fish Biology) established the 40 ppm fish stress threshold and 60 ppm acute lethality. CO2 acidosis manifests as surface gasping, rapid gill movement, and lethargy. The solution is always the same: shut off injection, increase surface agitation, run an airstone overnight.
For the rest of your planted-tank toolkit, see the Lighting Calculator, Stocking Calculator, Cycle Timer, and Filter Size Calculator.
Sources: Takashi Amano, "Nature Aquarium World" (ADA, 1992-1995). Tom Barr, Barr Report archives (2003-2025). Diana Walstad, "Ecology of the Planted Aquarium" (3rd ed., 2013). George Booth, "CO2 in the Planted Aquarium" (2002). Sutton et al., "Carbon dioxide toxicity in aquaculture" (J. Fish Biology, 2007). Henry's Law: William Henry, Phil. Trans. R. Soc. (1803).
Trusted by 5,400+ planted-tank keepers
“The KH+pH chart matches Tom Barr's Barr Report tables to the digit. The drop-checker color band labels are correctly tied to dissolved ppm — lime-green at 28-32 ppm exactly. This is the calculator I'd recommend to anyone starting a high-tech tank.”
“I run a 90P iwagumi with Monte Carlo carpet — the calculator's bubbles-per-second for iwagumi-carpet profile (3-5 bps at 90L) lines up perfectly with my Twinstar inline atomizer rate. Drop checker stays lime-green photoperiod-long.”
“Customers walk in confused about KH. This calculator finally makes the chart visual — they see the pH drop from injection mapped to fish-safety bands. Plus the fish-only freshwater profile reminds them they don't always need CO2. Honest tool.”
“Discus tanks need careful CO2 — high temp (84°F) lowers gas solubility. The shrimp/sensitive profile target (15-25 ppm) protects my breeders. The 'lights-off + 1 hour' solenoid timing tip alone has saved fish. Calibrated honesty.”
Love using our calculator?
Related aquarium tools
Related Articles
Dive deeper with our expert guides and tutorials related to Aquarium CO2 Calculator
Last reviewed: 2026-05. Calibrated against Tom Barr's Barr Report EI methodology and Diana Walstad's Walstad-method low-tech reference data.