About the Pool Chemical Dosage Calculator
Keeping a swimming pool safe and clear depends on maintaining four interconnected parameters: free chlorine, pH, total alkalinity, and cyanuric acid (stabilizer for outdoor pools). When any one of those drifts out of its target range, the others often follow — and the result can be cloudy water, equipment corrosion, skin and eye irritation, or ineffective sanitization. This calculator takes your current test readings and your pool's volume and produces precise dosing recommendations for each parameter, using the same scaling formulas that pool chemistry reference guides and pool service professionals use.
Why pool chemistry matters
A pool is not a passive body of water. Bathers introduce oils, sunscreen, sweat, and organic matter. Rain dilutes and unbalances chemicals. Sun destroys unstabilized chlorine in hours. Bacteria and algae are always present and multiply rapidly in warm, poorly sanitized water. The chemical system in a pool exists to counteract all of that continuously. When it works properly, the water is safe to swim in, clear enough to see the bottom, and comfortable for eyes and skin. When it falls out of balance, the same water can harbor pathogens, etch plaster, stain tile, or irritate swimmers' eyes and skin within days.
Free chlorine: the primary sanitizer
Free chlorine is the active sanitizer in virtually all residential and commercial pools. It exists in two chemical forms in water — hypochlorous acid (HOCl) and the hypochlorite ion (OCl⁻) — and the ratio between them shifts with pH, which is why pH and chlorine are so tightly linked. At pH 7.0, roughly 75% of chlorine is in the fast-acting HOCl form. At pH 8.0, that drops to about 21%. Keeping pH between 7.2 and 7.6 ensures that the majority of your chlorine is biologically active rather than sitting as the slow-reacting hypochlorite ion.
The difference between free chlorine and total chlorine is also important. Combined chlorine (chloramines) is the portion that has reacted with nitrogen-containing compounds from bathers. Chloramines are far less effective as sanitizers, cause the characteristic "pool smell," and irritate eyes. The ideal combined chlorine level is 0.2 ppm or below. When combined chlorine climbs above 0.5 ppm, shocking the pool is the appropriate response.
pH: the master variable
Pool water pH is a measure of acidity and alkalinity on a logarithmic scale from 0 to 14, where 7.0 is neutral. Human eyes and mucous membranes are comfortable at a pH very close to 7.4 — which is why the ideal pool range of 7.2 to 7.6 feels comfortable to swim in. Below 7.2, water becomes aggressive: it corrodes metal fittings, etches plaster and concrete, and causes eye and skin irritation. Above 7.6, chlorine efficiency drops sharply, calcium tends to precipitate out of solution causing cloudy water and scale on surfaces, and algae growth is more likely.
To raise pH that is too low, soda ash (sodium carbonate, Na₂CO₃) is the most common treatment for pools. It is fast-acting and also raises total alkalinity slightly. To lower pH that is too high, muriatic acid (hydrochloric acid, HCl) is the most widely used product, typically sold as a 31.45% solution. Dry acid (sodium bisulfate) is an alternative that is safer to handle. Always add acid to a bucket of water before adding it to the pool, and never add acid directly near the skimmer or main drain.
Total alkalinity: the pH buffer
Total alkalinity (TA) measures the concentration of alkaline substances — primarily bicarbonate ions — dissolved in pool water. Its primary job is to resist rapid pH swings, a property called buffering capacity. When TA is too low (below 80 ppm), pH becomes unstable and can swing dramatically from one test to the next, a condition called pH bounce. When TA is too high (above 120 ppm), pH tends to drift upward and becomes difficult to hold in range, and water often turns cloudy as carbonates precipitate.
To raise total alkalinity, sodium bicarbonate (baking soda, NaHCO₃) is the standard treatment. It raises TA without raising pH as dramatically as soda ash, making it useful for targeted TA correction. As a general rule, 1.5 pounds of sodium bicarbonate raises TA by about 10 ppm in 10,000 gallons of water. To lower TA that is too high, the correct approach is dilution — partial draining and refilling with fresh water — since no chemical lowers TA without also affecting pH in ways that may require additional adjustment.
Cyanuric acid: stabilizer for outdoor pools
Cyanuric acid (CYA) is a stabilizer that protects chlorine from degradation by ultraviolet light from the sun. Without stabilizer, free chlorine in an outdoor pool can be almost entirely destroyed within two to four hours of direct sunlight exposure. With CYA at 30–50 ppm, that protection extends chlorine's effective lifespan substantially, reducing how frequently chlorine must be added. However, CYA is not without trade-offs: higher CYA levels reduce chlorine's effective sanitizing power — a pool with 80 ppm CYA needs significantly more free chlorine to achieve the same sanitizing effect as a pool with 30 ppm CYA. This is why the upper limit for CYA is typically set at 50 ppm for residential pools.
CYA does not naturally degrade. The only way to lower it is by diluting pool water through partial draining and refilling. When CYA creeps above 50 ppm, a partial drain of 20–30% of pool volume and refilling with fresh water is the recommended approach. Trichlor and dichlor chlorine products both contain CYA as a component, which means using them exclusively as your sanitizer will gradually raise CYA levels over a season. Liquid chlorine and calcium hypochlorite do not contain CYA.
Sanitizer types compared
Pool owners have several chlorine delivery options, each with different chlorine concentrations, handling characteristics, and effects on water chemistry. Liquid chlorine (sodium hypochlorite at 12.5%) is the most straightforward: it raises only free chlorine and slightly raises pH, with no stabilizer or calcium side effects. Calcium hypochlorite (cal-hypo) at around 68% concentration is a granular product that is more concentrated than liquid chlorine but raises calcium hardness over time. Trichlor tabs at 90% chlorine are highly acidic (pH around 2.9) and contain built-in stabilizer, making them convenient for floaters and feeders but prone to gradually raising CYA and lowering pH. Dichlor at 56% contains stabilizer and has a near-neutral pH, making it gentler on water chemistry for light maintenance doses.
Shock treatment vs. regular chlorination
Regular chlorination maintains free chlorine in the 2–4 ppm range as a continuous baseline. Shocking, or superchlorination, means adding enough chlorine to reach 10 ppm or more — typically to break apart chloramines, kill algae, or recover a severely neglected pool. A practical rule of thumb for shocking is to add enough chlorine to reach 10 times the combined chlorine level, or at minimum to raise free chlorine to 10 ppm. Most pool professionals recommend shocking at dusk, since sunlight rapidly burns off unprotected chlorine and wastes much of the shock dose. After a shock treatment, test chlorine before allowing swimming — wait until free chlorine drops back below 5 ppm.
Saltwater pools still need chemistry management
Saltwater pools use an electrolytic chlorine generator (salt cell) to produce chlorine from dissolved sodium chloride. The chlorine produced is functionally identical to liquid chlorine from a chemistry standpoint. This means pH, total alkalinity, and cyanuric acid all still require exactly the same testing and adjustment routine as a traditional chlorine pool. In fact, saltwater pools often trend toward rising pH because the electrolysis process slightly increases pH, making regular pH monitoring especially important. The salt concentration itself (typically 2700–3400 ppm, or about one-tenth as salty as seawater) does not directly affect the four key parameters this calculator addresses.
Testing frequency and timing
Test free chlorine and pH at least two to three times per week during the swim season, and always after heavy bather loads, rain, or adding chemicals. Test total alkalinity and cyanuric acid every one to two weeks. After any chemical addition, run the pump for at least one full circulation cycle (typically 6–8 hours for a 15,000-gallon pool with a standard 50-GPM pump) before testing again to ensure even distribution. Avoid testing immediately after a storm, as rain dilutes the surface readings without representing bulk pool chemistry.
Order of chemical addition
When multiple adjustments are needed, always add chemicals in this order: alkalinity first, then pH, then chlorine. This sequence matters because alkalinity affects how pH responds to adjustment, and pH directly controls how effective chlorine is. Adjusting alkalinity first stabilizes the buffer that holds pH in place; then correcting pH ensures that chlorine added afterward operates at peak efficiency. Never add two chemicals to the pool simultaneously. Distribute each product around the perimeter of the pool with the pump running, and wait at least 20–30 minutes between additions to allow circulation and mixing. Never mix concentrated pool chemicals together — many combinations produce dangerous chlorine gas or cause violent reactions.
Safety: handling pool chemicals
Pool chemicals are concentrated oxidizers and acids that require careful handling. Wear chemical-resistant gloves and eye protection whenever measuring or adding chemicals. Never add chemicals to the pool by the skimmer — concentrated chemicals can damage equipment. Always add chemicals to water rather than water to chemicals: pour the chemical into a bucket of pool water to pre-dilute (or scatter granules directly across the surface), not the other way around. Store pool chemicals in a cool, dry, well-ventilated location away from direct sunlight, and store different chemicals in separate locations. Liquid chlorine and muriatic acid should never be stored near each other.
Frequently Asked Questions
What is the ideal pool chemical balance?
How often should I test my pool water?
Can I swim after adding chemicals?
What is pool shocking?
Reference tables
Pool chemistry parameters: target ranges and effects
| Parameter | Target range | Too low | Too high |
|---|---|---|---|
| Free chlorine | 2–4 ppm | Bacterial growth, algae, cloudy water | Eye/skin irritation, bleaches swimwear |
| pH | 7.2–7.6 | Corrosion of metal, etching of plaster, eye irritation | Chlorine inefficiency, scale buildup, cloudy water |
| Total alkalinity | 80–120 ppm | pH bounce, corrosion, etching | pH drift upward, cloudy water, scaling |
| Cyanuric acid | 30–50 ppm (outdoor) | Rapid chlorine loss to sunlight | Reduced chlorine effectiveness ("chlorine lock") |
| Calcium hardness | 200–400 ppm | Corrosive water, plaster damage | Scaling, cloudy water, shortened filter life |
Approximate chemical amounts by pool size
| Pool size | +1 ppm chlorine (liquid 12.5%) | Raise TA 10 ppm (baking soda) | Raise pH 0.2 (soda ash) |
|---|---|---|---|
| 10,000 gal | 10 oz | 1.5 lb | ~4 oz |
| 15,000 gal | 15 oz | 2.25 lb | ~6 oz |
| 20,000 gal | 20 oz | 3.0 lb | ~8 oz |
| 25,000 gal | 25 oz | 3.75 lb | ~10 oz |
| 30,000 gal | 30 oz | 4.5 lb | ~12 oz |
Sanitizer types comparison
| Product | Chlorine % | Oz to raise 1 ppm / 10,000 gal | Pros | Cons |
|---|---|---|---|---|
| Liquid chlorine (sodium hypochlorite) | 12.5% | 10 oz | No stabilizer; no calcium; easy to dose; raises pH slightly | Short shelf life; heavy to transport; low concentration |
| Granular chlorine (cal-hypo ~68%) | ~68% | 1.5 oz | Very concentrated; long shelf life; easy to store | Raises calcium hardness; can cloud water if added directly |
| Trichlor tabs (90%) | 90% | 1.1 oz | Most concentrated; slow dissolve; convenient for feeders | Very acidic (pH ~2.9); contains CYA; can over-stabilize |
| Dichlor (56%) | 56% | 1.8 oz | Near-neutral pH; fast dissolving; contains some stabilizer | Contains CYA; not ideal for pools already at CYA target |