River Tank SetupLife is like a riverStart here
Hand holding a filled test tube from an aquarium GH and KH test kit, with a freshwater planted tank blurred in the background.
Tank Care

GH and KH in Your Aquarium: What They Measure and How to Fix Them

Learn what GH and KH measure in your aquarium, how to read your test kit, which ranges suit your fish, and how to safely raise or lower them.

Jack·8 min read·December 5, 2026

You've just finished the ammonia, nitrite and nitrate tests. Then you notice the second box in the kit, the one marked GH and KH, and wonder if you really need it. You do. GH, or general hardness, measures the calcium and magnesium dissolved in your water. KH, or carbonate hardness, measures the carbonate and bicarbonate that hold your pH steady. Below I cover what each number means, how to read it, what range to aim for, and how to fix one that's off.

What GH and KH measure, in plain terms

GH (general hardness) is the amount of dissolved calcium and magnesium in the water. The USGS uses the same idea when it describes water as "hard": mostly calcium and magnesium. Fish, plants and snails all draw on these minerals.

KH (carbonate hardness) is the amount of carbonate and bicarbonate ions in the water. You'll also see it called alkalinity or acid-neutralizing capacity. KH is your tank's pH buffer. It soaks up acid before the acid can move the pH.

A few points confuse almost everyone at first:

  • GH and KH are two separate numbers. Either one can be high while the other is low. Water that's rich in minerals isn't always well buffered, and the reverse is true too.
  • KH is not pH. pH tells you how acidic the water is right now. KH tells you how much acid the water can absorb before the pH starts to move. Think of KH as the shock absorber and pH as how bumpy the ride is.
  • The units vary. Aquarium kits usually report German degrees, written as dGH for general hardness and dKH for carbonate hardness. Water utilities and lab reports use ppm (parts per million) or mg/L, which mean the same thing, usually expressed "as CaCO3" (calcium carbonate). Water softener companies use grains per gallon. All three describe the same water.

Reading your test kit and converting units

Most hobby kits, including the API GH & KH kit, use drop counts. Fill the test tube to 5 ml. Add the reagent one drop at a time and invert the tube after each drop. Count drops until the color changes:

  • KH: starts blue and ends bright yellow.
  • GH: starts orange and ends green.

On the API kit, each drop equals 1 dGH or 1 dKH. If it takes six drops for the KH test to turn yellow, you have 6 dKH.

To convert:

  • Degrees to ppm: multiply by 17.9. So 6 dKH is about 107 ppm.
  • Grains per gallon to ppm: 1 grain per gallon equals 17.1 mg/L.

The USGS sorts water hardness into four bands. I've added rough degree equivalents (ppm divided by 17.9):

  • Soft: 0–60 mg/L (0–3.5 grains/gal), about 0–3.4 dGH
  • Moderately hard: 61–120 mg/L (3.5–7 grains/gal), about 3.4–6.7 dGH
  • Hard: 121–180 mg/L (7–10.5 grains/gal), about 6.8–10 dGH
  • Very hard: over 180 mg/L (over 10.5 grains/gal), about 10 dGH and up

Tap water in the US ranges across all four bands, so test your own water before you plan stocking. Your utility's annual water quality report is a good second check. The EPA sets no legal limit for hardness, because it isn't toxic at normal levels. Your water company only has to keep it safe to drink, not right for your fish.

Why KH matters: the pH buffer

An aquarium makes acid all the time. Fish breathe out CO2, waste breaks down, and the nitrifying bacteria in your filter release acid as they turn ammonia into nitrite and then nitrate. Bicarbonate neutralizes that acid. The catch is that this uses the bicarbonate up, so your filter bacteria slowly eat away at your KH.

When KH runs low, the pH loses its cushion. Below about 2–3 dKH, pH can swing much more, and the CO2 that builds up overnight from respiration can push it down sharply by morning. LiveAquaria warns that KH of 50 ppm or less (about 2.8 dKH) tends to mean acidic water and fast pH shifts.

New tanks and cycling tanks need the most attention. The bacteria are working hard to process ammonia, and they're using up buffer as they go. During a heavy ammonia cycle, keep pH above 7.0 and KH above 1 dKH. Add a carbonate or bicarbonate source if either one drops. If the pH falls too far, the cycle can stall.

So where should you set the floor? The numbers vary by source:

  • Seneye says freshwater fish do best at 4.5 dKH or higher.
  • A snail-care guide recommends above 4 dKH.
  • Above 3 dKH keeps you out of the danger zone described above.
