KH, short for the German term Karbonathärte (carbonate hardness), measures the concentration of carbonate and bicarbonate ions dissolved in water. It is one of the most important parameters in aquarium keeping, water treatment, and environmental science because it determines how well water can resist swings in pH. The buffering capacity that KH provides is rooted in straightforward equilibrium chemistry between dissolved carbon dioxide, bicarbonate, and carbonate, but the practical consequences of that chemistry ripple outward into everything from coral reef survival to limescale buildup in pipes.
What KH Actually Measures
When people talk about KH, they are talking about the alkalinity contributed specifically by carbonate (CO₃²⁻) and bicarbonate (HCO₃⁻) ions in solution. These ions come primarily from dissolved limestone, chalk, and other carbonate-bearing minerals. In most freshwater and many marine contexts, KH and “alkalinity” are used almost interchangeably, though alkalinity in a strict analytical sense can include contributions from other bases like borate and hydroxide. For practical purposes in aquariums, pools, and drinking water, KH is the number that matters.
KH is typically reported in degrees of hardness (dKH), where one degree equals about 17.9 milligrams per liter of calcium carbonate equivalent. You will also see it expressed simply as parts per million (ppm) of CaCO₃. A reading of 4 dKH, for instance, corresponds to roughly 71 ppm. Most freshwater aquarists aim for somewhere between 3 and 8 dKH, while reef tanks often target higher values because coral growth consumes carbonate ions steadily.
How Carbonate Buffering Works
The reason KH gets so much attention is its role as a pH buffer. In water, dissolved carbon dioxide, bicarbonate, and carbonate exist in a dynamic equilibrium. When an acid enters the system, hydrogen ions react with bicarbonate to form carbon dioxide and water, soaking up the acid without a large drop in pH. When a base is added, the equilibrium shifts the other way, and carbonate ions absorb the excess hydroxide. As long as there is a reservoir of bicarbonate and carbonate to draw on, the pH stays relatively stable.
This bicarbonate-carbon dioxide system is not unique to fish tanks. It is the most important extracellular buffer in mammalian blood, where plasma bicarbonate concentration is tightly regulated by the kidneys while the lungs control carbon dioxide levels through breathing rate.1PubMed Central. Acid-base balance: a review of normal physiology The chemistry is the same whether it is happening in your bloodstream or in a lake. The difference is that your body has organs dedicated to keeping the buffer in balance, whereas a body of water relies on geological and biological inputs to replenish its carbonate supply.
When KH drops too low, the buffer is effectively used up. At that point, even small additions of acid can cause dramatic pH crashes. This is why aquarists who keep soft-water species still monitor KH carefully. A tank with a KH near zero can swing from pH 7 to pH 5 overnight as biological processes produce acids, which can be lethal to fish.
Where KH Comes From in Nature
In the natural world, carbonate hardness originates mainly from the weathering of rocks. When rainwater, which is slightly acidic from dissolved atmospheric carbon dioxide, flows over limestone and other carbonate minerals, a chemical reaction dissolves the rock and releases bicarbonate ions into the water. Silicate minerals also contribute bicarbonate when they weather, though the chemistry differs slightly. For carbonate rock weathering, half the bicarbonate produced comes from the mineral itself and half from atmospheric CO₂, while for silicate weathering, all the bicarbonate derives from atmospheric CO₂.2Continental Shelf Research. A comparative overview of weathering intensity and HCO3− flux in the world’s major rivers with emphasis on the Changjiang, Huanghe, Zhujiang (Pearl) and Mississippi Rivers
This is why water hardness varies so dramatically by region. Rivers flowing through limestone terrain, like much of the karst landscape in central Europe or the American Midwest, carry high concentrations of dissolved bicarbonate and tend to have high KH. Rivers draining granite or volcanic rock, like many waterways in Scandinavia or the Pacific Northwest, carry far less and tend toward soft, low-KH water. If you have ever noticed that tap water in one city leaves mineral deposits on everything while tap water in another city barely leaves a trace, the difference often comes down to how much carbonate rock the source water flowed through before reaching the treatment plant.
KH, GH, and Why They Are Not the Same
A common point of confusion, especially among aquarium hobbyists, is the difference between KH and GH. General hardness (GH) measures the total concentration of dissolved calcium and magnesium ions, regardless of what negative ion they are paired with. KH measures the carbonate and bicarbonate portion specifically. A water sample can have high GH but low KH if most of the calcium and magnesium are paired with chloride or sulfate ions instead of carbonates. The reverse is rarer but possible in waters rich in sodium bicarbonate, where KH is high but calcium and magnesium levels are modest.
This distinction matters in practice. GH affects osmoregulation in fish and the availability of calcium for shell-building invertebrates. KH affects pH stability. You can adjust one without necessarily changing the other. Adding crushed coral to an aquarium, for instance, raises both GH and KH because it dissolves calcium carbonate. Adding sodium bicarbonate (baking soda) raises KH without adding calcium, so GH stays put. Knowing which parameter you actually need to change saves a lot of trial-and-error dosing.
The Relationship Between KH and pH
KH does not set the pH of water directly, but it governs how resistant the pH is to change and influences what equilibrium the system settles into. Water with high KH tends to maintain a pH somewhere in the range of 7.5 to 8.5, because the carbonate buffer equilibrium favors a mildly alkaline state when bicarbonate concentrations are elevated. Water with very low KH offers almost no resistance to acidification, so biological processes like bacterial respiration or the breakdown of organic matter can drag the pH downward unchecked.
Research on livestock water systems illustrates the practical side of this relationship. In hard water with elevated mineral content, more organic acid is needed to bring the pH down to a target level because the carbonate buffer actively resists acidification. An inverse relationship between water hardness and initial pH has been observed, where higher hardness correlated with a slightly lower starting pH, but the buffering capacity of hard water still required substantially more acidifier to reach a given endpoint.3PubMed Central. Relationship between water hardness, pH, and organic acid requirement for effective water acidification in swine operations Anyone who has tried to lower the pH in a high-KH aquarium with off-the-shelf pH-down products has experienced the same frustration: the buffer absorbs the acid and the pH bounces back within hours.
The practical takeaway is that adjusting pH without addressing KH first is usually futile. If you want stable acidic conditions for, say, a planted aquarium with Amazonian species, the path forward is to reduce KH (through reverse osmosis filtration, peat filtration, or dilution with distilled water) and then let the pH settle naturally, rather than fighting the buffer head-on with acids.
KH in Aquatic Biology
Carbonate chemistry sits at the foundation of some of the most important biological processes in water. Calcification, the process by which organisms build shells and skite skeletons from calcium carbonate, depends directly on the availability of carbonate ions. When an aquatic plant or alga photosynthesizes, it pulls dissolved CO₂ or bicarbonate out of the surrounding water, which locally raises the pH and shifts the carbonate equilibrium toward higher carbonate ion concentrations. That shift promotes calcium carbonate precipitation right at the surface of the organism, effectively turning dissolved minerals into solid structure.4Plant, Cell & Environment. Calcification in aquatic plants
This mechanism explains why heavily planted aquariums sometimes develop white mineral crusts on leaf surfaces, especially on slow-growing species in hard water. The plant’s photosynthetic activity locally depletes CO₂ around the leaf, the pH spikes in that microenvironment, and calcium carbonate precipitates out of solution. It is the same basic chemistry that produces the dramatic tufa formations around mineral springs.
In the ocean, the relationship between carbonate chemistry and biology has become a major environmental concern. When seawater absorbs excess atmospheric CO₂, the resulting carbonic acid reacts with carbonate ions and effectively lowers their availability. Across a broad range of marine organisms, this acidification leads to decreased survival, calcification rates, growth, and development, though the severity varies by species.5PubMed Central. Impacts of ocean acidification on marine organisms: quantifying sensitivities and interaction with warming Corals and mollusks tend to be among the most sensitive because their entire structural integrity depends on continuously depositing calcium carbonate. When the water’s carbonate saturation drops, they struggle to build and maintain their shells and skeletons.
On the microbial side, KH also affects nitrification, the process by which bacteria convert ammonia into nitrite and then nitrate. Nitrifying bacteria consume alkalinity as part of their metabolism: for every unit of ammonia they oxidize, they use up roughly two units of bicarbonate. In systems with low KH, nitrification can stall because the bacteria run out of their bicarbonate substrate before they finish processing the ammonia. Research on membrane-aerated biofilms has confirmed that increasing bicarbonate loading directly improves nitrification performance.6Water Research. Alkalinity and pH effects on nitrification in a membrane aerated bioreactor: an experimental and model analysis This is why experienced aquarists monitor KH closely in heavily stocked tanks: if KH crashes, the biological filter can falter, ammonia spikes, and the whole system destabilizes.
Scaling, Precipitation, and the Limits of High KH
While low KH creates instability, excessively high KH brings its own set of problems. When water is supersaturated with calcium carbonate, the mineral tends to precipitate out of solution and deposit on surfaces. This is the basic chemistry behind limescale in kettles, white crust on showerheads, and the scaling that plagues industrial boilers and heat exchangers. Higher temperature and higher pH both accelerate the nucleation and crystal growth of calcium carbonate deposits.7Water and Environment Journal. Effect of pH and temperature on calcium carbonate precipitation by CO2 removal from iron-rich water
In aquariums, high-KH water left to evaporate concentrates minerals at the waterline, forming crusty deposits that are difficult to remove. Reef tank owners deal with a different version of the same issue: protein skimmers and aeration strip CO₂ from the water, raising pH and pushing the carbonate equilibrium toward precipitation. The result can be a fine white haze in the water column or mineral buildup inside pumps and plumbing. Managing this requires balancing KH high enough to support coral growth but not so high that spontaneous precipitation becomes a nuisance.
In industrial settings, scaling is a serious cost driver. Water treatment plants, cooling towers, and desalination facilities all invest heavily in anti-scaling chemistry precisely because carbonate precipitation fouls equipment. Common strategies include adding acid to lower pH, using chelating agents that bind calcium, or employing threshold inhibitors that interfere with crystal growth. The underlying chemistry is the same equilibrium that governs KH in a fish tank, just scaled up by several orders of magnitude.
Measuring and Adjusting KH at Home
Most aquarium test kits for KH use a simple acid titration. You add drops of a dilute acid to a water sample and count how many drops it takes to turn an indicator dye from one color to another. Each drop corresponds to one degree of KH. The test is measuring total alkalinity rather than carbonate hardness in the strictest sense, but in most freshwater and marine aquariums, the two are close enough that the distinction rarely matters. Electronic meters that measure alkalinity directly exist but are more common in commercial settings.
Raising KH is straightforward. Baking soda (sodium bicarbonate) is the most common and cheapest method: roughly one teaspoon per 40 liters of water raises KH by about 2 dKH, though the exact amount depends on starting conditions. Crushed coral, aragonite substrate, and commercially sold mineral supplements also work. In reef tanks, two-part dosing systems or calcium reactors continuously replenish both calcium and alkalinity as corals consume them.
Lowering KH is trickier because you are essentially removing dissolved minerals. Reverse osmosis (RO) filtration strips nearly all dissolved solids from water, producing a blank slate that you can then remineralize to your target KH. Mixing RO water with tap water in varying ratios gives you precise control. Peat filtration releases humic and tannic acids that consume some bicarbonate and lower KH, though it also tints the water brown. Dilution with distilled or deionized water works on the same principle as RO blending.
KH in Brewing and Food Production
Brewers have understood the practical importance of carbonate hardness for centuries, even if they did not always frame it in chemical terms. The mineral profile of brewing water affects mash pH, which in turn affects enzyme activity, flavor extraction, and the final character of the beer. Water with high KH resists the natural acidification that occurs when malt is mixed with water, which can leave the mash pH too high and produce harsh, astringent flavors. Historically, breweries in regions with high-KH water gravitated toward darker, more heavily roasted malts because the acidic compounds in dark malt helped offset the alkalinity. The classic dark ales of London and the rich stouts of Dublin both evolved partly as responses to local water chemistry.
Modern brewers routinely adjust their water’s KH to match the style they are brewing. Pilsner, for example, originated in Plzeň (Pilsen), a city with exceptionally soft, low-KH water. Brewers elsewhere who want to replicate that style often start with RO water and add back minerals in precise amounts, building their water profile from scratch. Conversely, a brewer making a porter might add calcium carbonate or sodium bicarbonate to raise KH and simulate the harder water of traditional English brewing regions.
In food production more broadly, water KH matters wherever pH control is critical. Baking relies on acid-base reactions for leavening, and water with high KH can partially neutralize acidic ingredients, altering the rise and texture of doughs. Coffee extraction is sensitive to water mineral content as well: specialty coffee organizations publish target mineral ranges for brewing water, and KH is one of the key parameters. Too little and the water pulls too aggressively, over-extracting bitter compounds; too much and the buffer prevents the mild acidity that gives coffee its brightness.
The Carbon Cycle Connection
KH chemistry is woven into the global carbon cycle in ways that are easy to overlook. When carbonate rock weathers, the reaction consumes atmospheric CO₂ and locks it into dissolved bicarbonate, effectively pulling carbon out of the atmosphere and transporting it to the ocean via rivers.8Continental Shelf Research. A comparative overview of weathering intensity and HCO3− flux in the world’s major rivers with emphasis on the Changjiang, Huanghe, Zhujiang (Pearl) and Mississippi Rivers Over geological timescales, this is one of the planet’s primary mechanisms for drawing down CO₂ and moderating climate. The catch is that once that bicarbonate reaches the ocean and marine organisms use it to build shells, the carbon can be re-released if the shells dissolve in deep, acidic waters, or permanently sequestered if they are buried in sediment.
This natural weathering thermostat operates over millions of years. It is far too slow to counteract the rate at which humans are adding CO₂ to the atmosphere today, but it is the reason some researchers have explored enhanced weathering as a climate intervention. The idea is to spread finely ground silicate or carbonate rock over large areas of farmland or coastline, accelerating the natural reaction and increasing the flux of bicarbonate to the ocean. Whether this can be done at meaningful scale and reasonable cost remains an active area of investigation, but the chemistry underlying it is the same equilibrium that governs KH in any body of water.
When KH Testing Gives Misleading Results
Standard KH test kits have a few quirks worth knowing about. Because they measure total alkalinity through acid titration, anything in the water that consumes acid will register as KH even if it is not carbonate or bicarbonate. Phosphate buffers, silicates, and certain organic acids can all inflate the reading. In heavily planted aquariums that use CO₂ injection, the relationship between KH and pH is often used to estimate dissolved CO₂ concentration via a reference chart. But if the KH reading is artificially high due to non-carbonate alkalinity, the chart will underestimate the actual CO₂ level, potentially leading to dangerously high CO₂ for fish.
Conversely, some water sources contain dissolved CO₂ that temporarily suppresses pH and makes the water appear to have lower buffering capacity than it actually does. Letting a water sample sit out and off-gas for 24 hours before testing can give a more accurate picture of its true KH. This is particularly relevant for well water, which often arrives saturated with CO₂ from contact with soil and bedrock.
For most hobbyists and home brewers, the standard drop-count test kit is accurate enough. But anyone chasing tight tolerances in a reef tank or a competition-level brew should be aware that the number on the test kit is an approximation, not an absolute measurement, and that non-carbonate contributors to alkalinity can throw it off.

