Aquarium Alkalinity (KH) & Buffer Calculator

Calculate baking soda or commercial buffer needed to raise KH

Ad placeholder (leaderboard)

Carbonate hardness (KH) is the buffering capacity that keeps aquarium pH stable. When KH drops, pH becomes unstable and can crash. This calculator tells you exactly how much sodium bicarbonate (plain baking soda) or commercial buffer to add to raise KH from where it is now to your target.

How it works

The dose is based on a well-established hobby rule: about 1 gram of pure sodium bicarbonate per US gallon raises alkalinity by ~1.4 dKH. Rearranged for any volume and any KH gap:

gap (dKH)   = target KH − current KH
grams NaHCO3 = (gap / 1.4) × (volume in US gallons)

Volumes entered in litres are converted at 3.785 litres per US gallon first. If your test kit reads in ppm CaCO3, divide by 17.86 to get dKH before entering.

Tips and example

A 200 litre (about 52.8 US gallon) reef tank at 6 dKH that you want at 8 dKH has a 2 dKH gap, needing roughly (2 / 1.4) × 52.8 ≈ 75 g of baking soda. Raise no faster than ~1 dKH per day in a stocked system, so split that into two doses on separate days and re-test in between. Always dissolve the powder in a cup of tank water and add it slowly to a high-flow area rather than dumping it dry.

Ad placeholder (rectangle)