Freshwater Aquarium pH, GH, KH, and TDS

For a standard freshwater community aquarium, target pH 6.5–7.5, GH 4–8 dGH (71–143 ppm), KH 2–5 dKH (36–89 ppm), and TDS 100–250 ppm at 72–78°F (22–26°C). Together, these four measurements govern chemical stability and mineral availability: KH buffers the water against sudden pH drops, GH supplies the calcium and magnesium required for fish osmoregulation and shrimp molting, pH reflects the balance of acids and bases, and TDS tracks the total concentration of all dissolved ions. Keeping GH and KH stable matters far more than forcing a specific pH number.

Water Chemistry & CO2 Calculator

Estimated dissolved CO2
30.1 ppm

Guides in this section


Quick Reference: pH, GH, KH, and TDS Target Ranges by Setup

Match water hardness and pH to your livestock's natural range rather than chasing a single universal target. Soft-water species thrive in low-GH, low-KH setups, while hard-water species require elevated carbonate and mineral levels to maintain osmotic balance.

Setup / Livestock (Typical Tank Range) pH GH (dGH / ppm) KH (dKH / ppm) TDS (ppm) Key Management Note
General Community & Low-Tech Planted 6.5–7.5 4–8 dGH (71–143 ppm) 2–5 dKH (36–89 ppm) 100–250 ppm Keep KH at or above 2 dKH (36 ppm) to prevent pH crashes.
High-Tech CO2 Planted 6.0–7.0 4–7 dGH (71–125 ppm) 1–4 dKH (18–71 ppm) 120–250 ppm Pressurized CO2 temporarily lowers pH by ~0.8–1.0 unit during photoperiods.
Betta (5 gal–20 gal long / 19–75 L) 6.5–7.5 3–8 dGH (54–143 ppm) 2–5 dKH (36–89 ppm) 100–250 ppm Tolerates moderately hard tap water if parameters remain consistent.
Neocaridina Dwarf Shrimp (5 gal–40 gal breeder / 19–151 L) 6.8–7.8 6–8 dGH (107–143 ppm) 2–5 dKH (36–89 ppm) 150–250 ppm Needs adequate calcium and magnesium for successful molting.
Caridina Bee / Crystal Shrimp (5 gal–40 gal breeder / 19–151 L) 5.8–6.4 4–6 dGH (71–107 ppm) 0–1 dKH (0–18 ppm) 90–140 ppm Pair remineralized RO/DI water with un-rinsed active aquasoil.
Goldfish (20 gal long–125 gal / 75–473 L; fancy 29–40B+, single-tail 75–125 gal) 7.0–7.8 6–12 dGH (107–214 ppm) 4–8 dKH (71–143 ppm) 150–350 ppm High bioload consumes KH rapidly; maintain strong buffering via regular water changes.
Rift Lake African Cichlids (40 gal breeder–125 gal / 151–473 L) 7.8–8.6 10–18 dGH (179–321 ppm) 8–14 dKH (143–250 ppm) 300–500 ppm Use aragonite sand or crushed coral to hold pH and KH elevated.

How pH, GH, KH, and TDS Work Together

KH acts as the protective buffer that keeps pH steady, GH provides structural minerals, and TDS measures everything dissolved in the water column combined. Understanding how each parameter interacts prevents common mistakes like dosing acid to lower pH in hard water.

pH (Acidity vs. Alkalinity)

  • What it measures: The concentration of hydrogen ions on a 0–14 logarithmic scale, where 7.0 is neutral, below 7.0 is acidic, and above 7.0 is alkaline.
  • Why the scale matters: Because pH is logarithmic, a shift from 7.0 to 6.0 represents a 10× increase in acidity, and 7.0 to 5.0 represents a 100× increase.
  • Daily behavior: Aquarium pH naturally drifts slightly higher during the day as plants and algae consume dissolved CO2, and dips slightly at night when respiration releases CO2.

GH (General Hardness)

  • What it measures: The combined concentration of dissolved divalent metal ions, primarily calcium (Ca2+) and magnesium (Mg2+), expressed in degrees of general hardness (dGH) or parts per million (ppm, equivalent to mg/L as CaCO3).
  • Biological role: Fish absorb calcium and magnesium across their gills for bone development, nerve signaling, and osmoregulation. Dwarf shrimp and snails require GH—ideally around a 3:1 to 4:1 calcium-to-magnesium ratio by weight—to build new exoskeletons and shells. Aquatic plants use both ions as secondary macronutrients.
  • Independence from pH: GH does not buffer pH. Water can have high GH (12 dGH / 214 ppm) and an acidic pH (6.2) if KH is near zero.

KH (Carbonate Hardness / Alkalinity)

  • What it measures: The concentration of dissolved carbonate (CO3 2-) and bicarbonate (HCO3-) ions, expressed in degrees of carbonate hardness (dKH) or ppm (mg/L as CaCO3).
  • Buffering role: Bicarbonate ions neutralize acids produced by fish waste, decaying organics, and the nitrogen cycle. Beneficial nitrifying bacteria consume roughly 0.4 dKH (~7.1 ppm) of alkalinity for every 1 ppm of ammonia oxidized into nitrate.
  • The crash threshold: When KH drops below 1–2 dKH (18–36 ppm), the water loses its acid-neutralizing capacity and pH can plummet rapidly (often below 6.0), stalling biological filtration.

