How to Clean a Filter Without Losing the Beneficial Bacteria
Clean your aquarium filter without killing its bacteria. Rinse in tank water, clean only until flow returns, and never replace all media at once.

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.
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:
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:
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:
The USGS sorts water hardness into four bands. I've added rough degree equivalents (ppm divided by 17.9):
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.
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:

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.
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:
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.
Once you know your numbers and your animals' ranges, here are the safe ways to adjust.
To raise KH:
To raise GH:
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:
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.
These ranges are my rough guides, built from the numbers above. Your actual species list always comes first.
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.