Carbonate hardness, or KH, is the part of your water chemistry that stops pH from wandering. While there is plenty of it, acids made in the tank are soaked up and pH barely moves. As it runs low, pH starts to slide, and once it is gone, a little more acid can drop pH by two whole units. Knowing your KH, and what uses it up, is how you stop that happening.
Key takeaways
- KH measures the bicarbonate and carbonate in your water. It is the buffer that holds pH steady.
- pH falls only slowly while KH is used up, then drops sharply once KH nears zero. That is the pH crash.
- Fish waste is the main drain. Turning ammonia into nitrate uses up KH every day, so a tank that skips water changes slowly loses its buffer.
- Most community tanks are safe at 4 to 8 °dKH. Below about 2 °dKH, test more often.
- Raise KH slowly with sodium bicarbonate (baking soda) or crushed coral. Do not chase pH with acid or alkaline adjusters.
Quick facts
- What KH measures
- Bicarbonate and carbonate, the water's acid-neutralising buffer
- Units
- °dKH, ppm (mg/L) as CaCO3, or meq/L
- Conversions
- 1 °dKH = 17.85 ppm as CaCO3 = 0.357 meq/L
- Safe for most community tanks
- 4 to 8 °dKH (70 to 140 ppm)
- Danger zone
- Below about 2 °dKH, unless you keep soft-water species on purpose
- Baking soda dose
- 3 g per 100 litres (26 US gal) raises KH by about 1 °dKH
- Test with
- A liquid drop test that counts drops to a colour change
What KH is
KH stands for Karbonathärte, German for carbonate hardness. In practice it measures the bicarbonate (HCO3−) and carbonate (CO32−) dissolved in your water. These are bases. They react with acid and neutralise it, which is why water with plenty of KH resists changes in pH.
KH, alkalinity and GH
Three terms get mixed up, and the difference matters.
- Alkalinity is the water's total capacity to neutralise acid. In fresh water it is almost all bicarbonate and carbonate, with a little hydroxide at high pH. Labs and fish farmers report it as total alkalinity.
- KH is the aquarium name for the same thing. A KH test kit actually measures total alkalinity, by adding acid until the sample reaches a set end point. Strictly, alkalinity can include other bases, such as phosphate or the salts of organic acids, but in most fresh water the two numbers are the same.
- GH, or general hardness, measures calcium and magnesium. It says nothing directly about buffering.
GH and KH often rise together, because limestone dissolves as calcium bicarbonate and adds to both. But they can come apart: sodium bicarbonate adds KH without any GH, and water rich in calcium sulphate has plenty of GH but little KH. For pH stability, KH is the number to watch.
Units and conversions
Aquarium kits usually report KH in German degrees (°dKH or °dH). Water companies, labs and many US kits use ppm or mg/L "as CaCO3", which expresses the buffer as if it were all calcium carbonate. Chemists and reef keepers often use milliequivalents per litre (meq/L).
| Unit | Equal to 1 °dKH | Equal to 1 meq/L |
|---|---|---|
| °dKH | 1 | 2.80 |
| ppm or mg/L as CaCO3 | 17.85 | 50.0 |
| meq/L | 0.357 | 1 |
| US grains per gallon (as CaCO3) | 1.04 | 2.92 |
The German degree is defined as 10 mg of calcium oxide per litre, which works out at 17.85 ppm as CaCO3. Figures of 17.8 or 17.9 are rounding, and for quick sums 1 °dKH is about 18 ppm. US water reports sometimes give grains per gallon, where 1 grain is 17.1 mg/L as CaCO3.
Why pH holds steady, then crashes
Every aquarium makes acid. Fish, plants and bacteria breathe out carbon dioxide, which forms carbonic acid in water. Filter bacteria release acid as they process waste. Rotting food and leaves add organic acids.
When acid meets bicarbonate, the two react to make carbon dioxide and water. The acid is used up, and so is some of the bicarbonate. Much of the carbon dioxide then escapes at the surface. The result is that pH moves very little, but KH drops a notch each time.
At any given level of carbon dioxide, pH depends on how much bicarbonate is left, on a log scale. Each time KH halves, pH falls by only about 0.3 units. That is why a tank can lose most of its KH with little sign on a pH test. The trouble starts when the bicarbonate is nearly gone. There is nothing left to absorb the next batch of acid, so it stays in the water as free acid and pH plunges.
The figures below come from the standard chemistry of carbonic acid at 25 °C (77 °F), for a tank holding 5 mg/L of carbon dioxide. They are a worked example, not a measurement from any real tank, but the pattern holds in every tank.
| KH | pH | What has happened |
|---|---|---|
| 8 °dKH | 7.75 | Plenty of buffer |
| 4 °dKH | 7.45 | Half the buffer gone, pH down 0.3 |
| 1 °dKH | 6.85 | Seven-eighths gone, pH down only 0.9 in total |
| 0.25 °dKH | 6.25 | Buffer almost gone, pH now falling fast |
| 0 °dKH | 5.15 | No buffer left |
| Slightly more acid | About 4.4 | Free acid now sets pH directly |
Losing the first seven degrees of KH cost less than one pH unit. Losing the last single degree, plus a little more acid, cost over two. Most aquarium KH kits read in whole degrees, so a tank that tests at 1 °dKH may be closer to the edge than it looks.

