Pool pH Calculator

Work out the muriatic acid or soda ash a pool needs to reach a target pH, and what the correction does to total alkalinity at the same time.

How to use this calculator

  1. 1Test pH and total alkalinity together. The alkalinity reading is not optional here — it decides both the dose and how long the correction lasts.
  2. 2Correct alkalinity first if it is badly out. Chasing pH on a pool at 180 ppm of alkalinity is work that undoes itself.
  3. 3Add acid slowly with the pump running, poured into the deep end away from any metal fitting, never near the skimmer.
  4. 4Wait a full turnover before retesting. Acid added five minutes ago is not mixed, and a retest will read whatever pocket the sample came from.
  5. 5If pH keeps climbing back, look at alkalinity rather than adding more acid. Persistent upward drift is an alkalinity problem wearing a pH costume.
  6. 6To raise pH without raising alkalinity, aerate instead of dosing — it is free and it is the only tool that moves one without the other.

How the calculation works

Pool water is a bicarbonate buffer, so pH and alkalinity are one system: total alkalinity ≈ [HCO₃⁻] + 2[CO₃²⁻], as CaCO₃ pH = pK₁ + log₁₀([HCO₃⁻] ÷ [H₂CO₃*]), pK₁ = 6.35 Adding strong acid converts bicarbonate to dissolved CO₂ at constant total carbonate, so the acid needed follows directly: equivalents = (alkalinity now − alkalinity at target pH) ÷ 50.044 g fl oz of 31.45% muriatic = equivalents × 36.46 ÷ 0.3145 ÷ 1.16 ÷ 29.57
Total alkalinity
Essentially the bicarbonate concentration, reported as CaCO₃. The buffer that resists pH change
pK₁
First dissociation constant of carbonic acid, 6.35 at 25°C. Sets the bicarbonate-to-carbon-dioxide ratio at any pH
Total carbonate
Bicarbonate plus dissolved carbon dioxide plus carbonate. Conserved when acid is added, reduced by aeration
Hypochlorous acid
The active form of chlorine. Its share falls from about half at pH 7.5 to a quarter at 8.0

Deriving the dose from the equilibrium reproduces the published dosing tables — 25.6 fl oz of 31.45% muriatic per 10 ppm of alkalinity per 10,000 gallons — and keeps working outside the range those tables cover.

Acid conserves total carbonate; aeration removes it. That is precisely why acid lowers both pH and alkalinity while aeration raises pH alone.

Constants are for 25°C. Pool temperature shifts them slightly, well within the precision of a residential test kit.

Worked example

Lowering a 20,000 gallon pool from pH 7.8 to 7.4 at 100 ppm alkalinity

  1. 1.At pH 7.8 and 100 ppm alkalinity, the water holds a fixed amount of total carbonate — bicarbonate plus dissolved carbon dioxide.
  2. 2.Adding acid does not remove carbon from the water; it converts bicarbonate into dissolved carbon dioxide, so total carbonate stays put while the ratio shifts.
  3. 3.At the target pH of 7.4 that same total carbonate corresponds to about 94.9 ppm of alkalinity.
  4. 4.So the acid required is whatever removes 5.1 ppm of alkalinity: 5.1 ÷ 50.044 g per equivalent, across 75,708 litres.
  5. 5.That works out at about 26 fluid ounces of 31.45% muriatic acid.
  6. 6.The pool ends at pH 7.4 and roughly 95 ppm alkalinity — both moved, because they are one system.
  7. 7.Note how small the alkalinity change is for a four-tenths pH drop. That is what buffering means, and it is why a high-alkalinity pool takes so much acid to shift.

Result: 26 fl oz of muriatic — and alkalinity falls only 5 ppm

The same pH drop on a pool at 200 ppm alkalinity

  1. 1.Same pool, same pH change, twice the buffer.
  2. 2.Total carbonate is twice as high, so reaching pH 7.4 requires converting twice as much bicarbonate.
  3. 3.The acid needed roughly doubles, to about 52 fluid ounces.
  4. 4.Alkalinity falls about 10 ppm rather than 5 — again roughly double, and still a small fraction of the total.
  5. 5.This is the pool whose owner reports "I add acid every week and the pH is always back up by Friday". It is not a pH problem; it is 200 ppm of alkalinity continuously pushing pH back up as carbon dioxide leaves the surface.
  6. 6.The correct fix is to bring alkalinity down to 80 or 90 first — using acid to drop both, then aeration to lift pH back alone — after which pH holds for weeks instead of days.

