pH Calculator

Do not chase pH — fix the KH, let the pH follow

A stable pH slightly off target is healthier than a perfect pH that swings. Move no more than 0.2 pH per day, retest before every dose, and never dose acid to chase a number — if your pH is stable and the fish are healthy, the best move is usually no move at all.

From your pH test — liquid kit or calibrated pen, not a strip
From your KH test kit — in dKH, not ppm (ppm ÷ 17.86 = dKH)
Actual water volume — display plus sump, minus rock and substrate
At least 0.1 away from the current pH — smaller is test noise, not a move

pH, KH and CO₂ are linked: CO₂ (ppm) = 3 × KH (dKH) × 10^(7 − pH). There is no universal grams-per-pH-point without KH — any source that gives one is guessing. This tool works out the KH change the move implies, then doses that KH change.

Your pH plan

Enter your current pH and KH, a target pH and the tank volume — the plan appears here, with the KH change, the dose split over days, and the CO₂ alternative.

Why use this calculator?

  • See the KH change a pH move actually implies, instead of guessing grams per pH point.
  • Get the baking-soda dose for raising pH, split over days at a safe pace.
  • Get an honest acid plan for lowering pH — label doses with retesting, never a promised pH.
  • See the CO₂ alternative: what CO₂ level would reach the same pH without touching KH.

Dose the KH change with the KH / pH Buffer Dosing Calculator, or see what your pH and KH mean for CO₂ with the CO2 Calculator. · Back to Water Chemistry

Plan a pH move the honest way — through KH, not by guessing grams per pH point. Enter your current pH and KH and a target, and see the KH change the move implies at the same CO2, the baking-soda dose for raising pH or the Seachem Acid Buffer label doses for lowering it, split over days at no more than 0.2 pH a day. For example, a 20-gallon tank at pH 7.0 and KH 4 needs KH 6.3 dKH — about 5.3 g of baking soda over 3 days — to reach pH 7.2. Do not chase pH: a stable pH slightly off target beats a perfect pH that swings. Everything runs in your browser; nothing is saved.

How it works

There is no universal grams-per-pH-point. pH is logarithmic, and the dose needed to move it depends on the water's buffering (KH) — so this tool never invents a pH-dose formula. What it does is verifiable: pH, KH and CO2 are locked together by the carbonate equilibrium, so at constant CO2 a target pH implies a target KH, and the KH change is dosed with verified chemistry.

The CO2 link. CO2 (ppm) = 3 × KH (dKH) × 10^(7 − pH). Inverted, target pH = 7 − log10(CO2 ÷ (3 × KH)). The same formula is used by our CO2 Calculator, and AquaCalc, SealifePlanet, Aqualizer and the 1992 Krib CO2/KH/pH chart all agree on it.

The KH the move implies. At constant CO2, KH for the target pH = current KH × 10^(target pH − current pH). A +0.2 pH move needs KH × 1.58; a +0.3 move needs KH × 2.00; a −0.6 move needs KH × 0.25. The table below lists the multipliers.

