PoolChemKit

Pool Chemistry Methodology, Formulas & Verification

Last verified: 2026-12-04 · All 10,000 US gallon dosing constants audited with automated unit tests

1. US Gallon & Geometric Volume Standards

All dosing engines scale linearly from a 10,000 US gallon reference volume (37,854.1 liters; ~83,454 lbs of water). Pool volume calculations use the NIST conversion factor 7.48052 US gal/ft³ across six geometries: rectangle, round, oval, kidney (0.45 factor), L-shaped dual-zone, and freeform (0.85 factor).

2. Chemical Stoichiometry (Per 10,000 US Gallons)

  • Salt (NaCl): 0.08345 lbs per +1 ppm (83.45 lbs = 2.09 × 40-lb bags per +1,000 ppm). High-salt dilution uses mass balance (Current − Target) / (Current − Fill).
  • Chlorine & Shock: Liquid Chlorine 12.5% (10.24 fl oz), 10% (12.80 fl oz), Bleach 7.5% (17.07 fl oz), 6% (21.33 fl oz), Cal-Hypo 65%/68%/73% (2.05 / 1.96 / 1.83 oz wt, +0.70 ppm CH per +1 ppm FC), Dichlor 56% (2.38 oz wt, +0.91 ppm CYA), Trichlor 90% (1.48 oz wt, +0.61 ppm CYA).
  • FC/CYA Dynamic Targets: Minimum FC = 0.075 × CYA; Daily Target = [0.115 × CYA, 0.115 × CYA + 2.0]; Algae SLAM = 0.40 × CYA; Breakpoint = max(10×CC − FC, 10).
  • Total Alkalinity: Baking Soda = 1.40 lbs per +10 ppm TA; Lowering TA = 25.6 fl oz 31.45% muriatic acid (51.2 fl oz 14.5% acid or 2.14 lbs dry acid) per −10 ppm TA applied across safe Acid + Aeration cycles.
  • pH (TA-Buffered Model): Base doses per 0.2 pH at TA = 100 ppm scaled by clamp(TA / 100, 0.5, 2.0) across 31.45%/14.5% muriatic acid, dry acid, soda ash, and borax.
  • Stabilizer (CYA) & Calcium Hardness (CH): Dry CYA = 13.35 oz wt (liquid = 32 fl oz) per +10 ppm; 100% anhydrous CaCl₂ = 0.925 lbs vs. 77% dihydrate CaCl₂ = 1.20 lbs per +10 ppm.

3. PHTA ANSI/APSP-11 LSI & Pump Affinity Law

Our LSI calculator implements LSI = pH + TF + CF + AF − TDS_Factor with smooth piecewise interpolation of the PHTA temperature factor (32°F–105°F), logarithmic calcium (log₁₀(CH) − 0.4) and carbonate alkalinity (log₁₀(CarbAlk)) factors, and pH-dependent CYA cyanurate alkalinity correction (0.22 at pH 7.0 through 0.36 at pH 8.0). Pump energy savings follow the cubic hydraulic Affinity Law (P₂ = P₁ × (RPM₂ / RPM₁)³).

Official Standards & Verified Sources