Water Treatment

Swimming Pool Water Chemistry: Chlorine, pH and Alkalinity

swimming pool water chemistry — test vials of pool water showing a gradient of reagent colours on a dark surface | Global Formulation
Reagent colour in each vial is read against a scale to give free chlorine, pH or alkalinity.

Pool water looks simple, yet every chemical added to it changes something else. Chlorine disinfects well only inside a narrow pH window, and pH holds steady only when alkalinity buffers it. Getting swimming pool water chemistry wrong means cloudy water, irritated swimmers, scaled equipment or a sanitiser that fails when it is needed. This guide explains how free chlorine, pH, alkalinity, stabiliser and hardness interact, how to test them, and what a formulator should design for. It draws on the WHO pool guidelines, NSW Health's 2026 guidance, peer-reviewed work and formulation experience at Global Formulation.

Swimming Pool Water Chemistry: Five Parameters That Interact

Pool water is a closed chemical system, and every adjustment to one parameter moves another. NSW Health guidance says pH, total alkalinity, calcium hardness, total dissolved solids and temperature should be balanced to aid disinfection, prevent swimmer discomfort and avoid scale or corrosion. The disinfectant residual sits on top of that balance, because its strength depends on pH. The table lists each parameter with the role or reference value stated in the sources.

Parameter Role Reference in the Sources
Free chlorineMain disinfectantWHO: 1 mg/L gives adequate routine disinfection in a well run pool; NSW minimums vary by pH and pool type
pHSets how much chlorine is active; comfort; coagulationWHO: 7.2 to 7.8; NSW: 7.0 to 7.8
Total alkalinityBuffers pHNSW: 80 to 200 mg/L
Cyanuric acidProtects chlorine from sunlightWHO: 50 to 100 mg/L, not above 100; NSW: maximum 50 mg/L, outdoor pools only
Calcium hardnessProtects concrete and grout; limits scaleNo numeric range in the NSW text; part of the Langelier index
Total dissolved solidsSignals dilution or bather loadAbove 1,500 mg/L can indicate overloading, per CDC as quoted by NSW
TemperatureAffects balance and bather comfortNSW: maximum 38 °C
Langelier Saturation IndexCorrosive or scale-forming tendency-0.3 to 0.3, per CDC as quoted by NSW

WHO notes that acceptable disinfectant levels are set locally, so treat these values as examples of regulatory practice. A formulator should confirm the code in each target market. Our overview of water treatment chemistry places pool water among the wider treatment applications, and our guide to the Langelier and Ryznar indices explains the saturation maths. The disinfectant is the natural first parameter to examine in detail.

Free Chlorine: Hypochlorous Acid, Hypochlorite and the pH Window

Free chlorine does the disinfecting, but its strength depends on the form it takes. Adding chlorine gas or hypochlorite to water forms hypochlorous acid, which dissociates into hydrogen ions and hypochlorite ions. The WHO guidelines call hypochlorous acid a much stronger disinfectant than hypochlorite. The balance between the two is set mainly by pH and only slightly by temperature.

  • pH effect — WHO states that at pH 8.0 about 21% of free chlorine is hypochlorous acid, and at pH 8.5 only 12%. That is why pH is held low within defined limits.
  • Measurement — the usual chlorine test detects free and total chlorine, so the pH must also be known to judge disinfection.
  • Routine level — WHO says 1 mg/L of free chlorine throughout a well run public pool should achieve adequate routine disinfection. Levels well above 1.2 mg/L should not be necessary.
  • Upper limits — WHO suggests free chlorine should not exceed 3 mg/L in public pools and 5 mg/L in public hot tubs.

NSW Health sets its minimums by pool type and by pH, which shows how regulators build the pH effect into the rule:

Public Pool Situation Minimum Free Chlorine at pH 7.6 or Below Minimum Free Chlorine Above pH 7.6
Outdoor pool without cyanuric acid1.0 mg/L2.0 mg/L
Outdoor pool with cyanuric acid3.0 mg/L4.0 mg/L
Indoor pool2.0 mg/L3.0 mg/L
Spa pool2.0 mg/L3.0 mg/L