Result: 52 fl oz — twice the acid, because there is twice the buffer

pH and alkalinity are one system, not two readings

The most useful thing to understand about pool pH is that it cannot be adjusted in isolation, because the thing that sets it is the same thing total alkalinity measures.

Pool water is a bicarbonate buffer. Total alkalinity is, to a good approximation, the bicarbonate concentration. pH is set by the ratio of that bicarbonate to dissolved carbon dioxide. Adding strong acid converts bicarbonate into carbon dioxide, which shifts the ratio — lowering pH — while also reducing the bicarbonate, which lowers alkalinity. One reaction, two readings.

That explains several things that otherwise look arbitrary. It explains why acid always lowers both. It explains why every chemical that raises pH also raises alkalinity. And it explains why a high-alkalinity pool needs so much more acid for the same pH change: there is more bicarbonate to convert before the ratio moves.

It also explains the one exception. Aeration removes carbon dioxide from the water without touching bicarbonate, so it raises pH while leaving alkalinity exactly where it was. That is the only tool available that moves one without the other, and it is the reason the standard professional technique for high alkalinity is acid followed by aeration.

Why the target is 7.4 to 7.6

The CDC code range is 7.2 to 7.8, and the sensible aim within it is 7.4 to 7.6. The reason is chlorine.

Chlorine in water exists in two forms: hypochlorous acid, which is a powerful sanitiser, and hypochlorite ion, which is far weaker. Which one predominates is set by pH and nothing else, through an equilibrium with a pKa of about 7.54. At pH 7.5 roughly half the chlorine is in the active form. At 8.0 it is around a quarter. At 7.0 it is nearly three quarters.

So pH is not a comfort setting. A pool at 8.0 carrying 3 ppm of free chlorine has less than half the sanitising power of the same pool at 7.4 with the identical test reading. Chasing pH down is one of the cheapest ways to make the chlorine already present work harder.

The lower bound exists for the pool rather than the swimmer. Below 7.2 the water turns aggressive: it dissolves calcium out of plaster and grout, corrodes metal fittings, ladders and heat exchangers, and degrades vinyl. Copper heat exchangers in particular fail quickly in persistently acidic water, and the resulting copper in solution is what stains hair and plaster green.

Both ends also sting. Human tears sit near pH 7.4, which is why water in the middle of the range is comfortable and water at either extreme is not.

Choosing an acid, and using it safely

Three products lower pool pH, and the differences are practical rather than chemical.

  • Muriatic acid, 31.45%hydrochloric acid at full strength. Cheapest per unit of correction, works instantly, and adds only chloride. It fumes, and the vapour corrodes metal across a whole pump house and damages lungs. Goggles, gloves, open air, and never stored near anything metal.
  • Muriatic acid, 14.5%the same chemistry at half strength, sold as a safer grade. Roughly twice the volume for the same effect, considerably less fuming, and the sensible default for anyone not handling acid regularly.
  • Dry acid (sodium bisulfate)a granular solid, much safer to store and handle and easier to dose in small amounts. It adds sulfate, which accumulates in the water and, at high concentrations, attacks plaster and grout. Fine for occasional use; not ideal as the everyday acid on a pool that needs a lot of it.
  • Adding itpump running, poured slowly into the deep end well away from skimmers, lights and metal fittings. Never pour acid into the skimmer — it goes straight through the pump and heater at full concentration.
  • Never together with chlorineacid and hypochlorite in the same place release chlorine gas. One product at a time, with a full turnover between.

When pH will not stay put

A pool whose pH climbs back within days does not have a pH problem. It has an alkalinity problem, and adding more acid treats the symptom.

Carbon dioxide leaves pool water continuously through the surface, and every molecule that leaves raises pH slightly. How fast that happens depends on how much dissolved carbon dioxide there is, and that scales with alkalinity. A pool at 180 ppm holds far more, and pushes pH up far faster, than one at 80.