What uses up KH in an aquarium
Nitrification
This is the big one. The bacteria that turn ammonia into nitrite and then nitrate, the process at the heart of cycling a new aquarium, release acid as they work. The chemistry gives two units of acid for every unit of ammonium turned into nitrate. In weight terms, that is 7.14 mg of alkalinity (as CaCO3) used up for every 1 mg of ammonia-nitrogen. Aquaculture engineers who allow for the bacteria's own growth put it at 7.05 mg. Either way, the figure of about 7.1 mg per mg is sound.
In a fish tank the real loss is lower. Fish excrete much of their ammonia as ammonia gas (NH3), which picks up acid as it turns into ammonium in the water, and that puts back about half of what nitrification takes. Fish farmers running recirculating systems find they need roughly half the textbook amount of bicarbonate, about 0.25 kg of sodium bicarbonate for every 1 kg of feed.
A useful rule follows from these figures. For every 10 mg/L of nitrate that builds up between water changes, expect KH to drop by roughly half a degree, and up to about one degree. Plants that take up nitrate or ammonium shift this in either direction, so treat it as a rough guide. The point is that every gram of food you add slowly spends your buffer, and water changes are what refill it.
Cycling in soft water
Fishless cycling can stall when tap water is very soft, because the bacteria use up what little KH there is and the pH falls below the range they work in. Fish farms starting a new biofilter raise alkalinity to about 150 mg/L as CaCO3 (around 8 °dKH) first, using sodium bicarbonate. If your cycle stalls, test KH and pH before anything else.
Organic acids
Uneaten food, fish waste and decaying leaves and plants break down into organic acids and carbon dioxide, which use up bicarbonate like any other acid. A tank with a dirty filter, deep mulm or a habit of overfeeding loses KH faster than a clean one. Bogwood, peat and leaf litter release similar acids on purpose, which is why they soften and acidify water.
Carbon dioxide
Carbon dioxide on its own does not remove KH. It forms carbonic acid, which lowers pH, but it turns some carbonate into bicarbonate rather than destroying the buffer. When the carbon dioxide leaves, pH comes back up. That is why pH in a planted tank falls at night, when plants stop using carbon dioxide, and rises in the day. The swing is much smaller in water with plenty of KH. In a tank with very little KH, the same overnight rise in carbon dioxide can push pH down by a full unit or more.
Soft source water
Some tanks start with almost no buffer. Tap water drawn from granite, sandstone or peaty catchments can have a KH close to zero. Water from a reverse osmosis (RO) unit and rainwater have close to none at all. Such water is fine, and often ideal, for soft-water fish, but it leaves no margin for error. If you use it, you have to supply the buffer yourself or test far more often.
Signs of a pH crash
A crash rarely announces itself. The usual pattern is a tank that has run fine for months, then fish go off their food, hang near the surface or hide, breathe quickly, clamp their fins, or start dying one or two at a time with no visible disease. Some losses happen overnight or early in the morning, when carbon dioxide is highest and pH lowest. You cannot diagnose it by eye. A pH and KH test is the only way to know.
Why it can kill
- The speed of the change. Fish cope much better with a steady pH outside their ideal than with a fast swing. A rapid change of two units or more is harmful, especially to young fish.
- Salt loss. In soft, acidic water, the gills struggle to take up sodium and start losing it. Research on zebrafish found that pH 4.0 in ion-poor water completely stopped sodium uptake, and the authors note that most fish exposed to such water would soon die of salt-balance failure. Fish from Amazonian blackwaters manage in similar water partly because of the natural organic matter in it, which a crashed tank does not reliably provide.
- The filter stops. Nitrifying bacteria slow down as pH falls and are strongly inhibited below about pH 6. Ammonia and nitrite then build up.
- A hidden ammonia trap. At low pH almost all ammonia is in the less toxic ammonium form. The toxic share rises about tenfold for every one-unit rise in pH. A tank that has crashed to pH 6 with a high ammonia reading can look stable. Raise the pH quickly, with a big water change or a dose of buffer, and that ammonia suddenly becomes far more poisonous.
Old tank syndrome
Fishkeepers use the name "old tank syndrome" for a long-established tank with very low KH, low pH, high nitrate and often rising ammonia, usually after months of small or missed water changes. The chemistry behind it is sound: nitrification uses up the buffer, pH falls, the filter bacteria slow, and waste builds up. Typical readings are pH below 6.0, KH near zero, and ammonia, nitrite and nitrate all raised.
Be clear about the evidence, though. No controlled study of old tank syndrome in home aquariums has been published, and there is no agreed definition. A very large water change at once is sometimes recommended as the cure, but it can kill fish in exactly this situation, for the reason given below. Small daily changes are safer. Treat the name as a useful label for a real chemical pattern, not a precisely defined condition.
What to do if pH has crashed
- Test first
Measure pH, KH, ammonia and nitrite. Note the ammonia reading before you change anything.
- Change water in moderate steps
If ammonia is low, a water change of about a quarter, with dechlorinated water at the same temperature, starts to restore the buffer. If ammonia is high, keep each change small and repeat it daily, because a large jump in pH will make that ammonia more toxic.
- Rebuild KH over days
If your tap water is soft, add sodium bicarbonate in small doses over several days rather than all at once. Retest pH and ammonia after each step. There is no published safe rate of pH change for aquarium fish, so err on the slow side.
- Fix the cause
Clean the mechanical filter media gently in tank water, remove decaying matter, feed less, and set a regular water change routine.
Testing KH
Liquid KH tests are simple titrations. You fill a test tube with a set volume of tank water and add reagent one drop at a time, swirling after each, until the colour changes, usually from blue to yellow. The number of drops gives the KH. On most kits, each drop equals 1 °dKH or about 18 ppm, but check the instructions, as kits differ. Some kits suggest using a larger sample to read in half-degree steps, which is worth doing if your KH is low.