The NSW text lists the chlorine sources used in pools: chlorine gas, liquid sodium hypochlorite, granular calcium and lithium hypochlorite, electrolytic generation from salt, and stabilised granules or tablets. Sodium hypochlorite solutions are fairly alkaline, with a pH of 11 or higher. NSW warns that improper storage can quickly degrade stock chlorine solutions, and WHO notes that chlorate can build up in stored hypochlorite. Our guides to chlorine bleach chemistry and breakpoint chlorination cover the underlying chemistry.

Because pH controls how much chlorine is active, pH control depends in turn on how well the water is buffered.

Pool pH and Alkalinity Balance: Buffering and Adjustment

Alkalinity is the reason pH holds steady, and its level decides how hard pH is to manage. NSW Health defines total alkalinity as the ability of water to withstand changes in pH, also called buffering capacity. If it is too low, pH changes rapidly, and if it is too high, pH is difficult to adjust. The 2026 NSW regulation requires 80 to 200 mg/L for public pools using chlorine or bromine.

The adjustment chemicals each move pH and alkalinity together, which is why the order of dosing matters. The NSW chapter on water balance describes these effects:

Adjustment Chemical Effect on pH Effect on Alkalinity Note in the Source
Hydrochloric (muriatic) acid or sodium bisulfateLowers pH quicklyLowers total alkalinityDilute acid in water, then add slowly to the balance tank
Carbon dioxideLowers pH more slowly, as a weak acidNot statedSlower change than strong acids
Sodium carbonate (soda ash)Raises pH quicklyRaises total alkalinityUsed when pH is too low
Sodium bicarbonateRaises pH more slowlyRaises total alkalinityAlso used to raise alkalinity directly

WHO adds the reasons for the pH window: efficient disinfection and coagulation, protection of the pool fabric and swimmer comfort. It recommends 7.2 to 7.8 for chlorine disinfectants and suggests continuous measurement with automatic adjustment in public pools. The NSW regulation uses 7.0 to 7.8, and it allows monthly alkalinity testing, instead of daily, where liquid chlorine or carbon dioxide control is used.

Alkalinity Sits Behind pH Drift Acid lowers pH and alkalinity together, so repeated acid dosing to hold pH can push alkalinity toward the 80 mg/L floor. Check alkalinity whenever pH starts to swing, before adjusting the chlorine product.

Buffering keeps chlorine active indoors and out, but outdoor pools face a further problem, which is sunlight.

Pool Chlorine Stabiliser Cyanuric Acid: Protection and Penalty

Cyanuric acid solves one problem and creates another, and current guidance on it varies. According to NSW Health, sunlight breaks down chlorine in outdoor pools, and cyanuric acid bonds loosely to free chlorine to limit the effect of UV light. The same bonding reduces the disinfecting power of hypochlorous acid. That is why NSW sets higher minimum free chlorine levels when cyanuric acid is present.

  • Accumulation — chlorinated isocyanurates dissociate to release free chlorine and leave cyanuric acid behind, which the treatment process cannot remove, so only dilution with fresh water lowers it.
  • Progressive penalty — WHO says there is very little effect at low levels, but the disinfecting and oxidising properties of free chlorine become progressively reduced as cyanuric acid rises.
  • Cryptosporidium — a 2015 study found that cyanuric acid significantly delays chlorine inactivation of the oocysts. The 3-log value was 17,800 mg·min/L at 8 mg/L of cyanuric acid and 31,500 mg·min/L at 16 mg/L. The CDC reference value without it is 15,300 mg·min/L.
  • High stabiliser — with about 100 mg/L of cyanuric acid, the same study reached only 0.8 and 1.4 log reductions after 72 hours. Those results came at 20 and 40 mg/L of free chlorine.
  • Incident response — NSW says cyanuric acid should fall to 15 mg/L or less before hyperchlorination, which can mean partial draining and refilling.
Source Position on Cyanuric Acid
WHO guidelines, 2006Keep between 50 and 100 mg/L, and do not exceed 100 mg/L
NSW Health guidelines, 2026Maximum 50 mg/L; outdoor chlorine-disinfected pools only; not in spa pools; tested weekly
The Guidance Does Not Agree WHO's 2006 range allows twice the level that NSW Health now permits. A product label or specification written for one market can be wrong for another, so check the local code before setting stabiliser limits.
swimming pool water chemistry process diagram — clear pool water surface with sunlight refracting over a tiled floor | Global Formulation
Clear water over a pale tiled floor: clarity is the result of balanced chemistry, filtration and circulation working together.