TDS (Total Dissolved Solids)

  • What it measures: Every dissolved inorganic salt, mineral, and charged ion in the water, measured in ppm (mg/L). Digital TDS meters actually measure electrical conductivity (EC in µS/cm) and multiply by a conversion factor (typically 0.5 on a standard sodium chloride scale).
  • What TDS includes: Calcium, magnesium, carbonates, sodium, chloride, potassium, sulfate, nitrates, and liquid plant fertilizers.
  • What TDS misses: TDS does not identify which ions are present or whether water is safe. Two tanks can both read 200 ppm TDS—one with ideal 6 dGH / 3 dKH remineralized water, and another with depleted hardness and 80 ppm nitrate.

Unit Conversions and Quick Formulas

Use 17.85 as the conversion factor between German degrees (dGH / dKH) and ppm (mg/L as CaCO3). All water chemistry calculations below use plain-text formulas so you can verify test results or calculate tap-to-RO/DI mixing ratios in seconds.

Core Formulas

  • Degrees to ppm: ppm (mg/L) = dGH * 17.85 and ppm (mg/L) = dKH * 17.85
  • ppm to degrees: dGH = ppm / 17.85 and dKH = ppm / 17.85
  • Tap + RO/DI blending: Target Hardness = (Tap Hardness * Tap Fraction) + (RO/DI Hardness * RO/DI Fraction)
    • Example: Blending 50% tap water at 12 dGH with 50% RO/DI water at 0 dGH yields (12 * 0.5) + (0 * 0.5) = 6 dGH (107 ppm).
  • Minimum expected TDS from hardness: Minimum TDS (ppm) ≈ (dGH + dKH) * 17.85
    • If your measured TDS is much higher than (dGH + dKH) * 17.85, the difference comes from non-hardness ions such as sodium, chloride, sulfates, nitrates, or fertilizers.

dGH / dKH to ppm Conversion Table

Degrees (dGH or dKH) Concentration (ppm / mg/L as CaCO3) Relative Water Classification (for GH)
1 17.9 ppm Very soft
2 35.7 ppm Very soft
3 53.6 ppm Soft
4 71.4 ppm Soft
5 89.3 ppm Moderately soft
6 107.1 ppm Moderately hard
8 142.8 ppm Moderately hard
10 178.5 ppm Hard
12 214.2 ppm Hard
15 267.8 ppm Very hard

The pH, KH, and CO2 Relationship

Injecting pressurized CO2 lowers pH temporarily by forming carbonic acid, without consuming KH. Once CO2 outgasses at the surface or is absorbed by plants, pH returns to its baseline.

  • Normal CO2-driven pH drop: In a planted tank with 2–4 dKH (36–71 ppm), injecting CO2 to reach 25–30 ppm typically drops pH by 0.8–1.0 full unit compared to the aerated baseline. Fish handle CO2-induced pH swings well when KH remains stable; a 1.0 pH drop caused by exhausted KH (0 dKH) is dangerous, whereas a 1.0 pH drop from pressurized CO2 is normal.
  • Why pH/KH lookup charts fail: Traditional CO2/pH/KH tables assume carbonate alkalinity is the only buffer in the tank. Active aquasoil, driftwood tannins, peat, and phosphate-based pH buffers skew pH downward, causing charts to falsely report lethal CO2 levels.
  • Reliable CO2 calibration: Measure CO2 independently with a glass drop checker filled with a 4 dKH reference solution and bromothymol blue indicator. Aim for a lime green reading (~25–30 ppm CO2). Blue indicates insufficient CO2; yellow indicates excessive CO2.

How to Adjust GH, KH, and pH Safely

Always adjust water hardness and pH in a mixing bucket or dedicated aging barrel before adding water to a stocked aquarium. Direct tank dosing creates rapid osmotic shocks that stress fish gills and trigger premature shrimp molts.

Raising GH (Without Raising KH)

  1. Remineralizer salts: Use a dedicated GH-only remineralizer or a mix of calcium sulfate and magnesium sulfate dissolved in water change buckets.
  2. Maximum safe rate in stocked tanks: Limit total GH changes to +1 to +2 dGH (18–36 ppm) per 24 hours when topping up or transitioning livestock.

Raising KH and pH

  1. Slow passive buffering (filter media): Place crushed coral or aragonite sand in a mesh media bag inside your filter. Start with roughly 1–2 tablespoons per 10 gal (38 L) for a gentle buffer (+1 to +2 dKH), or use full aragonite substrate for Rift Lake African cichlids (40B–125 gal / 151–473 L). Crushed coral dissolves faster at lower pH and slows down as pH approaches 7.6–7.8.
  2. Exact bucket dosing (sodium or potassium bicarbonate): Dissolving ~1.14 g (~1/4 level teaspoon) of pure sodium bicarbonate (baking soda) per 10 gal (38 L) raises KH by ~1 dKH (17.9 ppm). Use potassium bicarbonate instead of sodium bicarbonate in planted tanks to avoid sodium buildup.
  3. Maximum safe rate: Raise KH by no more than 1–2 dKH per 24 hours in an occupied tank.

