Aquarium pH, GH and KH Explained: Understanding Your Water Chemistry

Understanding aquarium water chemistry is essential for healthy fish and a stable environment. Discover what pH, GH and KH measure, how they work together, and why maintaining suitable water conditions is more important than chasing perfect numbers.
Understanding your aquarium's water chemistry is one of the most important parts of successful fishkeeping. While most aquarium owners are familiar with testing for ammonia, nitrite and nitrate, three other measurements are often overlooked: pH, GH and KH.
These three parameters influence everything from fish health and breeding to plant growth and the stability of your aquarium's biological filtration.
Unfortunately, they are also frequently misunderstood. Many fishkeepers concentrate on achieving a particular pH without considering the mineral content or buffering capacity of their water. This can result in unnecessary adjustments that create more problems than they solve.
The good news is that understanding pH, GH and KH is relatively straightforward. Once you know what each measurement represents and how they interact, maintaining suitable water conditions becomes much easier.
What Is pH in an Aquarium?
pH measures how acidic or alkaline your aquarium water is. The scale normally runs from 0 to 14, with 7.0 considered neutral. Values below 7.0 are acidic, while those above 7.0 are alkaline.
For example, water with a pH of 6.5 is slightly acidic, while water measuring 8.0 is alkaline.
Something that often surprises fishkeepers is that the pH scale is logarithmic. Water with a pH of 6.0 has ten times the hydrogen ion activity of water measuring 7.0. Even seemingly small changes can therefore represent substantial differences in water chemistry.
Different fish have evolved to live in different water conditions.
Many South American species originate from naturally soft, acidic environments, whereas African Rift Lake cichlids typically inhabit harder, alkaline waters. Other popular aquarium fish are considerably more adaptable, particularly when they have been bred commercially for generations.
However, maintaining a stable pH is generally more important than constantly trying to achieve an exact reading, provided the water remains suitable for the species concerned.
For example, a community aquarium maintaining a consistent pH of 7.4 may provide perfectly acceptable conditions for many commonly kept fish. Attempting to reduce that reading to 7.0 using chemical treatments could introduce unnecessary fluctuations.
There is another important consideration. As pH increases, a greater proportion of any ammonia present exists in its more toxic, un-ionised form. This makes ammonia particularly dangerous in warm, alkaline aquariums.
What Is GH (General Hardness)?
GH stands for General Hardness and measures the concentration of dissolved calcium and magnesium ions in aquarium water.
These minerals occur naturally as water travels through soil and rock. Areas containing limestone or chalk generally have harder water, while regions with granite or other less soluble geology often have softer water.
Across the UK, tap-water hardness varies considerably depending on the local water supply.
Calcium and magnesium perform important biological functions. Fish rely on dissolved minerals to help regulate their internal salt and water balance, while aquatic plants require both elements for healthy growth.
GH is particularly important when keeping freshwater shrimp and snails. Calcium availability influences shell and exoskeleton development, although diet and other water conditions also play important roles.
Water hardness is commonly expressed in degrees of general hardness (°dGH), with one degree equivalent to approximately 17.9 mg/L expressed as calcium carbonate.
Many ordinary community fish can be maintained successfully in water measuring approximately 4–12°dGH, although this should never be considered a universal target.
Livebearers such as guppies, mollies and platies generally appreciate more mineral-rich conditions. Conversely, certain specialist soft-water fish and shrimp require much lower hardness levels.
GH does not directly tell you whether your water is acidic or alkaline. It is possible to have relatively hard water with a lower pH, or softer water with a higher pH.
This distinction is particularly important when attempting to adjust aquarium water.
What Is KH (Carbonate Hardness)?
KH stands for Carbonate Hardness and, in aquarium testing, represents the water's acid-neutralising capacity, usually associated with dissolved bicarbonates and carbonates.
It is often described as the aquarium's buffering capacity.
Put simply, KH helps prevent sudden reductions in pH.
Throughout the life of an aquarium, various biological processes generate acids. Fish produce waste, organic material decomposes, and beneficial filter bacteria convert ammonia into nitrite and eventually nitrate.
This biological filtration process consumes alkalinity over time.
Where sufficient KH is available, the water can neutralise some of these acids without experiencing a significant fall in pH.
However, if KH becomes depleted, the aquarium can become increasingly vulnerable to sudden changes in acidity.
This is particularly relevant in older aquariums where water changes have been neglected. Over time, nitrate and other dissolved substances can accumulate while the available buffering capacity gradually declines.
Eventually, the pH may fall dramatically, creating stressful and potentially dangerous conditions for fish.
For many ordinary freshwater community aquariums, a KH of approximately 3–8°dKH provides useful buffering, although the appropriate level depends on the fish and the type of aquarium.
Specialist blackwater aquariums may deliberately operate with very low KH. These systems require a different approach to water chemistry and closer attention to stability.
KH is therefore not simply another number to test. It helps explain why an aquarium's pH behaves the way it does.
How pH, GH and KH Work Together
Although these measurements are related, they describe three different aspects of aquarium water.
pH tells us how acidic or alkaline the water currently is. GH indicates the concentration of important dissolved minerals, primarily calcium and magnesium. KH describes the water's ability to neutralise acids and resist certain pH changes.
Consider an aquarium containing naturally soft water with very little carbonate buffering.
Its pH may initially appear perfectly acceptable. However, as acids accumulate through normal biological activity, there may be insufficient KH to prevent the pH from falling.
Now consider an aquarium with a higher KH. The additional buffering capacity will generally make the pH more resistant to these gradual acidifying processes.
This does not mean that high KH prevents every pH fluctuation.
Carbon dioxide also influences pH, particularly in heavily planted aquariums. As plants absorb carbon dioxide during the day, pH may rise. During darkness, respiration can increase dissolved carbon dioxide and lower pH.
Aquariums using injected CO₂ can experience more noticeable daily changes.
These predictable fluctuations are not necessarily evidence of a problem, although excessive carbon dioxide itself can endanger fish.
Different Fish Need Different Water Chemistry
One of the easiest ways to maintain a successful aquarium is to choose fish that are naturally suited to your available water.
If your tap water is relatively hard and alkaline, livebearers and many other adaptable community species may be excellent choices.
If your water is naturally soft, certain tetras, rasboras and South American dwarf cichlids may be more appropriate.
African Rift Lake cichlids are a good example of fish that require particular attention to mineral content and alkalinity.
Breeding can introduce additional requirements. Some species survive perfectly well across a relatively broad range of conditions but require more specific water chemistry to reproduce successfully.
It is also important to distinguish between wild-caught fish and commercially bred specimens. Fish bred over multiple generations in captivity may tolerate different conditions from those found in their original natural habitats.
Nevertheless, unsuitable water chemistry should never be dismissed simply because fish appear to be surviving.
Testing Your Aquarium Water
Testing pH, GH and KH does not require expensive laboratory equipment.
Widely available liquid test kits provide useful measurements, with GH and KH commonly determined by counting drops until the reagent changes colour.
Test strips offer a convenient alternative, although liquid kits are often preferable when investigating specific water chemistry problems.
It is worth testing your tap water as well as your aquarium. This establishes the conditions you are starting with and helps identify changes occurring inside the tank.
Freshly drawn tap water can sometimes produce a different pH reading after standing and exchanging carbon dioxide with the surrounding air.
Consequently, testing appropriately conditioned and aerated source water can provide a more useful comparison.
Established aquariums with consistently stable readings may require less frequent GH and KH testing, whereas new setups, breeding aquariums and systems with very soft water benefit from closer monitoring.
Can You Safely Adjust pH, GH and KH?
Aquarium water chemistry can be adjusted, but changes should always be made carefully.
If your water is excessively hard for the fish you intend to keep, reverse osmosis (RO) water can be used to reduce mineral concentrations. RO water contains very low levels of dissolved minerals and can be mixed with suitable tap water or remineralised using specialised products.
It should not normally be used untreated as the sole water source for freshwater fish.
Increasing GH usually involves adding appropriate calcium and magnesium minerals. This can be achieved with commercially available remineralising products designed for freshwater aquariums.
Increasing KH requires a different approach. Materials such as crushed coral, limestone and certain mineral substrates can gradually increase carbonate buffering as they dissolve. Commercial KH buffers offer another option, although dosing must be appropriate for the aquarium.
The important point is to avoid making rapid adjustments.
Chemical pH reducers are particularly easy to misuse. Adding an acidic product may temporarily lower the pH, but if the aquarium has substantial buffering capacity, the result may be short-lived. Repeated dosing can create unstable conditions.
Rather than attempting to force your aquarium towards an arbitrary number, establish why its water chemistry differs from the conditions you want.
Maintaining Stable Water Chemistry
Regular partial water changes remain one of the most effective ways of maintaining consistent aquarium conditions.
They help dilute accumulated waste products and, where the replacement water contains appropriate minerals and alkalinity, replenish substances that have been consumed.
However, replacement water should be reasonably compatible with the aquarium. Large differences in temperature, hardness or pH can stress fish, particularly when substantial volumes are changed.
Evaporation is another consideration. When water evaporates, dissolved minerals remain behind. Repeatedly topping up with mineral-rich tap water can therefore gradually increase hardness.
In aquariums experiencing significant evaporation, suitably prepared RO water is often preferable for topping up.
Ultimately, successful water management is about understanding your aquarium rather than endlessly correcting test results.
Final Thoughts
pH, GH and KH may initially seem complicated, but each provides valuable information about your aquarium's environment.
pH describes acidity, GH measures important dissolved minerals, and KH helps explain the water's resistance to acidification.
Together, they provide a much clearer understanding of aquarium water chemistry than pH testing alone.
The aim should not be to achieve supposedly perfect numbers for every aquarium. Instead, choose fish suited to your water, monitor changes and maintain appropriate, consistent conditions.
A healthy aquarium is generally one where the water chemistry is understood, rather than constantly adjusted.
Further Reading
Understanding your aquarium's water chemistry is only part of maintaining a healthy environment. Regular water changes also influence mineral concentrations, buffering capacity and the accumulation of dissolved waste.
For more practical advice, you may also find our article How Often Should I Really Change My Aquarium Water? useful. This guide explains how stocking levels, feeding, filtration and water quality determine the most appropriate water-change routine for your aquarium.
Products We've Mentioned & Recommend
Below you'll find a selection of products we've mentioned in this article, along with a few others we think you might find useful. We've included Amazon links to make them easy to find.
A quick word about affiliate links...
Some of these links are affiliate links, which means we may earn a small commission from qualifying purchases, at no extra cost to you.
Unfortunately, the commission doesn't quite stretch to cocktails on a yacht or a garage full of sports cars. In reality, it helps cover the running costs of this website and, with a bit of luck, might eventually buy me a new pair of waders that don't leak!
We only recommend products we genuinely believe are worth considering, and your support helps us keep sharing free advice from our years of working with aquariums and ponds.
Thanks for supporting Aquatic Specialist!
As an Amazon Associate I earn from qualifying purchases.

NT Labs
NT Labs Aquarium Lab Multi Test Kit
Best for: Cycling new freshwater aquariums and routine water quality monitoring.
As an Amazon Associate, we earn from qualifying purchases.

Esha
ESHA Aqua Quicktest
Best for: Fast routine water-quality checks in freshwater aquariums.
As an Amazon Associate, we earn from qualifying purchases.