{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "pool-ph-adjustment-calculator",
  "category": "pools-water",
  "title": "Pool pH Adjustment Calculator (Acid or Soda Ash)",
  "description": "How much muriatic acid, dry acid or soda ash moves a pool's pH to target, from alkalinity, stabiliser, temperature and TDS, and the alkalinity it leaves.",
  "url": "https://craftquantities.com/calculators/pools-water/pool-ph-adjustment-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/pool-ph-adjustment-calculator.json",
  "inputCount": 8,
  "testCaseCount": 5,
  "sourceCount": 4,
  "lastVerified": "2026-09-25",
  "citation": {
    "author": "Craft Quantities",
    "title": "Pool pH Adjustment Calculator (Acid or Soda Ash)",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-25",
    "url": "https://craftquantities.com/calculators/pools-water/pool-ph-adjustment-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Pool pH Adjustment Calculator (Acid or Soda Ash). Version 1.0.0. Sources checked 2026-09-25. https://craftquantities.com/calculators/pools-water/pool-ph-adjustment-calculator/",
      "apa": "Craft Quantities. (2026). Pool pH Adjustment Calculator (Acid or Soda Ash) (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/pools-water/pool-ph-adjustment-calculator/",
      "harvard": "Craft Quantities (2026) Pool pH Adjustment Calculator (Acid or Soda Ash) (Version 1.0.0). Available at: https://craftquantities.com/calculators/pools-water/pool-ph-adjustment-calculator/",
      "bibtex": "@misc{craftquantities-calculators-pools-water-pool-ph-adjustment-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Pool pH Adjustment Calculator (Acid or Soda Ash)},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/pools-water/pool-ph-adjustment-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "volume",
      "label": "Pool volume",
      "type": "number",
      "dimension": "volume",
      "defaultValue": 50000,
      "min": 500,
      "max": 5000000,
      "step": 500,
      "help": "Water volume, worked out from the pool's dimensions."
    },
    {
      "id": "currentPh",
      "label": "Current pH",
      "type": "number",
      "defaultValue": 7.8,
      "min": 6.5,
      "max": 9,
      "step": 0.1,
      "help": "A fresh reading, taken with the pump running."
    },
    {
      "id": "targetPh",
      "label": "Target pH",
      "type": "number",
      "defaultValue": 7.5,
      "min": 6.8,
      "max": 8.4,
      "step": 0.1,
      "help": "Where you want it. Salt cell makers ask for 7.2 to 7.8."
    },
    {
      "id": "totalAlkalinity",
      "label": "Total alkalinity (ppm)",
      "type": "number",
      "defaultValue": 100,
      "min": 20,
      "max": 300,
      "step": 5,
      "help": "A titrated reading, as the test kit reports it."
    },
    {
      "id": "cyanuricAcid",
      "label": "Cyanuric acid (ppm)",
      "type": "number",
      "defaultValue": 30,
      "min": 0,
      "max": 200,
      "step": 5,
      "help": "The stabiliser reading. Zero for an indoor or unstabilised pool."
    },
    {
      "id": "temperature",
      "label": "Water temperature",
      "type": "number",
      "dimension": "temperature",
      "defaultValue": 27,
      "min": 5,
      "max": 40,
      "step": 1,
      "help": "Moves the equilibrium constants; a spa's 38 °C (100 °F) is not a pool's 27 °C (81 °F)."
    },
    {
      "id": "tds",
      "label": "Total dissolved solids (ppm)",
      "type": "number",
      "defaultValue": 1000,
      "min": 0,
      "max": 10000,
      "step": 100,
      "help": "Include the salt in a salt-chlorinated pool."
    },
    {
      "id": "product",
      "label": "Product",
      "type": "select",
      "defaultValue": "muriatic",
      "options": [
        {
          "value": "muriatic",
          "label": "Muriatic acid, 31.45% — lowers pH"
        },
        {
          "value": "dryAcid",
          "label": "Dry acid / sodium bisulfate, 93% — lowers pH"
        },
        {
          "value": "sodaAsh",
          "label": "Soda ash / sodium carbonate — raises pH"
        }
      ],
      "help": "What you have. Two lower pH, one raises it."
    }
  ],
  "sources": [
    {
      "label": "Wojtowicz, J.A., The Carbonate System in Swimming Pool Water, Journal of the Swimming Pool and Spa Industry 4(1) (2001) 54-59: Davies activity coefficients with ionic strength 2.5 x 10^-5 x TDS; Plummer and Busenberg's temperature equations for K1 and K2; carbonate alkalinity CT(a1 + 2a2)",
      "url": "https://www.poolhelp.com/wp-content/uploads/2017/05/JSPSI_V4N1_pp54-59.pdf"
    },
    {
      "label": "Wojtowicz, J.A., Swimming Pool Water Balance Part 1: the effect of cyanuric acid and other interferences on carbonate alkalinity measurement, JSPSI 1(1) (1995) 7-13: the first ionisation constant of cyanuric acid, 1.47 x 10^-7 at 80 F and zero TDS; cyanurate is titrated as alkalinity",
      "url": "https://www.poolhelp.com/wp-content/uploads/2017/05/JSPSI_V1N1_pp07-13.pdf"
    },
    {
      "label": "Wojtowicz, J.A., Swimming Pool Water Buffer Chemistry, JSPSI 3(2): buffer intensity of 0.002 M bicarbonate and cyanurate at pH 7.5, 80 F and 1,000 ppm TDS is 12.9 and 30.4 ppm as CaCO3 per pH unit — the figures this page's model reproduces",
      "url": "https://www.poolhelp.com/wp-content/uploads/2017/05/JSPSI_V3N2_pp34-41.pdf"
    },
    {
      "label": "Doses by equivalents: hydrochloric acid 36.458 g per equivalent, taken as 31.45% HCl at a specific gravity of 1.16; sodium bisulfate 120.06 g per equivalent at 93.2%; sodium carbonate 105.99 g per mole, adding two equivalents of alkalinity and one mole of carbonate"
    }
  ],
  "testCases": [
    {
      "name": "50 m³ from pH 7.8 to 7.5 at 100 ppm alkalinity and 30 ppm stabiliser, with muriatic acid",
      "inputs": {
        "volume": 50000,
        "currentPh": 7.8,
        "targetPh": 7.5,
        "totalAlkalinity": 100,
        "cyanuricAcid": 30,
        "temperature": 27,
        "tds": 1000,
        "product": "muriatic"
      },
      "expected": 0.355051,
      "toleranceDecimalPlaces": 4,
      "unit": "litres",
      "confidence": "medium",
      "steps": [
        {
          "label": "The same, to measure out",
          "value": 12.005705377460252,
          "unit": "fl oz"
        },
        {
          "label": "Total alkalinity afterwards",
          "value": 96.44409644971685,
          "unit": "ppm"
        },
        {
          "label": "Carbonate alkalinity, stabiliser taken out",
          "value": 89.35744722762381,
          "unit": "ppm"
        },
        {
          "label": "Dissolved carbon dioxide now",
          "value": 2.3371399015661747,
          "unit": "ppm"
        },
        {
          "label": "Carbon dioxide aeration would drive off instead",
          "value": 0,
          "unit": "ppm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "The same change with dry acid",
      "inputs": {
        "volume": 50000,
        "currentPh": 7.8,
        "targetPh": 7.5,
        "totalAlkalinity": 100,
        "cyanuricAcid": 30,
        "temperature": 27,
        "tds": 1000,
        "product": "dryAcid"
      },
      "expected": 1.009005,
      "toleranceDecimalPlaces": 4,
      "unit": "lb",
      "confidence": "medium",
      "steps": [
        {
          "label": "Total alkalinity afterwards",
          "value": 96.44409644971685,
          "unit": "ppm"
        },
        {
          "label": "Carbonate alkalinity, stabiliser taken out",
          "value": 89.35744722762381,
          "unit": "ppm"
        },
        {
          "label": "Dissolved carbon dioxide now",
          "value": 2.3371399015661747,
          "unit": "ppm"
        },
        {
          "label": "Carbon dioxide aeration would drive off instead",
          "value": 0,
          "unit": "ppm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 3
    },
    {
      "name": "Raising 7.2 to 7.5 at 80 ppm alkalinity with soda ash",
      "inputs": {
        "volume": 50000,
        "currentPh": 7.2,
        "targetPh": 7.5,
        "totalAlkalinity": 80,
        "cyanuricAcid": 30,
        "temperature": 27,
        "tds": 1000,
        "product": "sodaAsh"
      },
      "expected": 1.203857,
      "toleranceDecimalPlaces": 4,
      "unit": "lb",
      "confidence": "medium",
      "steps": [
        {
          "label": "Total alkalinity afterwards",
          "value": 90.31285552053755,
          "unit": "ppm"
        },
        {
          "label": "Carbonate alkalinity, stabiliser taken out",
          "value": 71.50961242555984,
          "unit": "ppm"
        },
        {
          "label": "Dissolved carbon dioxide now",
          "value": 7.499406043394248,
          "unit": "ppm"
        },
        {
          "label": "Carbon dioxide aeration would drive off instead",
          "value": 5.053793240550589,
          "unit": "ppm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 3
    },
    {
      "name": "10,000 US gallons, no stabiliser, 7.8 to 7.4 at 25 °C",
      "inputs": {
        "volume": 37854.11784,
        "currentPh": 7.8,
        "targetPh": 7.4,
        "totalAlkalinity": 100,
        "cyanuricAcid": 0,
        "temperature": 25,
        "tds": 1000,
        "product": "muriatic"
      },
      "expected": 0.34609,
      "toleranceDecimalPlaces": 4,
      "unit": "litres",
      "confidence": "medium",
      "steps": [
        {
          "label": "The same, to measure out",
          "value": 11.702680557031849,
          "unit": "fl oz"
        },
        {
          "label": "Total alkalinity afterwards",
          "value": 95.42169716194375,
          "unit": "ppm"
        },
        {
          "label": "Carbonate alkalinity, stabiliser taken out",
          "value": 99.99999999999999,
          "unit": "ppm"
        },
        {
          "label": "Dissolved carbon dioxide now",
          "value": 2.678681231351494,
          "unit": "ppm"
        },
        {
          "label": "Carbon dioxide aeration would drive off instead",
          "value": 0,
          "unit": "ppm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Soda ash cannot lower pH, and says so",
      "inputs": {
        "volume": 50000,
        "currentPh": 7.8,
        "targetPh": 7.5,
        "totalAlkalinity": 100,
        "cyanuricAcid": 30,
        "temperature": 27,
        "tds": 1000,
        "product": "sodaAsh"
      },
      "expected": 0,
      "toleranceDecimalPlaces": 3,
      "unit": "lb",
      "confidence": "medium",
      "steps": [
        {
          "label": "Total alkalinity afterwards",
          "value": 99.99999999999999,
          "unit": "ppm"
        },
        {
          "label": "Carbonate alkalinity, stabiliser taken out",
          "value": 89.35744722762381,
          "unit": "ppm"
        },
        {
          "label": "Dissolved carbon dioxide now",
          "value": 2.3371399015661747,
          "unit": "ppm"
        },
        {
          "label": "Carbon dioxide aeration would drive off instead",
          "value": 0,
          "unit": "ppm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ]
}
