Aquarium CO2 Calculator | pH & KH to Dissolved CO2 (ppm)
Calculate dissolved CO2 (ppm) from aquarium pH and KH using the standard formula. Compare pH drop methods, BPS guidelines, and prevent livestock gassing.
Aquarium CO2 Sizing: Measuring Dissolved Carbon Dioxide
Carbon is the primary structural building block of aquatic plants, comprising over 40% of their dry tissue mass. In high-energy planted aquariums equipped with strong LED lighting, submerged plants consume dissolved carbon dioxide (CO2) far faster than natural atmospheric diffusion can replace it. Injecting CO2—whether through a commercial pressurized cylinder or a DIY yeast and citric acid generator—bridges this gap, accelerating photosynthetic rates, intensifying vivid red pigmentation, and inducing visible oxygen pearling.
However, regulating CO2 injection requires precise chemical balance. While unsupplemented freshwater rests at an atmospheric equilibrium of only 1 to 3 ppm, high-tech planted aquascapers target 20 to 30 ppm—roughly ten times natural levels. Concentrations exceeding 35 to 40 ppm enter the danger zone for tropical fish and ornamental dwarf shrimp, where excessive dissolved gas triggers respiratory acidosis.
While pressurized systems allow pinpoint needle-valve metering, DIY yeast setups produce variable, decaying output that fluctuates with room temperature and yeast viability. Regardless of your gas source, this calculator determines dissolved CO2 (in ppm or mg/L) from measured pH and carbonate hardness (dKH), computes your target pH for 30 ppm, and helps calibrate the 1.0 pH drop method for maximum livestock safety.
The Carbonate Buffer Chemistry: Forward & Inverse Calculations
When gaseous carbon dioxide dissolves in water, a small fraction combines with water molecules to form carbonic acid (H2CO3). Carbonic acid dissociates into hydrogen ions (H+) and bicarbonate ions (HCO3-), depressing the water's pH. Carbonate hardness (KH) represents the concentration of dissolved bicarbonate and carbonate ions, which buffer the system by binding free hydrogen ions and resisting rapid pH drops.
Under pure bicarbonate buffering, the Henderson-Hasselbalch chemical equilibrium establishes a predictable relationship between pH, KH, and dissolved CO2. The calculator evaluates forward concentration using the standard planted tank equation:
Because pH is a logarithmic scale, every single unit decrease in pH represents a tenfold increase in free hydrogen ion activity. For an aquarium with a stable hardness of 4.0 dKH, dropping pH from 7.4 down to 6.4 represents a tenfold surge in dissolved CO2—jumping from approximately 4.8 ppm (insufficient) to 48 ppm (potentially lethal to livestock). Water temperature plays a minor secondary role in gas solubility, but this standard equation provides optimal operational precision for hobby aquaria between 72°F and 82°F (22°C to 28°C).
If you already know your tank's baseline dKH and want to calculate the exact pH required to reach a specific CO2 concentration (such as the standard 30 ppm target), the equation can be rearranged into its inverse form:
For example, at 3.0 dKH, targeting 30 ppm yields: Target pH = 7.00 - log10(30 / (3.0 × 3.0)) = 7.00 - log10(3.33) ≈ 6.48.
The 1.0 pH Drop Method: Overcoming Active Soil Distortions
While the classical pH-KH formula is chemically precise in water buffered solely by inorganic carbonates, it has an inherent limitation: it assumes bicarbonate is the only acid-base buffer present. In modern high-tech planted tanks, active clay substrates (which you can calculate depth and bag requirements for using our Substrate Calculator), such as ADA Amazonia, Tropica Aquarium Soil, or Fluval Stratum, natural driftwood tannins, peat granules, and plant fertilizers leach humic and fulvic acids that depress pH without adding any carbon dioxide.
In an aquarium buffered by active soil, cross-referencing your raw test kit pH and KH against a standard chart often yields a false-positive reading of 30+ ppm CO2 even before pressurized gas is introduced. Relying blindly on the chart in these setups leads hobbyists to severely under-inject CO2, which starves demanding stem plants and triggers persistent outbreaks of Black Beard Algae (BBA).
To bypass non-carbonate acid distortion, modern aquascapers rely on the 1.0 pH Drop Method:
Under steady carbonate hardness, a 1.0 pH drop represents a tenfold increase in dissolved carbonic acid, corresponding to an optimal working concentration of approximately 30 ppm CO2 regardless of substrate background acidity. However, livestock behavior must always take precedence over achieving a rigid mathematical drop.
Starting Bubble Rates (BPS), Diffusers, and Drop Checker Delay
A bubble counter provides an essential visual check to verify gas flow, but 'Bubbles Per Second' (BPS) is strictly an arbitrary visual indicator, not a standardized dosing metric. Bubble volume varies substantially depending on dropper tube diameter, counter fluid viscosity (mineral oil vs. water), regulator working pressure (PSI), and diffuser ceramic porosity. Highly efficient inline atomizers and reactors dissolve nearly 100% of injected gas into the return line, delivering substantially higher dissolved ppm than in-tank ceramic disc diffusers running at the identical BPS rate.
For DIY yeast or citric acid generators, bubble rates are inherently unstable, dropping as sugar is exhausted or room temperatures cool at night. While DIY systems can use these calculations as rough guides, aquarists must rely more heavily on drop checkers and physical observation rather than fixed BPS targets.
As a safe starting baseline for pressurized systems (first establishing your true net water volume with our Tank Volume Calculator), begin conservatively at a very low rate, observing the gradual color shift of an indicator drop checker over several hours. Incremental adjustments to the needle valve should be spaced over multiple days while observing livestock respiration:
Be mindful of drop checker delay. A drop checker relies on gas evaporating out of the aquarium water, diffusing across an internal air pocket, and dissolving into the 4.0 dKH indicator solution. This physical diffusion introduces a 1 to 2 hour lag time. Increasing needle valve flow based on an immediate blue reading will inevitably overdose the aquarium two hours later.
Injection timing should align with plant photoperiods. Because plants only consume carbon dioxide in the presence of light, set an electric solenoid timer to open 1 to 2 hours before lights turn on. This pre-saturation window ensures dissolved gas reaches optimal 20 to 30 ppm levels when photosynthesis begins. Turn off the solenoid 30 to 60 minutes before lights shut off; dissolved CO2 remains elevated for 1 to 2 hours post-shutoff, allowing plants to consume residual gas while eliminating the risk of overnight gas accumulation.
Livestock Safety: Oxygenation vs. Carbon Dioxide
Fish and ornamental invertebrates do not suffer from elevated CO2 simply because oxygen is absent; they experience respiratory acidosis (hypercapnia). High ambient dissolved CO2 prevents aquatic fauna from diffusing cellular carbon dioxide out through their gill membranes, regardless of how much oxygen is present. Early warning signs include sluggish movement, loss of balance, appetite loss, rapid gill movement, and gathering at the surface gasping for air (piping).
Dissolved oxygen (O2) and dissolved carbon dioxide (CO2) dissolve independently in water. Maintaining active surface agitation (via lily pipes, powerheads, or surface skimmers) promotes maximum oxygen saturation, which supports general livestock resilience. Strong surface ripple intentionally off-gasses some CO2, requiring a higher BPS injection rate to sustain 30 ppm. This slight gas loss is an acceptable and desirable operational trade-off to ensure saturated oxygen.
Dwarf shrimp (such as Neocaridina and Caridina species) are exceptionally sensitive to gas surges and low pH swings. For dedicated shrimp breeding colonies, targeting the conservative end of the spectrum (20 to 25 ppm) paired with steady surface movement provides lush plant growth while protecting molting cycles, grazing vigor, and juvenile survival.
In the event of an accidental gas dump or regulator failure, immediately shut off the CO2 supply, direct filter outflows to churn the water surface vigorously, and activate high-volume aeration with an air stone. In acute emergencies, perform an immediate 40% to 50% water change with aerated, temperature-matched water to rapidly lower dissolved gas levels.
Worked Example: CO2 Tuning for a 55-Gallon High-Tech Setup
Consider an aquascaper tuning a standard 55-gallon rimless planted tank housing schooling tetras, Amano shrimp, and high-light carpeting plants. The aquarium water tests at a stable carbonate hardness of 4.0 dKH.
Step 1: Determine Equilibrium Target. Using the standard formula, achieving the target 30 ppm CO2 concentration requires solving for target pH: 30 = 3.0 × 4.0 × 10^(7.00 - pH) → 2.5 = 10^(7.00 - pH) → target pH ≈ 6.60.
Step 2: Verify Against Degassed Water. A water sample aerated for 24 hours tests at an off-gassed baseline pH of 7.62. Subtracting 1.0 pH unit establishes an operational in-tank target of 6.60 to 6.65, perfectly validating the theoretical formula.
Step 3: Establish Starting Injection Rate. For a 55-gallon tank (approx. 46 gallons true water volume), the hobbyist initiates injection at ~1.5 to 2 bubbles per second via an inline diffuser, turning on the solenoid 90 minutes prior to lighting. After monitoring the 4 dKH drop checker (turning from deep blue to vibrant lime green) and verifying zero fish distress, the needle valve is locked in.
Aquarium CO2 Reference Charts & Target Ranges
Cross-reference pH and KH values to determine estimated dissolved CO2 concentrations, review starting bubble rates across common tank footprints, and evaluate biological safety zones.
Aquarium pH / KH to Dissolved CO2 Matrix (ppm)
Pre-calculated dissolved CO2 concentrations across carbonate hardness (1 to 8 dKH) and pH levels (6.2 to 7.4) under pure bicarbonate buffering.
Source: Standard Henderson-Hasselbalch carbonate equilibrium model (CO2 = 3.0 * dKH * 10^(7.0 - pH)).
| Carbonate Hardness (dKH) | pH 6.2 | pH 6.4 | pH 6.6 | pH 6.8 | pH 7.0 | pH 7.2 | pH 7.4 |
|---|---|---|---|---|---|---|---|
| 1.0 dKH | 19 ppm | 12 ppm | 8 ppm | 5 ppm | 3 ppm | 2 ppm | 1 ppm |
| 2.0 dKH | 38 ppm (Warning) | 24 ppm | 15 ppm | 10 ppm | 6 ppm | 4 ppm | 2 ppm |
| 3.0 dKH | 57 ppm (Danger) | 36 ppm (Warning) | 23 ppm | 14 ppm | 9 ppm | 6 ppm | 4 ppm |
| 4.0 dKH | 76 ppm (Danger) | 48 ppm (Danger) | 30 ppm (Ideal) | 19 ppm | 12 ppm | 8 ppm | 5 ppm |
| 5.0 dKH | 95 ppm (Danger) | 60 ppm (Danger) | 38 ppm (Warning) | 24 ppm | 15 ppm | 10 ppm | 6 ppm |
| 6.0 dKH | 114 ppm (Danger) | 72 ppm (Danger) | 45 ppm (Danger) | 29 ppm (Ideal) | 18 ppm | 11 ppm | 7 ppm |
| 8.0 dKH | 151 ppm (Danger) | 96 ppm (Danger) | 60 ppm (Danger) | 38 ppm (Warning) | 24 ppm | 15 ppm | 10 ppm |
* Target 20-30 ppm for high-tech planted aquascapes. Levels above 35 ppm require strong surface ripple and vigilant livestock observation. Values above 40 ppm risk severe livestock loss.
Starting CO2 Bubble Rate Guidelines by Aquarium Size
Conservative initial bubble counter settings for pressurized systems using ceramic diffusers or inline reactors.
Source: Planted aquarium community benchmarking across standard US tank footprints.
| Tank Volume | Dimensions (L × W × H) | Estimated Net Water | Starting Bubble Rate (BPS) | Target 4°dKH Drop Checker Color |
|---|---|---|---|---|
| 10 Gallon Standard | 20 in × 10 in × 12 in | ~8.5 Gallons (32 L) | 1 bubble every 2-3 sec (0.3-0.5 BPS) | Solid Green (20-25 ppm) |
| 20 Gallon Long / 60P | 30 in × 12 in × 12 in | ~17.0 Gallons (64 L) | 1 bubble per second (1.0 BPS) | Lime Green (25-30 ppm) |
| 40 Gallon Breeder | 36 in × 18 in × 16 in | ~34.0 Gallons (129 L) | 1.5 - 2.0 bubbles per second | Lime Green (25-30 ppm) |
| 55 Gallon Standard | 48 in × 12 in × 21 in | ~46.0 Gallons (174 L) | 2.0 - 2.5 bubbles per second | Lime Green (25-30 ppm) |
| 75 Gallon Standard | 48 in × 18 in × 21 in | ~63.0 Gallons (238 L) | 3.0 - 4.0 bubbles per second | Lime Green (25-30 ppm) |
* BPS values are approximate starting baselines. Adjust needle valve gradually over several days based on drop checker color and 1.0 pH drop confirmation. Highly efficient inline reactors may require lower initial BPS.
Dissolved CO2 Concentration Guidelines & Biological Effects
Biological impact of dissolved carbon dioxide levels on aquatic flora, fauna, and algae triggers.
Source: Aquatic botany and fish respiration physiological benchmarks.
| CO2 Concentration | Plant Response | Livestock Safety Profile | Algae Vulnerability |
|---|---|---|---|
| 0 - 10 ppm (Low) | Sluggish growth, small leaves, internodal stretching | Near atmospheric baseline; negligible risk of hypercapnia for freshwater species | High risk of Black Beard Algae (BBA) and staghorn algae |
| 15 - 20 ppm (Moderate) | Steady growth for easy plants (Anubias, Java Fern, Crypts) | Safe for dwarf shrimp breeding colonies and wild-caught sensitive fish | Moderate risk if lighting is intense |
| 20 - 30 ppm (Optimal) | Vigorous growth, intense coloration, active pearling | Standard high-tech target; requires adequate surface exchange and monitoring (target 20-25 ppm for shrimp) | Lowest risk; healthy plant biomass outcompetes algae |
| 35 - 40 ppm (Warning) | Maximum photosynthetic capacity | Caution: elevated risk of respiratory acidosis; sensitive species may show lethargy or distress | Low algae risk, but narrow safety margin |
| > 40 ppm (Danger) | Excess beyond photosynthetic saturation | Severe danger: acute risk of hypercapnia, surface piping, loss of equilibrium, and mortality | System crash risks due to biological stress |
* Always prioritize livestock welfare over accelerated plant growth rates.
How the CO2 Calculator Works
The calculator determines dissolved carbon dioxide by evaluating the acid-base equilibrium established by carbonate alkalinity. Taking user inputs for pH (acidity) and Carbonate Hardness (entered as either degrees of carbonate hardness dKH or parts per million ppm CaCO3), the tool computes dissolved concentration in milligrams per liter (mg/L), which is equivalent to parts per million (ppm).
If KH is entered in ppm, the tool internally divides by 17.848 to convert the reading to German degrees of hardness (°dKH). It then executes the standard equilibrium equation: CO2 = 3.00 × dKH × 10^(7.00 - pH).
Additionally, the calculator supports the inverse calculation: entering your dKH and a desired target CO2 level (defaulting to 30 ppm) computes the exact Target pH required: Target pH = 7.00 - log10(CO2 / (3.00 × dKH)).
The calculator dynamically evaluates the result against established biological safety thresholds, classifying the resulting dissolved level as Inadequate (<15 ppm), Moderate (15–20 ppm), Optimal (20–30 ppm), Warning (30–38 ppm), or Dangerous (>38 ppm).
Important Testing Limitations & Operational Warnings
The mathematical output is only as accurate as your water testing reagents. Liquid reagent test kits (especially dropper bottles for pH and KH) expire over time and can read inaccurately by 0.2 to 0.3 pH units—which swings estimated CO2 by 30% to 50% due to the logarithmic nature of the pH scale. Handheld digital pH pens require routine two-point buffer calibration (pH 4.01 and 7.00) to maintain precision.
Non-carbonate buffers invalidate the chart. If you use active buffering substrates (ADA Amazonia, Fluval Stratum), botanical blackwater extracts (Indian almond leaves, alder cones), or commercial phosphate buffers, do not rely exclusively on the formula. Use a drop checker loaded strictly with pre-mixed 4.0 dKH reference solution (not aquarium water) paired with the 1.0 pH drop protocol.
Never make aggressive CO2 adjustments right before leaving the house or going to sleep. Always adjust needle valves on weekend mornings when you can actively observe fish swimming behavior and respiratory rates for at least 3 to 4 hours.
Aquarium CO2 FAQs
What is the ideal CO2 level for a planted aquarium?
The target sweet spot for high-tech planted aquariums is 20 to 30 ppm (mg/L). This concentration maximizes photosynthetic rates and plant pearling without causing respiratory stress to fish or ornamental shrimp (with 20-25 ppm preferred for sensitive dwarf shrimp colonies).
How do you calculate dissolved CO2 from pH and KH?
Use the standard planted aquarium formula: CO2 (ppm) = 3.0 × dKH × 10^(7.00 - pH). For example, at 4 dKH and a pH of 6.6, dissolved CO2 calculates to: 3 × 4 × 10^(0.4) ≈ 30 ppm.
What pH should I aim for to get 30 ppm of CO2?
Use the inverse formula: Target pH = 7.00 - log10(Target CO2 / (3.0 × dKH)). At 4 dKH, Target pH = 7.00 - log10(30 / 12) = 7.00 - 0.398 ≈ 6.60.
Why is my pH-KH chart reading inaccurate with aqua soil?
Active aqua soils and driftwood release natural humic and tannic acids that lower pH without adding carbon dioxide. This causes the classic formula to overestimate dissolved CO2, making it appear you have adequate gas when you are actually under-dosing.
What is the 1.0 pH drop method for CO2?
The 1.0 pH drop method involves degassing a cup of tank water for 24 hours to find your atmospheric baseline pH, then dialing in CO2 until your tank water measures approximately 1.0 pH unit lower. This corresponds to roughly 20 to 30 ppm of CO2 under steady carbonate buffering.
Can I use tank water in my CO2 drop checker?
No, never use tank water. Always fill your drop checker with a pre-mixed, calibrated 4.0 dKH reference solution with bromothymol blue. Tank water contains organic acids and unknown buffers that ruin the accuracy of the color indicator.
How long does a CO2 drop checker take to change color?
Drop checkers have an inherent physical delay of 1 to 2 hours because gas must diffuse across an internal air gap into the 4°dKH indicator solution. Never adjust needle valves based on instant observation.
Can I use this calculator with a DIY yeast CO2 system?
Yes, the chemical relationship between pH and KH remains the same. However, DIY yeast systems produce variable pressure that fluctuates with temperature and time, making fixed bubbles per second (BPS) unreliable; rely on the pH-drop method and drop checker monitoring.
Can high CO2 and high oxygen coexist in an aquarium?
Yes. Dissolved oxygen (O2) and dissolved carbon dioxide (CO2) dissolve independently. Vigorous surface ripple promotes maximum atmospheric oxygen saturation; while this off-gasses some CO2 and requires higher BPS, it provides essential safety for livestock.
What are the first signs that fish are gassed by excess CO2?
Fish exhibit sluggish swimming, disorientation, loss of appetite, rapid opercular (gill) flaring, and gather at the water surface gasping for air (piping). If seen, immediately shut off CO2, turn on heavy surface aeration, and perform a water change if necessary.
Why does fluctuating CO2 cause Black Beard Algae (BBA)?
In planted tanks, fluctuating CO2 is frequently associated with BBA outbreaks. Erratic carbon levels disrupt plant photosynthetic efficiency, reducing plant vigor and giving opportunistic algae spores a competitive window to colonize leaves.
When should my aquarium CO2 turn on and off?
Set an electric timer to turn CO2 on 1 to 2 hours before lights-on so gas reaches target levels by the time photosynthesis begins. Turn CO2 off 30 to 60 minutes before lights-out; residual dissolved CO2 remains active for 1 to 2 hours, letting plants exhaust remaining carbon before night.