Stabiliser protects chlorine from the sun, but nothing protects it from the nitrogen that swimmers bring, and that reaction leads to combined chlorine.

Combined Chlorine and Chloramines: Control by Shock Dosing and Dilution

Combined chlorine is what remains when free chlorine meets swimmers. Chlorine reacts extremely rapidly with ammonia in the water, which comes from bathers' urine, to form monochloramine, dichloramine and nitrogen trichloride. NSW Health describes combined chlorine as a weaker disinfectant than free chlorine. Some forms affect indoor air quality, irritate skin and eyes, and corrode fabrics and fittings.

  • Air quality — WHO says volatile nitrogen trichloride can cause significant eye and respiratory irritation. It gives a provisional air value of 0.5 mg/m³ for chlorine species expressed as nitrogen trichloride.
  • Targets — WHO suggests combined chlorine ideally below 0.2 mg/L and no more than half the free chlorine. NSW caps combined chlorine at 1.0 mg/L and total chlorine at 10 mg/L.
  • Shock dosing — both sources say destroying chloramines needs free chlorine at least 10 times the combined chlorine level. WHO says preventive shock dosing typically raises free chlorine to at least 10 mg/L for 1 to 4 hours.
  • Closed pool — shock dosing happens only while the pool is closed. Chlorine must fall before bathers return, to below 5 mg/L in the WHO text and below 10 mg/L total in the NSW text.
  • Secondary systems — NSW lists medium-pressure UV, ozone and oxidisers such as hydrogen peroxide, chlorine dioxide and potassium monopersulfate, and fresh water exchange can also help.
  • Prevention — showering with soap before entering, regular toilet breaks, effective filtration and good turnover reduce the chlorine demand and the nitrogen load.

WHO warns that shock dosing should not compensate for inadequate treatment, because it can mask design or operating deficiencies. Our guides to breakpoint chlorination and chlorine dioxide generation cover the chemistry of those options.

Chloramine control keeps the water healthy, while hardness and saturation keep the pool shell intact.

Calcium Hardness, Saturation Index and Surface Protection

Water that is balanced for chlorine can still damage the pool shell if its mineral content is wrong. NSW Health says balanced water contains enough calcium not to damage concrete surfaces or tile grout, but not so much that scale forms. The usual check is the Langelier Saturation Index, which combines pH, total alkalinity, calcium hardness, total dissolved solids and temperature. The NSW text quotes an ideal index of zero or slightly positive, within the range of -0.3 to 0.3.

  • Negative index — typically indicates corrosive water that can damage pool fixtures and fittings.
  • Positive index — makes scale more likely, although a neutral or slightly positive value is preferred because scaling is less harmful than corrosion.
  • Raising hardness — add calcium chloride, and lower it by exchanging pool water with make-up water that has less hardness.
  • Dissolved solids — above 1,500 mg/L can indicate bather overload or lack of dilution. Per CDC as quoted by NSW, it can also reduce disinfectant effect and increase algal growth and corrosion.
  • Temperature — higher temperatures increase bacterial growth and scaling, while lower temperatures let water absorb more calcium and etch pool surfaces.

The balance can be checked with a calculation, but only if the inputs come from reliable tests. The next section covers how pool water testing is done and how often.

Pool Water Testing: DPD, pH, Frequency and Sampling

Pool water testing converts chemistry into decisions, so the method and the sampling point matter as much as the reading. WHO says parameters that are easy to measure reliably and matter immediately for health, such as turbidity, residual disinfectant and pH, should be monitored most often. Analysis is generally done with simple kits based on the DPD method, which measures free and total disinfectant. The kits come as colourimetric or titration versions with liquid or tablet reagents.

Parameter Method or Note NSW Frequency for Public Pools
Free and total chlorine, pHDPD kit; pH is needed to judge chlorine effectivenessDaily before opening, with more testing when bather load or sunlight demand it
Total alkalinityTest kitDaily, or monthly where liquid chlorine or carbon dioxide pH control is used
Cyanuric acidTest kit; outdoor pools onlyWeekly
Oxidation-reduction potentialElectrode; WHO says above 720 mV (silver/silver chloride) suggests good microbial condition, set case by caseNot specified in the NSW table