Test strips give only a rough band and are hard to read at low KH, so use a drop test for anything that matters.
How often to test
There is no published standard for home aquariums, so this is our judgement:
- Test your tap water once when you set up, and again if your supplier changes its source or the season changes. This is one of the first things to check when choosing your first aquarium and its fish.
- In an established tank with tap water over about 4 °dKH and weekly water changes, test KH monthly.
- Test weekly if KH is below 4 °dKH, if you use RO or rainwater, if you inject carbon dioxide, or if the tank is heavily stocked.
- Test pH and KH at once if fish behave strangely, if a cycle stalls, or after long gaps in maintenance.
Test pH at the same time of day each time, because it swings between day and night. KH changes slowly, so the time of day matters much less.
What to aim for
Steady matters more than an exact number. These ranges are our best judgement from the evidence, and for most groups no research gives a precise KH figure.
| Tank | KH | Notes |
|---|---|---|
| Community freshwater | 4 to 8 °dKH (70 to 140 ppm) | Enough buffer to ride out missed maintenance. Below 2 °dKH, pH swings become likely. |
| Soft-water species | 0 to 4 °dKH | For fish such as cardinal tetras, discus, Apistogramma and German blue rams, especially wild fish or breeding. Low KH is fine if you test often and change water regularly. Farmed neon tetras cope with 2 to 8 °dKH. |
| Livebearers | Upper community range or above | Guppies, platies, mollies and swordtails prefer hard, alkaline water, around pH 7 to 8.5. There is no reliable published KH figure for them, but holding pH that high needs a solid buffer, so keep KH at least in the upper community band. |
| Lake Malawi cichlids | At least 6 °dKH, often kept at 10 or more | Lake Malawi itself measures about 6.5 to 7 °dKH (2.3 to 2.5 meq/L) with pH 7.5 to 8.5. Aquarium practice for fish such as the electric yellow cichlid usually runs higher, which does no harm if steady. |
| Lake Tanganyika cichlids | 10 °dKH or more | The lake is strongly buffered, with pH close to 9 at the surface. Tropheus and frontosa want hard, alkaline water. |
| Cherry shrimp | About 2 to 8 °dKH | Cherry shrimp do best at about 4 to 6 °dKH and tolerate a wider band if it is steady. Sudden changes are the main risk. |
| Crystal and bee shrimp | 0 to 2 °dKH | Crystal red shrimp and related Caridina are usually kept in remineralised RO water, often over an active soil that holds pH low. |
| Marine reef | 7 to 11 °dKH (2.5 to 4 meq/L) | Natural seawater is about 7 °dKH. Keep it steady; see the marine section below. |
There is no published research on the best KH for aquarium shrimp, so the shrimp ranges come from keeping practice. If you want to keep hard-water and soft-water species in the same tank, check them in the fish compatibility checker first, because no single KH suits both.
Raising KH safely
Raise it slowly
Raising KH also raises pH. In a tank with any ammonia present, a quick rise in pH makes that ammonia more toxic. Split large corrections over several days, retest between doses, and never add buffer straight onto fish.
Sodium bicarbonate (baking soda)
Plain sodium bicarbonate, sold as baking soda or bicarbonate of soda, is the simplest way to raise KH. It dissolves at once and adds pure bicarbonate. Fish farmers use it routinely for this. Use the plain powder only, not baking powder, which contains acids and starch.
The dose comes straight from the chemistry. One degree of KH is 0.357 meq/L. Sodium bicarbonate provides one equivalent of alkalinity per molecule, and it weighs 84 g per mole. So 1 °dKH needs 0.357 × 84 = 30 mg of sodium bicarbonate per litre.
| Tank volume | To raise KH by 1 °dKH |
|---|---|
| 100 litres (26 US gal) | 3.0 g |
| 10 US gal (38 litres) | 1.1 g |
| 200 litres (53 US gal) | 6.0 g |
Use the real water volume, which is usually noticeably less than the tank's rated size once gravel and rocks are in. For small tanks, a digital scale that reads to 0.1 g is far better than kitchen scales.
- Work out the dose
Say your 100-litre tank reads 1 °dKH and you want 4 °dKH. That is 3 degrees, so 3 × 3.0 g = 9 g in total.
- Split it
Add a third, 3 g, each day over three days.
- Dissolve first
Stir each dose into a cup of tank water until clear, then pour it slowly into an area of good flow, away from the fish.
- Retest
Check KH, pH and ammonia the next day before adding more.
- Match your new water
Add the same dose to replacement water at water changes, scaled to the volume changed, so KH does not drop each time.
Two side effects are worth knowing. Sodium bicarbonate adds about 8 mg/L of sodium for each degree of KH, which is harmless at normal doses. It also raises KH without raising GH, so it does nothing for fish or shrimp that need calcium and magnesium. On its own, bicarbonate will not push pH much above about 8.3, which makes overdosing pH hard, but it is still easy to give too much KH for soft-water fish.
Crushed coral and aragonite
Crushed coral, aragonite sand and limestone chips are forms of calcium carbonate. They dissolve slowly, adding both KH and GH. They dissolve faster in more acidic water and slow down as pH rises, so they buffer gently and tend to limit themselves. Aragonite dissolves a little more readily than calcite, the mineral in limestone. Their slowness cuts both ways: calcium carbonate can dissolve too slowly to cope with a sudden flood of acid.

