KH/GH Hardness Calculator

Created by: James Porter
Last updated:
Estimate KH or GH dose requirements, convert hardness units, and build a safer multi-day schedule instead of making a risky one-step adjustment.
KH/GH Hardness Calculator
AquariumEstimate KH or GH dosing, split schedules, and safer daily rise targets.
Use this calculator for planning, then retest after every dose. Hardness correction is safest when done stepwise, especially in tanks with delicate fish or shrimp.
What is a KH/GH Hardness Calculator?
A KH/GH Hardness Calculator helps answer questions like “how do I raise KH in an aquarium” or “how much baking soda do I need” by estimating the dose required to move hardness from a current reading to a target value. It converts between dKH, dGH, and ppm when needed, then uses a product-specific dosing rule to estimate how much additive is required for your tank size.
This matters because KH and GH are not interchangeable. KH controls buffering capacity and helps stabilize pH, while GH reflects dissolved calcium and magnesium levels that affect species comfort, osmoregulation, and plant or invertebrate mineral access. Choosing the wrong additive can leave the intended problem unchanged. For example, Epsom salt can raise GH without solving low KH, and baking soda can lift KH without materially increasing GH.
The calculator is built for practical aquarium use rather than laboratory chemistry. It estimates teaspoon and gram doses, shows the expected change, and flags when the total increase is large enough that split dosing is safer. That makes it useful for freshwater community tanks, planted tanks, cichlid systems, shrimp setups, and any system where hardness must be adjusted deliberately instead of by guesswork.
Most importantly, it encourages gradual correction. Even when the total change is reasonable, fish and invertebrates handle stepwise mineral adjustment better than sharp one-day jumps. By translating test-kit readings into a repeatable action plan, you can improve water stability while lowering the risk of stress caused by sudden chemistry swings.
How Hardness Dosing Estimation Works
The calculation starts by converting current and target values into dKH or dGH if they were entered in ppm. The total increase needed is then scaled to your aquarium volume and matched to the selected product’s rough dosing benchmark. A second step checks whether the total rise exceeds the safer daily correction window and, if needed, breaks the dose into multiple days.
1 dKH = 17.848 ppm CaCO3
1 dGH = 17.848 ppm CaCO3
Total Product Units = (Required Rise ÷ Product Rise per 10 gal) × (Tank Gallons ÷ 10)
Daily Split Count = Ceiling(Required Rise ÷ Safe Daily Rise)
These are planning estimates, so you should always retest after each addition. Real tanks differ in mineral consumption, substrate interaction, and water-change schedule, so the safest approach is dose, mix, retest, and then decide whether the next increment is still needed.
Example Calculations
Example 1: Raising KH with baking soda. A 55-gallon tank moving from 3 dKH to 6 dKH needs a 3 dKH increase. Using the common estimate of 1 teaspoon per 10 gallons for 1 dKH, the total comes out to about 16.5 teaspoons. Because that is a large shift, splitting the correction over multiple days is safer.
Example 2: Raising GH with Equilibrium. A planted aquarium at 4 dGH targeting 6 dGH needs only a 2 dGH rise. On a 20-gallon tank, the dose is modest and may be safe across 1 to 2 treatments. This is the kind of correction where a purpose-built GH product is more appropriate than a KH buffer.
Example 3: Very low KH in a cichlid tank. If a cichlid system tests 2 dKH and the keeper wants 10 dKH, the correction is large enough that immediate full dosing is risky. The calculator helps show the total dose, but the real value is the multi-day schedule that reduces pH instability during the climb.
Common Applications
- Raise KH in soft municipal water to improve pH stability for community fish and planted tanks.
- Build higher KH and GH for African cichlid systems that prefer harder, better-buffered conditions.
- Increase GH for shrimp or mineral-hungry invertebrate systems without overshooting KH.
- Estimate whether crushed coral alone will be too slow for the correction you need right now.
- Translate ppm test-kit values into dKH or dGH so hobby dosing guides are easier to follow.
- Plan split dosing across multiple days when the full correction would be too abrupt for livestock.
- Check whether the selected product actually targets the parameter you are trying to correct.
Tips for Hardness Adjustment
Retest after each dosing increment instead of assuming the theoretical result happened exactly. Water changes, substrate chemistry, plant uptake, and measurement variation can all affect the actual outcome. If KH is extremely low, correct it carefully because pH stability may shift with it. If you are aiming for species-specific water, always prioritize the livestock’s natural range over generic “one-size-fits-all” hardness advice.
Frequently Asked Questions
How do I raise KH in an aquarium safely?
Raise KH gradually because carbonate hardness changes can shift pH stability and stress fish if done too fast. A common safe target is no more than about 1 to 2 dKH per day. Products such as baking soda or commercial alkalinity buffers work quickly, but the right dose depends on tank volume, starting KH, and the exact target you are trying to reach.
What is the difference between KH and GH?
KH measures carbonate and bicarbonate buffering capacity, which mainly affects pH stability. GH measures dissolved calcium and magnesium hardness, which influences osmoregulation, mineral availability, and species suitability. A tank can have high GH and low KH, or the reverse. That is why choosing the correct product matters: some additives raise KH, some raise GH, and some do not meaningfully affect both.
How much baking soda raises KH in an aquarium?
A common planning rule is about 1 teaspoon of baking soda per 10 gallons to raise KH by roughly 1 dKH. The real effect can vary based on current chemistry and measurement accuracy, so it is best used as a starting estimate rather than an exact laboratory value. Retest after dosing before applying another full adjustment, especially in smaller aquariums.
Can I use Epsom salt to raise KH?
No. Epsom salt primarily raises GH because it adds magnesium without providing the carbonate buffering needed to increase KH. If your goal is more stable pH or stronger alkalinity, you need a KH-focused product such as baking soda, crushed coral, or an alkalinity buffer. Matching the additive to the parameter prevents frustration and accidental imbalance.
What hardness range is good for most freshwater aquariums?
Many freshwater community tanks do well around 3 to 8 dKH and 4 to 12 dGH, but the ideal range depends on species. Soft-water fish such as discus or some tetras prefer lower mineral content, while African cichlids often thrive in harder, better-buffered water. The right target is species-driven, not a universal number for every aquarium.
Why should hardness changes be split across multiple days?
Large one-time shifts can cause osmotic and pH stress, especially in tanks holding delicate fish or shrimp. Splitting the dose into daily increments gives livestock and beneficial bacteria more time to adjust while making it easier to retest and correct course. Slow correction is usually safer than trying to force the tank to the target in a single treatment.
When should I use crushed coral instead of a direct dose product?
Crushed coral is more useful when you want a slower, passive buffering effect rather than a precise immediate correction. It works well in filters, substrate sections, or reactors where water can dissolve minerals gradually over time. If your current KH is dangerously low and you need a faster correction, a direct dosing product is usually the more practical first step.
Sources and References
- Seachem buffering and Equilibrium dosing guidance.
- API freshwater master test kit hardness and alkalinity reference ranges.
- Freshwater aquarium care references for planted tanks, cichlids, and shrimp mineral needs.
- General carbonate hardness and calcium carbonate conversion references used in aquarium chemistry.