Sampling practice follows a few WHO and NSW rules:

  • Depth and timing — take samples at 5 to 30 cm depth and test them immediately.
  • Location — include the area where the residual is generally lowest because of the hydraulics, and take occasional samples elsewhere and from the circulation system.
  • Automation — WHO prefers automatic dosing with continuous pH and residual sensors, backed by regular manual checks.
  • Records — NSW requires public pools to keep test records for at least 6 months.

Reliable test results are only useful if dosing follows them safely, which is the next topic.

Dosing, Mixing and Safe Handling of Pool Chemicals

How chemicals are dosed matters as much as which chemicals are chosen. WHO prefers automatic dosing, where sensors monitor pH and residual disinfectant and adjust the dosing continuously. It calls hand-dosing rarely justified, and says the pool must be empty of bathers until a hand-dosed chemical has dispersed. These principles shape how operators work and how manufacturers should write instructions.

  • Circulation interlock — dosing pumps should shut off if circulation fails, because dosing into still water creates high local concentrations that reach the pool when flow resumes.
  • Incompatible chemicals — if hypochlorite and acid are dosed into the same stagnant line, the resulting mix can contain chlorine gas and be dangerous to pool users.
  • Dosing position — residual disinfectants are generally dosed at the end of treatment, after coagulation, filtration and any ozone or UV have cleared organic load.
  • Mixing — disinfectants and pH-adjusting chemicals should be well mixed at the point of dosing, and dosing systems should run 24 hours a day.
  • Acid handling — NSW says acid should always be diluted into water and added slowly to the balance tank.
  • Storage — stock chlorine solutions degrade if stored improperly, and chlorate can build up in stored hypochlorite.
swimming pool water chemistry comparison infographic — granular and tablet pool chemical samples in glass dishes | Global Formulation
Pool chemicals are sold as granules, crystals, tablets and powders, so each product needs its own storage and handling rules.

Coagulation ahead of filtration reduces the organic load and the by-product precursors that chlorine would otherwise meet, as our guide to coagulant selection in water treatment explains. With the system logic clear, the remaining question is how a manufacturer turns it into a product range.

Formulating Pool Chemicals With a Water Treatment Formulation Consultant

Pool chemical products are sold as separate items, but the water treats them as one system. A water treatment formulation consultant starts from the job each product does in the balance. Water treatment chemical product development services then cover prototypes, stability and dissolution trials and label data. Industrial water chemicals contract manufacturing runs the approved recipe at scale.

  • Sanitisers — liquid chlorine, hypochlorite granules and stabilised granules or tablets, each with its own storage and dosing profile.
  • pH reducers — acids such as sodium bisulfate, which also lower alkalinity.
  • pH and alkalinity raisers — sodium carbonate and sodium bicarbonate.
  • Hardness raiser — calcium chloride.
  • Stabiliser — cyanuric acid, with market-specific limits and use warnings.
  • Shock and oxidisers — chlorine for shock dosing, with hydrogen peroxide, chlorine dioxide or monopersulfate as alternative oxidisers.

Five design questions come before any recipe is fixed. First, which market's code sets the limits, given that WHO and NSW disagree on cyanuric acid. Second, how stable the product is in storage, given the degradation and chlorate points above. Third, how it dissolves and doses in a circulation system. Fourth, how incompatible products are kept apart in labelling and packaging. Fifth, which approvals apply, since NSW refers to chlorine products approved by its national regulator.

Manufacturers building a new range will find the business side in our guides to starting a swimming pool chemical manufacturing business and water treatment chemical manufacturing. The decision framework below pulls the chemistry and the product design into one sequence.

Decision Framework: Setting Up Pool Chemistry and Product Design

A clear sequence keeps pool chemistry from turning into a series of chemical corrections. Each step below fixes one variable and ties the next to evidence. Follow the steps in order, and record the reason for each choice.

  1. Fix the rulebook. Identify the local limits for free chlorine, pH, alkalinity and stabiliser.
  2. Choose the disinfectant form. Weigh sunlight, bather load, storage and dosing method across gas, liquid, granular, stabilised or salt-generated chlorine.
  3. Set the pH and alkalinity window. Choose adjusters knowing that acids lower both and carbonates raise both.
  4. Decide on stabiliser. Use it only outdoors, keep it within the local limit and plan dilution before any hyperchlorination.
  5. Plan combined chlorine control. Combine bather hygiene, filtration, shock dosing while closed and secondary systems where needed.
  6. Check the balance. Review hardness, dissolved solids, temperature and the saturation index.
  7. Set testing and dosing. Use DPD tests, correct sampling points, automatic dosing with manual checks and kept records.

