Free pool chemical calculator widget for your website
Put a dosing calculator on your own page: your readers enter their pool's size, test readings and targets, and get a list of how much of each product to add, in the order health departments publish.
Live preview
This is the widget itself, running exactly as it will on your page.
Add it to your site
Copy the code below and paste it into an HTML block on your page (in WordPress, use a Custom HTML block; in Squarespace or Wix, an embed or code block). It is one frame and one line of credit. Nothing else loads on your page.
Who it is for
Pool supply stores, pool service and cleaning companies, hot tub and pool builders, homeowner associations with a community pool page, and pool care bloggers all field the same question after a water test: how much do I add? The widget answers it on your own page, for the reader's own pool, so customers can work out a dose before they come to the counter or between service visits.
What it does
The reader enters the pool's volume in gallons, the current readings for free chlorine, total alkalinity, pH, cyanuric acid (stabilizer) and calcium hardness, and a target for each. They pick the product they use for each step, such as liquid chlorine, dichlor, trichlor or cal-hypo for chlorine, and enter the strength printed on its label. The widget returns one dosing list. It adds chlorine first, then alkalinity, pH, stabilizer and hardness, the order of addition the Indiana Department of Health publishes, and it counts what each chlorine product carries into the water before sizing the later steps. Dichlor and trichlor add stabilizer and cal-hypo adds calcium, so a reading that is already high is lowered by draining and refilling rather than by adding more of something.
The list ends with the safety notes that matter for the products chosen: never mix chemicals, add chemicals to water rather than water to chemicals, and follow the product label, which is the legal instruction for that product.
Where the numbers come from
Dose rates come from health department adjustment charts, the CDC's Model Aquatic Health Code (a public-pool code) and its annex (guidance for public pools), Pool and Hot Tub Alliance product bulletins, product labels and safety data sheets, and molecular weights from PubChem; every source is listed below. The full calculator page explains each step with a worked example, and the methodology page explains how the figures are checked against those sources by automated tests.
Terms
The widget is free for any site, commercial or not. We ask only that you keep the credit line under the frame as it is. The widget carries no ads and sets no tracking cookies; we count how often it loads, as we do for our own pages (see the privacy policy). The results are a guide based on published charts, not a substitute for the label on the product your customer buys or for a professional's water test.
Prefer a link? Send readers to the pool chemical calculator, the shock calculator or the ideal chemical levels chart. Questions or a problem with the widget: contact Pool Chemical Log.
Sources
- Indiana Department of Health, Adjusting Chemical Levels in a Swimming Pool in.gov
- CDC, Home Pool and Hot Tub Water Treatment and Testing cdc.gov
- CDC, Model Aquatic Health Code, 2024 (5th edition): Code, a public-pool code cdc.gov
- CDC, Model Aquatic Health Code, 2024 (5th edition): Annex, guidance for public pools cdc.gov
- PHTA, Dichlor technical bulletin phta.org
- PHTA, Calcium Hypochlorite fact sheet phta.org
- Toledo-Lucas County Health Department, Adjusting Pool Water Chemistry lucascountyhealth.com
- Michigan State University Extension, Swimming Pool Pest Management, Category 5A manual canr.msu.edu
- HASA, Calcium Chloride SDS (2026) hasa.com
- EPA Reg. No. 7124-31, dichlor dihydrate label (2004) www3.epa.gov
- PubChem (NIH), compound molecular weights pubchem.ncbi.nlm.nih.gov