Lowering GH, KH, and pH

  1. RO/DI or distilled dilution: The only reliable way to permanently lower GH and KH is to dilute tap water with pure RO/DI or distilled water (0 dGH, 0 dKH, 0–5 ppm TDS), or start from 100% RO/DI water and remineralize to exact targets.
  2. Active aquasoil: Active buffering substrates (commonly packaged in 3 L and 9 L bags; never rinse before adding to the tank) absorb carbonate hardness and hold pH around 6.0–6.5 and KH at 0–1 dKH. Always pair active aquasoil with low-KH or remineralized RO/DI water—high-KH tap water rapidly exhausts the soil's buffering capacity and causes pH rebounds.
  3. Botanicals (only when KH is ≤2 dKH): Indian almond leaves, alder cones, and driftwood release humic and tannic acids that gently lower pH when KH is already low. They have minimal effect on high-KH tap water.
  4. Skip liquid acid "pH Down" products: Adding phosphoric or sulfuric acid to high-KH water triggers a temporary pH drop followed by a sharp rebound as remaining carbonates neutralize the acid, creating worse stress than a slightly elevated but steady pH.

Testing Schedule and Equipment

Use liquid drop test kits for GH, KH, and pH, and pair them with a digital TDS meter for rapid water-change checks. Paper test strips lose accuracy from ambient humidity and rarely distinguish subtle 1–2 dKH shifts.

Essential Testing Tools

  • Liquid drop test kits (pH, GH, KH): Count drops until the color shifts (e.g., orange to green for GH, blue to yellow for KH). Replace liquid reagents every 12–18 months or if stored in warm/bright areas.
  • Digital TDS meter: Instant ppm readout for checking RO/DI membrane health (should read 0–5 ppm) and verifying remineralized bucket batches before pouring them into the tank. Calibrate periodically with standard 342 ppm NaCl or 1413 µS/cm KCl reference solution.
  • Digital pH pen (optional): Useful for high-tech CO2 tanks tracking 0.1 pH shifts; requires two-point calibration (pH 7.00 and 4.01 or 10.01 buffers) and wet storage solution to keep the glass probe responsive.

Practical Testing Cadence

  • New or cycling tank: Test KH and pH weekly; nitrification consumes alkalinity and can stall a cycle if KH hits zero.
  • Established tank: Test GH, KH, and pH monthly—or immediately if livestock show clamped fins, lethargy, or failed molts.
  • Every water change (remineralized RO/DI or blended water): Check TDS in the mixing bucket with a digital meter to confirm the batch matches tank TDS within ±10–20 ppm.
  • Municipal tap water baseline (seasonal): Test your tap water's GH, KH, and 24-hour aerated pH at the change of seasons, as utilities adjust treatment chemistry throughout the year.

Common Water Parameter Pitfalls and Fixes

Most chronic parameter drift comes from topping off evaporation with tap water, letting KH deplete between water changes, or testing tap pH straight from the faucet.

  1. Topping off evaporation with tap water
    • What happens: Pure H2O evaporates while calcium, magnesium, and carbonates stay behind. Adding tap water back replaces lost volume and adds a fresh load of minerals, causing GH, KH, and TDS to climb steadily over months.
    • Fix: Top off evaporation exclusively with RO/DI or distilled water. Use conditioned tap water or remineralized water only for actual water changes where old tank water is removed.
  2. Testing tap water pH straight from the faucet
    • What happens: Pressurized municipal pipes hold excess dissolved CO2, making tap water read artificially acidic (pH 6.4–6.8). Once aerated in the aquarium, CO2 gasses off and pH climbs to 7.6–8.2 within 24 hours.
    • Fix: Pour tap water into an open cup, run a small airstone in it for 24 hours, and test that stabilized sample to learn your true tap pH.
  3. "Old Tank Syndrome" (sudden pH crash)
    • What happens: Skipping water changes allows nitric acid from fish waste and biological filtration to consume KH down to 0 dKH. Once the buffer is gone, pH crashes sharply, stalling beneficial bacteria and causing ammonia spikes.
    • Fix: Perform consistent 25–50% weekly water changes to replenish KH, or add a small bag of crushed coral to the filter if your tap water starts below 2 dKH (36 ppm).
  4. Using high-KH tap water over active aquasoil
    • What happens: Tap water with 6+ dKH fights the soil's cation-exchange capacity every water change, causing daily pH swings (6.2 → 7.4 → 6.2) and burning out the soil's buffering lifespan within months.
    • Fix: Use RO/DI water remineralized with a GH-only mineralizer (0 dKH, 4–6 dGH) on active aquasoil tanks.
  5. Treating TDS as a measure of water cleanliness
    • What happens: Hobbyists skip water changes because TDS looks low, or panic when adding plant fertilizers raises TDS by 30 ppm.
    • Fix: Use TDS strictly to track mineral consistency across water changes and evaporation top-offs; use nitrogen tests (ammonia, nitrite, nitrate) to evaluate waste buildup.