Sound swimming pool water chemistry comes down to four things. They are a chlorine form active at the working pH, a buffer that holds it, a stabiliser kept within local limits and a test routine that catches drift early. If you are developing pool or water treatment products, Global Formulation can help you set the targets and build the evidence file behind them.

Frequently Asked Questions

What is the ideal pH and alkalinity for a swimming pool?

The WHO guidelines recommend a pH of 7.2 to 7.8 for chlorine disinfectants. The NSW Health regulation for public pools requires pH 7.0 to 7.8 and total alkalinity of 80 to 200 mg/L. Alkalinity buffers pH, so low values let pH swing quickly and high values make adjustment difficult. Local codes differ, so confirm the range that applies to your pool and your market.

Why does pH change how well chlorine works?

Free chlorine is a mixture of hypochlorous acid, a strong fast disinfectant, and hypochlorite ion, a weaker one. The WHO guidelines state that at pH 8.0 about 21% of free chlorine is hypochlorous acid, and at pH 8.5 only 12%. A reading of free chlorine therefore means little unless the pH is known. NSW rules for public pools raise the minimum free chlorine when pH rises above 7.6.

What does cyanuric acid do, and how much is too much?

Cyanuric acid is a stabiliser that bonds loosely to free chlorine and reduces its loss to sunlight in outdoor pools. It also reduces the disinfecting power of the chlorine, and it builds up because only dilution removes it. WHO's 2006 guidelines recommend 50 to 100 mg/L and no more than 100 mg/L, while NSW Health now caps it at 50 mg/L for outdoor public pools. Follow your local code, and keep it lower where Cryptosporidium risk is a concern.

What is combined chlorine and how do you remove it?

Combined chlorine, such as chloramines, forms when free chlorine reacts with nitrogen compounds like ammonia from bathers. It is a weaker disinfectant than free chlorine, and volatile forms such as nitrogen trichloride irritate eyes and airways. WHO suggests combined chlorine should be ideally below 0.2 mg/L and no more than half the free chlorine. Shock dosing to at least 10 times the combined chlorine level, with the pool closed, along with fresh water dilution and bather hygiene, controls it.

How often should swimming pool water be tested?

NSW Health requires public pools to test disinfectant and pH at least once each day before opening, with more frequent testing when conditions demand it. Alkalinity is tested daily unless liquid chlorine or carbon dioxide pH control is used, in which case monthly testing is allowed, and cyanuric acid is tested weekly. WHO adds that tests should be done immediately after sampling at a depth of 5 to 30 cm. Domestic pools should at least be tested before use.

Why does calcium hardness matter in a pool?

Calcium hardness protects the pool surface. NSW Health guidance says balanced water contains enough calcium so it does not damage concrete or tile grout, but not so much that scale forms. The Langelier Saturation Index combines pH, alkalinity, calcium hardness, dissolved solids and temperature, and the guidance gives a target range of -0.3 to 0.3. A negative index points to corrosive water and a positive one to scaling.

How can a water treatment formulation consultant help pool chemical makers?

A water treatment formulation consultant matches each product to its job in the water balance, such as sanitiser, stabiliser, pH adjuster or shock oxidiser. Water treatment chemical product development services add stability tests, dissolution and dosing trials, and label-ready performance data. Industrial water chemicals contract manufacturing then runs the validated recipe at scale. The outcome is a product range whose behaviour in pool water is documented.

Developing Pool or Water Treatment Chemicals?

Global Formulation helps water treatment chemical manufacturers design sanitiser, stabiliser and balancing products, build the test programme and move recipes to contract production.

Talk to Our Formulation Team
AK

Absar Khan

Founder & Lead Consultant, Global Formulation

Absar Khan is a formulation consultant with experience in water treatment chemicals, oxidising products, balancing chemicals and lab-to-plant scale-up for industrial manufacturers. He founded Global Formulation to provide accessible, expert-led formulation and product development services to manufacturers and entrepreneurs in the chemical and pharmaceutical industries. Connect with him on LinkedIn.

Message on WhatsApp