How Often To Change Aquarium Water
Related: How Often Should You Change Aquarium Water? Let Your Tank Set the Schedule

Sources also disagree on how often a real pH crash happens. Aquariumscience.org argues that crashes mainly happen in neglected tanks, or in new tanks where the water is rarely changed (often called "Old Tank Syndrome"). Other sources treat low KH as a constant risk. Both sides agree on the fix: regular water changes bring back fresh buffer, and a KH test tells you when you're running low.

Why GH matters: what your animals need

KH protects the tank as a whole. GH matters to each animal living in it. Calcium and magnesium are used for body functions, bones and shells, and every species has a range it's adapted to. A few examples show how wide those ranges are:

  • Bronze corydoras (Corydoras aeneus): 2–15 dGH, pH 6.0–8.0, 70–81°F (21–27°C). A forgiving fish.
  • Common molly (Poecilia sphenops): 15–30 dGH, pH 7.0–8.5. Mollies weaken fairly quickly in soft, acidic water. Many keepers add salt for mollies, but they don't need it. The calcium and magnesium in hard water are what they actually need.
  • Freshwater snails: above 8 dGH, ideally 12–18 dGH, with pH 7.0–8.0. Soft, acidic water slowly dissolves their shells. Pitted, thin or white-eroded shells are often the first sign your GH is too low.

This matters most for river-style tanks. A stream or river setup tends to collect animals from very different waters: a soft-water fish from one continent next to a hard-water livebearer and some snails. My old River Tank EcoSystem held fish, little crabs, small turtles, fire-bellied frogs and even chameleons, all in one 55-gallon long. A mixed tank like that only works if every animal can live in the same water. Look up each species' GH, KH and pH range before you buy. Then pick a water target that falls inside all of their ranges. If no single number fits everyone, that mix shouldn't share a tank.

Changing GH and KH safely

Once you know your numbers and your animals' ranges, here are the safe ways to adjust.

To raise KH:

  • Baking soda (sodium bicarbonate). This is cheap and works well. It can push pH toward 8.5, so add a small amount, wait two days, and test again. Stop adding it once pH is above 7.5.
  • Crushed coral or aragonite. Put it in a filter bag or mix it into the substrate. It dissolves slowly and adds buffer as it goes, averaging around pH 7.6–7.9, though it can swing anywhere from 6.9 to 8.5. It works best with strong water flow, which fits a stream tank well. It lasts about 3–6 months before it needs replacing.

To raise GH:

  • Seachem Equilibrium. One tablespoon (16 g) per 20 US gallons raises GH by about 3 dGH. Pre-mix it in about a liter of water first. The mix will look white and cloudy. Add it to new water at setup or during water changes, not when you top off evaporation, because evaporation leaves the minerals behind in the tank. Equilibrium is made to raise GH. For KH, use one of the carbonate options above.

If you use RO water: reverse osmosis water has had nearly all its minerals stripped out. Don't put it in the tank untreated. Remineralize it first. The one exception is topping off evaporation, since the minerals stayed in the tank when the water evaporated.

What to avoid:

  • Phosphate-based buffers. They feed algae.
  • Acid "pH down" products. They can drop pH to around 5.5 and stall the nitrogen cycle.

Whatever you change, change it slowly and test again before adding more. Sudden jumps in hardness or pH stress fish more than a steady number that's a little outside their ideal range.

Quick targets and a testing routine

These ranges are my rough guides, built from the numbers above. Your actual species list always comes first.

  • Soft-water tanks: GH in the soft-to-moderately-hard band, about 2–6 dGH. KH 3–4 dKH or higher to keep pH steady.
  • Community tanks: GH about 4–12 dGH, which sits inside a bronze cory's 2–15 range. KH 4–6 dKH or higher.
  • Hard-water tanks (livebearers, snails): GH 12–18 dGH for snails, 15 dGH and up for mollies. KH above 4 dKH. pH 7.0–8.0 or a little higher.

For testing, my suggestion is this. Test your tap water once so you know where you're starting. While a new tank cycles, test KH every few days, since the bacteria use it up fastest then. After that, test GH and KH every couple of weeks and any time you change your water source or add a buffer. If you're setting up a new tank this fall, put those first readings in a notebook. By Thanksgiving you'll have enough readings to see how your tank's numbers change over time.

Sources (9)