Put a mesh bag of crushed coral in the filter, or mix some into the substrate. Start with about 1 lb per 10 US gal (roughly 12 g per litre) and adjust from there by testing. Rinse it well first. New crushed coral carries fine dust that can turn water milky for a while; see cloudy aquarium water if it does not clear. Its buffering also fades as the surface coats over, so replace or scrub it every few months.
Mineral salts for RO water
Pure RO water has almost no minerals, so it must be remineralised before use. Aquarium remineralising salts come in two broad types:
- GH-only salts add calcium and magnesium without bicarbonate. These suit Caridina shrimp and soft-water fish, where you want minerals but very little KH.
- GH and KH salts add both. These suit general community tanks and cherry shrimp.
Mix the salts into the RO water before it goes in the tank, follow the maker's dose, and check GH and KH in the result. Marine salt mixes include alkalinity, so test the made-up seawater rather than adding extra buffer.
Lowering KH
Blending with RO water or rainwater
The most predictable way to lower KH is dilution. RO units remove most dissolved minerals, including calcium, magnesium and bicarbonate. KH in a mix is simply the average of the two waters by volume. With tap water at 12 °dKH and RO water at 0, one part tap to two parts RO gives 4 °dKH.
Rainwater is naturally soft, but only use it if it is collected cleanly. Avoid rain from roofs treated with chemicals such as moss killer, or that has run through copper or zinc gutters. Metals are more toxic to fish in soft, low-alkalinity water, which is exactly what rainwater is. Many keepers skip rainwater altogether for this reason.
Peat and leaf litter
Peat, alder cones and dried leaves such as Indian almond leaves release humic and other organic acids. These neutralise bicarbonate, which lowers KH and then pH, and they stain the water tea-brown like a natural blackwater stream. The effect depends on how much you use and how hard your water is. There is no reliable published dose for aquarium use, so add a little, test, and adjust. In hard water the acids are mostly used up by the buffer, so peat alone rarely softens very hard tap water.
Why chasing pH backfires
Products that promise to set pH to a fixed number work against the buffer. A pH-down product is an acid. In water with plenty of KH, it simply reacts with bicarbonate: pH dips briefly, then drifts back as carbon dioxide escapes, and all you have done is spend some KH. Keep dosing, and you eventually exhaust the buffer, at which point the next dose sends pH crashing. A pH-up product does the reverse, and in soft water it can swing pH up and down from one water change to the next.
The fix is to change KH, not to fight pH. Choose fish that suit your water, or alter the water in a controlled way by blending or buffering, then let pH settle where the KH puts it.
CO2 injection in planted tanks
Many planted-tank keepers inject carbon dioxide to feed plant growth. Because carbon dioxide, pH and KH are linked by fixed chemistry, you can estimate the carbon dioxide level from a pH and KH reading. Under the same conditions, adding carbon dioxide lowers pH but leaves KH unchanged.
The table below is our calculation at 25 °C (77 °F) for typical freshwater, using the carbonic acid constant published by Plummer and Busenberg and a small correction for dissolved salts. Values are carbon dioxide in mg/L.
| KH | pH 6.4 | pH 6.6 | pH 6.8 | pH 7.0 | pH 7.2 | pH 7.4 |
|---|---|---|---|---|---|---|
| 1 °dKH | 13 | 8 | 5 | 3 | 2 | 1 |
| 2 °dKH | 26 | 17 | 10 | 7 | 4 | 3 |
| 3 °dKH | 39 | 25 | 16 | 10 | 6 | 4 |
| 4 °dKH | 53 | 33 | 21 | 13 | 8 | 5 |
| 6 °dKH | 79 | 50 | 31 | 20 | 12 | 8 |
| 8 °dKH | 105 | 66 | 42 | 26 | 17 | 11 |
Why the table is only an estimate
- Other acids and bases. The sum assumes all of your KH is bicarbonate. Humic acids from wood, soil and leaves, and phosphate from fertilisers or active soils, also affect the pH or the KH test. Both make the table read high, sometimes badly so.
- Test accuracy. An error of 0.1 in pH changes the carbon dioxide figure by about 25%. A KH kit that reads in whole degrees can be 50% out at low KH.
- Temperature and salts. The chemistry shifts a little with temperature and dissolved salts. That alone moves the figures by around 10%.
- Daily swings. Carbon dioxide rises and falls through the day, so one reading is a snapshot.

