{
  "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-drain-refill-calculator",
  "category": "pools-water",
  "title": "Pool Partial Drain and Refill Calculator",
  "description": "How much water to drain and refill to bring stabiliser, salt or calcium down to target, counting your fill water's level, and how far the water line drops.",
  "url": "https://craftquantities.com/calculators/pools-water/pool-drain-refill-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/pool-drain-refill-calculator.json",
  "inputCount": 5,
  "testCaseCount": 4,
  "sourceCount": 3,
  "lastVerified": "2026-09-25",
  "citation": {
    "author": "Craft Quantities",
    "title": "Pool Partial Drain and Refill Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-25",
    "url": "https://craftquantities.com/calculators/pools-water/pool-drain-refill-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 Partial Drain and Refill Calculator. Version 1.0.0. Sources checked 2026-09-25. https://craftquantities.com/calculators/pools-water/pool-drain-refill-calculator/",
      "apa": "Craft Quantities. (2026). Pool Partial Drain and Refill Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/pools-water/pool-drain-refill-calculator/",
      "harvard": "Craft Quantities (2026) Pool Partial Drain and Refill Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/pools-water/pool-drain-refill-calculator/",
      "bibtex": "@misc{craftquantities-calculators-pools-water-pool-drain-refill-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Pool Partial Drain and Refill Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/pools-water/pool-drain-refill-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "volume",
      "label": "Pool volume",
      "type": "number",
      "dimension": "volume",
      "defaultValue": 75000,
      "min": 500,
      "max": 5000000,
      "step": 500,
      "help": "Water volume, worked out from the pool's dimensions."
    },
    {
      "id": "currentLevel",
      "label": "Current level (ppm)",
      "type": "number",
      "defaultValue": 120,
      "min": 0,
      "max": 10000,
      "step": 5,
      "help": "The reading that is too high: stabiliser, salt or calcium."
    },
    {
      "id": "targetLevel",
      "label": "Target level (ppm)",
      "type": "number",
      "defaultValue": 80,
      "min": 0,
      "max": 10000,
      "step": 5,
      "help": "Where you want the same figure to end up."
    },
    {
      "id": "fillLevel",
      "label": "Fill water level (ppm)",
      "type": "number",
      "defaultValue": 0,
      "min": 0,
      "max": 10000,
      "step": 5,
      "help": "The same figure in the water you refill with. Test it."
    },
    {
      "id": "surfaceArea",
      "label": "Water surface area",
      "type": "number",
      "dimension": "area",
      "defaultValue": 50,
      "min": 1,
      "max": 5000,
      "step": 1,
      "help": "Length times width at the water line. Used only for how far the level drops."
    }
  ],
  "sources": [
    {
      "label": "Dilution by replacement is a mass balance: draining a share f and refilling with water at level F takes a pool from C to (1 - f)C + fF, so f = (C - T) / (C - F); replacing water continuously, perfectly mixed, needs V x ln((C - F) / (T - F)) of fill water instead"
    },
    {
      "label": "Hayward AquaRite Operation and Installation Manual: the only way to lower the salt concentration is to partially drain the pool and refill with fresh water; salt is lost only with water leaving the pool, not to evaporation",
      "url": "https://hayward.com/media/wysiwyg/pdf/aqua_rite_product_manual.pdf"
    },
    {
      "label": "CDC Model Aquatic Health Code, 2023, 5.7.3.1.3.2: the CYA level at all aquatic venues shall remain at or below 90 ppm — a limit that, once exceeded, is met by replacing water",
      "url": "https://www.cdc.gov/model-aquatic-health-code/media/pdfs/2023-MAHC-508.pdf"
    }
  ],
  "testCases": [
    {
      "name": "Stabiliser from 120 to 80 ppm with clean fill water: a third of 75 m³",
      "inputs": {
        "volume": 75000,
        "currentLevel": 120,
        "targetLevel": 80,
        "fillLevel": 0,
        "surfaceArea": 50
      },
      "expected": 6604.3,
      "toleranceDecimalPlaces": 1,
      "unit": "gallons",
      "confidence": "high",
      "steps": [
        {
          "label": "Share of the pool to replace",
          "value": 33.33333333333333,
          "unit": "%"
        },
        {
          "label": "Share for each of two equal stages",
          "value": 18.350341907227396,
          "unit": "%"
        },
        {
          "label": "Extra water if drained and filled at once",
          "value": 21.639532432449315,
          "unit": "%"
        },
        {
          "label": "Level drop over the surface",
          "value": 19.68503937007874,
          "unit": "in"
        },
        {
          "label": "Water used if drained and filled at once",
          "value": 8033.441232641423,
          "unit": "gallons"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Calcium from 450 to 300 with fill water at 150: half the pool",
      "inputs": {
        "volume": 75000,
        "currentLevel": 450,
        "targetLevel": 300,
        "fillLevel": 150,
        "surfaceArea": 50
      },
      "expected": 9906.45,
      "toleranceDecimalPlaces": 1,
      "unit": "gallons",
      "confidence": "high",
      "steps": [
        {
          "label": "Share of the pool to replace",
          "value": 50,
          "unit": "%"
        },
        {
          "label": "Share for each of two equal stages",
          "value": 29.28932188134524,
          "unit": "%"
        },
        {
          "label": "Extra water if drained and filled at once",
          "value": 38.62943611198906,
          "unit": "%"
        },
        {
          "label": "Level drop over the surface",
          "value": 29.52755905511811,
          "unit": "in"
        },
        {
          "label": "Water used if drained and filled at once",
          "value": 13733.258495608863,
          "unit": "gallons"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Fill water at the target: draining cannot reach it",
      "inputs": {
        "volume": 75000,
        "currentLevel": 450,
        "targetLevel": 300,
        "fillLevel": 300,
        "surfaceArea": 50
      },
      "expected": 0,
      "toleranceDecimalPlaces": 3,
      "unit": "gallons",
      "confidence": "high",
      "steps": [
        {
          "label": "Share of the pool to replace",
          "value": 0,
          "unit": "%"
        },
        {
          "label": "Share for each of two equal stages",
          "value": 0,
          "unit": "%"
        },
        {
          "label": "Extra water if drained and filled at once",
          "value": 0,
          "unit": "%"
        },
        {
          "label": "Level drop over the surface",
          "value": 0,
          "unit": "in"
        },
        {
          "label": "Water used if drained and filled at once",
          "value": 0,
          "unit": "gallons"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Salt from 4,000 to 3,200 ppm: a fifth, the manual's only remedy",
      "inputs": {
        "volume": 75000,
        "currentLevel": 4000,
        "targetLevel": 3200,
        "fillLevel": 0,
        "surfaceArea": 50
      },
      "expected": 3962.58,
      "toleranceDecimalPlaces": 1,
      "unit": "gallons",
      "confidence": "high",
      "steps": [
        {
          "label": "Share of the pool to replace",
          "value": 20,
          "unit": "%"
        },
        {
          "label": "Share for each of two equal stages",
          "value": 10.557280900008415,
          "unit": "%"
        },
        {
          "label": "Extra water if drained and filled at once",
          "value": 11.571775657104876,
          "unit": "%"
        },
        {
          "label": "Level drop over the surface",
          "value": 11.811023622047244,
          "unit": "in"
        },
        {
          "label": "Water used if drained and filled at once",
          "value": 4421.121744087045,
          "unit": "gallons"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    }
  ]
}