Anything that agitates the surface accelerates it: waterfalls, fountains, spa jets, aggressive returns, and the aeration inherent in a salt chlorine generator. That last one is why salt pools have a reputation for constantly rising pH — it is not the cell chemistry so much as the gas bubbles it produces.

The correction is to reduce alkalinity to 70 or 80 ppm, which on a salt pool or one with a water feature is genuinely lower than the traditional 100 to 120 advice. Do it by adding acid to drop pH and alkalinity together, then aerating to bring pH back up alone, repeating until alkalinity is where it should be. Once it is, pH holds for weeks rather than days, and the acid consumption falls dramatically.

The opposite case — pH falling steadily — almost always means trichlor tablets. Trichlor is strongly acidic, and a pool fed on it needs bicarbonate to hold alkalinity up rather than acid to push pH down.

What this assumes, and where it stops

Assumptions

  • Pool water is modelled as a carbonate buffer with pK₁ = 6.35 and pK₂ = 10.33 at 25°C.
  • Total alkalinity is treated as carbonate alkalinity; cyanurate and borate contributions are not separated out here.
  • Adding strong acid conserves total carbonate, converting bicarbonate to dissolved carbon dioxide.
  • Muriatic acid is 31.45% by weight with a density of 1.16 g/mL.
  • The hypochlorous acid fraction uses a pKa of 7.54.

Limitations

  • Cyanuric acid contributes to a total alkalinity reading without taking part in the carbonate buffer, so a heavily stabilised pool has less real buffering than its alkalinity number suggests. Subtract about a third of the cyanuric acid reading for a truer figure.
  • Borate-treated pools carry a second buffer system that this model does not include, and they resist pH change considerably more than their carbonate alkalinity implies.
  • Carbon dioxide off-gasses continuously, so pH begins drifting back up as soon as a correction is made. The dose is correct at the moment of mixing.
  • Equilibrium constants are quoted at 25°C. Temperature shifts them slightly, though well inside the precision of a residential test kit.
  • Residential pH tests resolve to about 0.2, which is coarser than the arithmetic — treat the dose as an estimate to be confirmed by retesting.

Common questions

How much muriatic acid do I need to lower pool pH?

It depends on total alkalinity far more than on the pH change. A 20,000 gallon pool at 100 ppm alkalinity takes about 26 fl oz of 31.45% muriatic to go from pH 7.8 to 7.4; the same pool at 200 ppm takes about 52 fl oz. Alkalinity is the buffer, so it sets the dose.

Does lowering pH also lower alkalinity?

Always, because they are the same system. Acid converts bicarbonate into dissolved carbon dioxide, and total alkalinity is essentially a measurement of bicarbonate. Going from pH 7.8 to 7.4 at 100 ppm drops alkalinity by about 5 ppm. There is no way to lower one without lowering the other.

How do I raise pH without raising alkalinity?

Aerate. Running a fountain, aiming returns upward or switching on spa jets drives dissolved carbon dioxide out of the water, which raises pH while leaving bicarbonate — and therefore alkalinity — untouched. It is the only tool that moves one without the other, and it is free.

What is the ideal pH for a swimming pool?

7.4 to 7.6, inside the CDC code range of 7.2 to 7.8. The reason is chlorine: only hypochlorous acid is a strong sanitiser, and its share falls from about half at pH 7.5 to a quarter at 8.0. Below 7.2 the water turns aggressive and attacks plaster, grout and metal fittings.

Why does my pool pH keep rising?

Because carbon dioxide leaves the water continuously, and how fast depends on how much is dissolved — which scales with total alkalinity. A pool at 180 ppm pushes pH up far faster than one at 80. Waterfalls, spa jets and salt cells all accelerate it. The fix is to lower alkalinity to 70 or 80, not to keep adding acid.

Is dry acid better than muriatic acid?

Safer to handle and store, and easier to dose in small amounts, which makes it a reasonable choice for occasional corrections. It adds sulfate, though, which accumulates and at high concentrations attacks plaster and grout. On a pool that needs acid frequently, dilute 14.5% muriatic is usually the better compromise.

Sources

Formula and content last reviewed on .

Results are estimates for information only, not professional advice.

Report an error

Tools people commonly use alongside the pool ph calculator.

See all science & engineering calculators →