Raising pH means raising KH. Baking soda, 3 g per 100 L per dKH (our KH/pH Buffer tool's verified figure), split at no more than 1 dKH per day.

Lowering pH means lowering KH. Seachem Acid Buffer's label dose is 2 g per 80 L daily, and each dose lowers alkalinity about 0.6 dKH. Seachem adds that the impact on pH will vary by system — so the dose count is a KH-removal estimate, not a promise the target pH will be reached. Retest before every dose; stop early if pH reaches target.

Pace. No more than 0.2 pH per day (0.1 for sensitive fish) and no more than 1 dKH per day. Days = the larger of the two day counts, minimum 1.

Guards. pH inputs 5–9; KH above zero; the move must be at least 0.1 pH (smaller is test noise, not a move); a target KH above 15 dKH or below 0.5 dKH is refused — outside any normal tank, or stripping the buffer entirely.

Assumptions. Carbonate is the main buffer, at about 25 °C. Phosphate buffers, pH-lowering substrates, driftwood and peat shift pH without changing CO2 and make the estimate read wrong — the same caveat as the CO2 Calculator.

Worked example

Raising pH: a 20-gallon tank (75.7 L) at pH 7.0 and KH 4 dKH, target pH 7.2.

Inputs

Current pH 7.0, current KH 4 dKH, target pH 7.2, volume 20 US gal (75.7 L).

Formula

CO2 = 3 × KH × 10^(7 − pH). Target KH = KH × 10^(target pH − current pH). Baking soda = (litres ÷ 100) × KH gap × 3.0 g.

Calculation

CO2 now = 3 × 4 × 10^0 = 12.0 ppm. Target KH = 4 × 10^0.2 = 6.34 dKH, a gap of 2.34 dKH. Baking soda = (75.7 ÷ 100) × 2.34 × 3.0 = 5.3 g. Days = max(ceil(2.34 ÷ 1) = 3, ceil(0.2 ÷ 0.2) = 1) = 3 days.

Result

5.3 g baking soda over 3 days at about 1.8 g a day. At the same KH 4, reaching pH 7.2 would need CO2 of 7.6 ppm instead — the CO2 lever, for a planted tank.

The other direction, lowering pH: a 20-gallon tank at pH 7.6 and KH 4 dKH, target pH 7.0. CO2 now = 3 × 4 × 10^−0.6 = 3.0 ppm. Target KH = 4 × 10^−0.6 = 1.00 dKH, a gap of 3.00 dKH down. The Acid Buffer label dose for 75.7 L is (75.7 ÷ 80) × 2 g = 1.9 g a day, and 3.00 ÷ 0.6 = 5 daily doses over 5 days — about 9.5 g in total. Note the target KH of 1.00 dKH is below 3 dKH, so the tool fires its low-buffer caution for this exact case: a 0.6 pH drop at KH 4 is a big, risky move, not a routine one. At the same KH 4, reaching pH 7.0 would need CO2 of 12 ppm.

How to read your results

The verdict word is the dose: grams of baking soda for a raise, or grams of Acid Buffer a day and the number of daily doses for a lowering. Under it, the pair line shows the pH move and the KH move together — read them as one plan, not two numbers.

The stat grid shows the three numbers that decide the plan: the target KH (and how far it moves from today's KH), the CO2 your water holds now (and the CO2 that would reach the same pH if KH stayed put), and the pace in days (with the pH-per-day rate against the 0.2 cap).

Below the stats, the checks are grouped. "Needs action" is a block — fix it before dosing. "Caution" is a risk — read it before you start. "OK" means that check passed. What to do next: for a raise, dose one day's amount, retest KH, and repeat. For a lowering, dose only on the days the plan counts, retest pH and KH before every dose, and stop early if pH reaches target — the remaining days are for the tank to settle and be retested, not for more acid.

Common mistakes

  • Chasing a pH number with acid or buffer while the KH is the thing that actually sets it. Fix the KH, let the pH follow.
  • Using a grams-per-pH-point figure from any source. None exists without KH — the dose depends on the water's buffering.
  • Moving faster than 0.2 pH a day, or more than 1 dKH a day, in a stocked tank. A fast swing stresses fish more than the starting pH did.
  • Adding acid when KH is already under 3 dKH. Weakly buffered water can crash — raise KH first, or use RO water for changes instead.
  • Dosing acid to a target pH and expecting it to land there. Seachem's own label says the pH effect varies by system; the dose count removes KH on paper, and retesting decides the rest.
  • Using the tool as-is for a CO2-injected planted tank. CO2 lowers pH by design, often a full unit in the light period — set KH with the buffer, judge CO2 by the pH drop, and do not chase the number with more buffer.
  • Raising pH while the tank shows any ammonia. Ammonia gets more toxic as pH rises — check the Ammonia Toxicity Calculator first.
  • Measuring pH with a strip. Use a liquid kit or a calibrated pen; a 0.1 pH move is smaller than a strip can read reliably.

KH multiplier by pH change

What a pH move does to KH at constant CO2 — the multiplier is 10^(pH change). The "KH 4 becomes" column uses the worked example's starting KH.

pH changeKH multiplierKH 4 becomesWhat it means
+0.1×1.265.04 dKHA small step — one day at the 0.2 pH/day cap.
+0.2×1.586.34 dKHThe worked example — 3 days, because the KH gap binds.
+0.3×2.007.98 dKHKH doubles for +0.3 pH.
+0.5×3.1612.65 dKHA big move — check the target KH is one you actually want.
+1.0×10.0040.00 dKHTen times the KH. For changes over about 0.5, change the water source instead (remineralise or blend with RO).

Target pH by fish type

Ranges, not exact figures — a stable pH inside the range matters more than hitting one number. The KH column is the range that holds that pH steady.

Fish typeTarget pHKH that holds it
Tetras, rasboras, discus6.0–7.01–4 dKH
General community6.8–7.63–8 dKH
Goldfish / coldwater7.0–8.04–10 dKH
Livebearers7.2–8.28–12 dKH
African Rift Lake cichlids7.8–9.010–15 dKH

FAQ

Why is there no grams-per-pH-point figure?

Because none exists without KH. pH is logarithmic, and the dose needed to move it depends on the water's buffering — the same 0.2 pH move needs 2.34 dKH of KH change at KH 4 but only 1.17 dKH at KH 2. The tool works out the KH change first, then doses that change with verified chemistry.

How fast can I move pH with fish in the tank?

No more than 0.2 pH per day for most fish, and 0.1 a day for sensitive species, wild-caught fish and shrimp. The tool paces the plan at that cap automatically — and a stable pH slightly off target beats a perfect pH that swings.

Why did the pH go back after I buffered it?

Something else sets it. CO2 from fish, plants or injection, driftwood or peat acids, or rock and substrate dissolving all move pH without moving KH the same way. If KH stays up but pH drifts, CO2 is the likely cause; if KH falls back too, the water is consuming alkalinity and needs regular buffering or more frequent water changes.

What about a CO2-injected planted tank?

Do not use this tool as-is for one. CO2 lowers pH by design, often a full unit in the light period, so a pH reading taken with CO2 running does not mean what it means in a non-injected tank. Set KH with the buffer, judge CO2 by the pH drop, and do not chase the number with more buffer.

What if the plan would leave KH below 3 dKH?

Then the tank has almost no buffer left and pH can drop suddenly overnight. The tool flags it as a caution. Pick a smaller step, or dilute with RO water instead of acid — RO lowers KH, GH and pH together, with no acid residue.

Do I need to move my pH at all?

Usually not. Most freshwater fish handle a stable pH that is slightly off their chart far better than a perfect pH that bounces around. If your pH is stable and the fish are healthy, the best move is usually no move — pick fish that suit your tap water instead of fighting it.

Why does the tool refuse some moves?

A move that would need KH above 15 dKH or below 0.5 dKH is refused because it is outside any normal tank, or strips the buffer entirely. Pick a smaller step, or change CO2 instead of KH.

Sources

  1. Textbook — Stumm, W. and Morgan, J. J., Aquatic Chemistry, 3rd ed., Wiley. Carbonate system; first dissociation constant of carbonic acid pK1 ≈ 6.35 at 25 °C. Used for the CO2/KH/pH relationship.
  2. Hobby practice — Aqualizer CO2 calculator. States the formula and the inversion explicitly: CO2 (mg/L) = 3 × KH × 10^(7 − pH); target pH = 7 − log10(CO2 ÷ (3 × KH)). dev.aqualizer.app/en/co2-calculator/
  3. Hobby practice — AquaCalc, KH/CO2/pH. Derivation and limits of the formula (Stumm & Morgan; a simplified estimate that assumes bicarbonate-only buffering, about 25 °C). aquacalc.uk/blog/kh-co2-ph
  4. Hobby practice — SealifePlanet CO2 calculator. The formula with a worked grid; 0.1 pH is about a 26% change. sealifeplanet.net/tools/aquarium-co2-calculator
  5. Hobby practice — The Krib CO2/KH/pH chart (1992 Booth/Hopea table). Warns that phosphate buffers and pH-down products invalidate the chart. thekrib.com/Plants/CO2/kh-ph-co2-chart.html
  6. Manufacturer — Seachem Acid Buffer dosing instructions (Seachem knowledge base). Label dose 1/4 teaspoon (2 g) per 80 L daily until the desired pH is reached; each dose lowers alkalinity by about 0.2 meq/L (0.6 dKH), and the impact on pH will vary by system. seachem.zendesk.com — Acid Buffer dosing
  7. Hobby practice — Tank Root, How to Safely Lower and Raise pH in a Freshwater Aquarium. Conservative guideline 0.2 pH per day (0.1 for sensitive fish); KH 0–2 swings easily, 3–6 is stable. tankroot.com
  8. Hobby practice — My Tank Logic, Understanding pH in Aquariums; Aquarium Lesson; Jungle Aquatics, Aquarium KH, pH & CO2 Buffering. All three make the same point: stability beats the number, and a tank that holds a pH for months is healthier than one that swings. mytanklogic.com/guides/understanding-ph · aquariumlesson.com/lessons/aquarium-ph/ · jungleaquatics.com
  9. Hobby practice — Waterpuppy, How to Lower Aquarium pH Without Whiplash. Cut KH first, then add acid in steps no larger than 0.2 in 24 hours. waterpuppy.net

Related tools