Pool Chemical Calculator: How to Balance Your Water

Use our Pool Chemical Calculator to quickly estimate how much pool chemical you need to balance your water and keep your pool clean, safe, and ready to use.
Table of Contents
How Much Shock or Muriatic Acid Does Your Pool Need?
Both doses scale directly with your pool’s gallons, so getting your volume right matters more than anything else. As a rule of thumb, 16 fl oz of 31.45% muriatic acid lowers pH by about 0.2 in a 20,000 gallon pool. For shock, raising free chlorine from 0.5 to 3 ppm in that same size pool takes roughly 615 fl oz (about 4.8 gallons) of 12.5% liquid chlorine, or a proportional amount of granular cal-hypo shock. Use the calculator below with your exact volume and test results.
Pool Chemical Calculator
Estimates shock (chlorine) and muriatic acid dosing based on your exact pool volume and current test results.

Pool chemicals are strong stuff. Eyeball a dose and you’ll either waste money overcorrecting or leave your water open to algae. The math behind shocking a pool or fixing your pH isn’t hard, but it all comes down to one number you need to get right first: your pool’s exact volume in gallons.
Why Volume Comes First
Every chemical recommendation — chlorine, acid, shock, salt — is calculated against your pool’s total gallons. So if you’re guessing your pool holds 15,000 gallons when it actually holds 20,000, you’re under-dosing everything by 25%, every single time. Get your volume right first, before you touch any chemical. That’s the biggest factor in getting your dosing right.
Shocking Your Pool, Step by Step
Shocking means raising your free chlorine (FC) to a much higher level than normal, usually to kill algae, clear up cloudy water, or recover after a lot of pool use. Here’s the math for liquid chlorine.
Example: say you have a 20,000 gallon pool, your FC is at 0.5 ppm, and you’re targeting 3 ppm with 12.5% liquid chlorine.
1. Find how much you need to raise FC: 3.0 − 0.5 = 2.5 ppm.
2. Divide by the chlorine constant: 2.5 ÷ 0.13 = 19.2.
3. Multiply by your volume factor: 19.2 × (20,000 ÷ 10,000) = 38.4.
4. Multiply by 16 to get fluid ounces: 38.4 × 16 = 615 fl oz (about 4.8 gallons).
So: that’s a lot of liquid chlorine, which is exactly why shocking for algae costs a lot more than your routine daily dose.
Shock Dosing by Pool Size
Here’s a quick table for raising FC by 5 ppm, using either 12.5% liquid chlorine or 73% granular cal-hypo shock.
| Pool Size | Liquid Chlorine (12.5%) | Granular Cal-Hypo (73%) |
|---|---|---|
| 10,000 gal | ~62 fl oz (0.5 gal) | 0.5 lbs |
| 15,000 gal | ~92 fl oz (0.7 gal) | 0.75 lbs |
| 20,000 gal | ~123 fl oz (1 gal) | 1 lb |
| 30,000 gal | ~185 fl oz (1.4 gal) | 1.5 lbs |
If you’re doing a full algae recovery instead of a routine bump, you’re usually targeting 20-30 ppm FC instead of 5 ppm. So just multiply these numbers by 4-6x, and plan on retesting — you may need to repeat the treatment.
Lowering pH With Muriatic Acid, Step by Step
Muriatic acid is your go-to for bringing high pH (or high alkalinity) back down. Here’s the math using standard 31.45% acid.
Example: your 20,000 gallon pool has a pH of 7.8, and you want to get to 7.4 using 31.45% muriatic acid.
1. Find how much you need to lower pH: 7.8 − 7.4 = 0.4.
2. Divide by the acid constant: 0.4 ÷ 0.2 = 2.
3. Multiply by 8 and your volume factor: 2 × 8 × (20,000 ÷ 10,000) = 32 fl oz.
So: that’s 32 fl oz. That’s actually a pretty big single dose, so a lot of pool owners split it into two smaller additions and retest in between rather than dumping it all in at once.
Muriatic Acid Dosing by Pool Size
Here’s how much 31.45% muriatic acid it takes to lower pH by 0.2, across common pool sizes.
| Pool Size | Acid Needed (pH −0.2) |
|---|---|
| 10,000 gal | 8 fl oz |
| 15,000 gal | 12 fl oz |
| 20,000 gal | 16 fl oz |
| 30,000 gal | 24 fl oz |
Acid Concentration Comparison
Not all muriatic acid is the same strength. If yours is a lower concentration, you’ll need more of it to get the same result.
This is the most common strength you’ll find at hardware and pool supply stores. It’s the baseline every dosing chart is built around.
Lower concentration means less fuming and easier handling. But you’ll need roughly 1.5x to 2x the volume to get the same pH correction.
The Right Order for Balancing Chemicals
Adding chemicals in the wrong order is one of the biggest reasons pool balancing goes wrong or just takes forever. Each parameter affects the others, so the order actually matters.
| Order | Parameter | Why This Order |
|---|---|---|
| 1 | Total Alkalinity | Stabilizes pH so your later adjustments actually stick |
| 2 | pH | Determines how well your chlorine will work |
| 3 | Calcium Hardness | Protects plaster and equipment from corrosion or scaling |
| 4 | Cyanuric Acid (Stabilizer) | Shields your chlorine from breaking down in sunlight |
| 5 | Free Chlorine / Shock | Works best once everything else is already in range |
Common Dosing Mistakes
Guessing your pool volume instead of measuring it. Every dose scales directly with gallons, so a wrong volume throws off everything you calculate after it.
Adding shock before fixing your pH. Chlorine works a lot worse at high pH, so you end up burning through expensive shock for barely any benefit.
Mixing chemicals together. Never combine pool chemicals directly. Add one at a time, circulate, and retest before you add the next.
Adding your full acid dose all at once. A big single correction risks overshooting your target. Split it into two doses and retest in between instead.
Swimming too soon after shocking. Wait until FC drops back below 5 ppm — usually 8-24 hours — before letting anyone back in.
Not sure of your exact dose? Use the Pool Chemical Calculator above for shock and muriatic acid dosing based on your exact pool volume and current test results.
Why trust this guide: these dosing formulas reflect standard industry ratios used across pool maintenance references. Pool chemicals are strong oxidizers and acids, so always read the product safety label, handle them carefully, and go with a partial dose plus a retest instead of one big correction.
So there you have it — that’s really all there is to it. If you’re dealing with a stubborn algae bloom or a pH that won’t hold steady no matter what you do, drop a comment below and I’ll help you work through it.
Frequently Asked Questions
Algae recovery typically targets a much higher free chlorine level than routine maintenance, often 20-30 ppm depending on how severe the algae bloom is. Enter your target FC in the calculator above to get the exact dose for your pool size — and expect to need more than one treatment for a badly green pool.
Dosing scales directly with pool volume, so a bigger pool always needs proportionally more acid to move pH the same amount. Total alkalinity also plays a role — high alkalinity makes pH resistant to change, requiring more acid to shift it.
Muriatic acid is a liquid (hydrochloric acid) that works fast and costs less per treatment. Dry acid (sodium bisulfate) is granular and easier to handle and store safely, though it’s generally a bit more expensive per equivalent dose.
No. Never mix pool chemicals together or add them at the same time. Add one at a time, run the pump to circulate, and wait the recommended retest window before adding the next chemical.
Wait until free chlorine drops back below 5 ppm before swimming, which typically takes 8-24 hours depending on how high you shocked and how much sunlight and circulation the pool gets. Always retest before getting in, regardless of how much time has passed.
Significantly. At a pH of 7.2, roughly 63% of free chlorine is in its active sanitizing form. At a pH of 8.0, that drops to around 21%, meaning a high-pH pool needs substantially more chlorine to achieve the same disinfection.
This is almost always a total alkalinity problem. If alkalinity is too low, pH swings wildly after every chemical addition or even rainfall. Stabilize alkalinity into the 80-120 ppm range first, and pH corrections will hold much better afterward.
For acid especially, it’s safer to add a partial dose, circulate, and retest rather than dumping the full calculated amount in one go — overcorrecting pH or alkalinity is harder to fix than gradually working toward the target.
Related Article: Pool Volume Calculator
Related Article: Pool Cost & Resurfacing Calculator

