Pool chemical dose
chemical_doseUse this when someone asks how much of a pool chemical to add to go from a current to a target level: chlorine (liquid chlorine 12.5 %, bleach 10 % or 6 %, cal-hypo 65 % or 73 %, dichlor, trichlor) for free chlorine; salt for a salt chlorinator; baking soda to raise or muriatic acid to lower total alkalinity; stabilizer (cyanuric acid); calcium chloride for calcium hardness; muriatic acid to lower pH or soda ash to raise it. Levels in ppm (pH for the pH chemicals). Returns the amount in fl oz, oz or lb, a readable amount, the number of common packages, the factor used and a safety line. Not for shock targets or water-balance (LSI) questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target level in the same unit as current. | |
| current | Yes | Current level: ppm (free chlorine, salt, alkalinity, stabilizer, calcium hardness) or pH for muriatic_acid_ph and soda_ash. | |
| gallons | Yes | Pool volume in US gallons (from pool_volume if the user gave dimensions). | |
| chemical | Yes | Product. muriatic_acid_ph lowers pH, muriatic_acid_ta lowers total alkalinity. | |
| total_alkalinity | No | Only for muriatic_acid_ph and soda_ash: current TA in ppm (default 100); the pH dose scales with it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Page of calculatepool.com for the same calculation. | |
| note | Yes | ||
| unit | Yes | ||
| amount | Yes | ||
| factor | Yes | ||
| safety | Yes | ||
| target | Yes | ||
| current | Yes | ||
| gallons | Yes | ||
| product | Yes | ||
| chemical | Yes | ||
| packages | Yes | ||
| direction | Yes | ||
| parameter | Yes | ||
| amount_text | Yes | ||
| total_alkalinity | No |