A drop checker gets round the first problem. It holds indicator solution of known KH inside the tank, separated from the tank water by an air gap, so its colour responds to carbon dioxide alone. It is slow to react and gives only a rough band.
Watch the fish, not just the numbers
Fish farmers treat about 20 mg/L of carbon dioxide as the level where it may start to stress fish, because it gets in the way of oxygen uptake. Planted tanks are often run higher than that. If fish gather at the surface or breathe hard, especially near the end of the lighting period, cut the carbon dioxide at once and increase surface movement. Run injection on a timer so it stops at night, and keep KH steady, because low KH makes every change in carbon dioxide hit pH harder.
Marine alkalinity
In a marine tank, alkalinity plays the same buffering role but matters for a second reason: corals, coralline algae and giant clams use bicarbonate and carbonate to build their skeletons and shells. Every gram of calcium carbonate they lay down removes alkalinity and calcium from the water, so a growing reef tank uses up alkalinity steadily even with perfect maintenance. Research has shown that adding bicarbonate to seawater can speed up coral growth, with one 1999 study recording roughly double the skeletal growth rate in Porites coral.
Natural seawater has an alkalinity of about 7 °dKH (2.5 meq/L). In a reef tank, hold it between 7 and 11 °dKH, and above all keep it steady, because sudden swings stress corals. Alkalinity set too high can make calcium carbonate settle out on heaters and pumps, wasting calcium.
Non-calcifying animals benefit too, because good alkalinity holds pH steady at around 8.2, close to natural seawater. A bubble tip anemone, for instance, needs a mature and stable tank; see bubble tip anemone care. Test alkalinity at least weekly in a reef with stony corals, and top it up with a reef buffer or a balanced two-part calcium and alkalinity supplement rather than baking soda alone.
Common mistakes
- Testing pH but never KH.
- Letting water changes slip in a tank with soft source water.
- Using pH adjusters instead of fixing KH.
- Raising KH and pH in one go in a tank with high ammonia.
- Using pure RO water without remineralising it.



