{
  "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": "french-drain-calculator",
  "category": "auto-utility",
  "title": "French Drain Gravel Calculator",
  "description": "Estimate the gravel backfill a French drain trench needs, in cubic yards or cubic metres, net of the drain pipe's own volume.",
  "url": "https://craftquantities.com/calculators/auto-utility/french-drain-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/french-drain-calculator.json",
  "inputCount": 4,
  "testCaseCount": 2,
  "sourceCount": 2,
  "lastVerified": "2026-09-02",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/auto-utility/french-drain-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "French Drain Gravel Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-02",
    "url": "https://craftquantities.com/calculators/auto-utility/french-drain-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. French Drain Gravel Calculator. Version 1.0.1. Sources checked 2026-09-02. https://craftquantities.com/calculators/auto-utility/french-drain-calculator/",
      "apa": "Craft Quantities. (2026). French Drain Gravel Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/auto-utility/french-drain-calculator/",
      "harvard": "Craft Quantities (2026) French Drain Gravel Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/auto-utility/french-drain-calculator/",
      "bibtex": "@misc{craftquantities-calculators-auto-utility-french-drain-calculator,\n  author       = {{Craft Quantities}},\n  title        = {French Drain Gravel Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/auto-utility/french-drain-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "trenchLength",
      "label": "Trench Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 15,
      "min": 0.01,
      "max": 200,
      "step": 0.5,
      "help": "The total length of the drain trench."
    },
    {
      "id": "trenchWidth",
      "label": "Trench Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.3,
      "min": 0.01,
      "max": 0.9,
      "step": 0.01,
      "help": "The width of the trench, typically wide enough to work in comfortably."
    },
    {
      "id": "trenchDepth",
      "label": "Trench Depth",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.46,
      "min": 0.01,
      "max": 1.2,
      "step": 0.01,
      "help": "The depth of the trench, below the frost line in cold climates if the drain must run year-round."
    },
    {
      "id": "pipeDiameter",
      "label": "Drain Pipe Diameter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.1,
      "min": 0.01,
      "max": 0.2,
      "step": 0.01,
      "help": "The outer diameter of the perforated drain pipe."
    }
  ],
  "sources": [
    {
      "label": "Trench volume = length x width x depth; the perforated pipe's own volume (length x pi x radius²) is subtracted since gravel doesn't fill the space the pipe itself occupies"
    },
    {
      "label": "10% waste is standard for gravel to account for trench irregularities and settling"
    }
  ],
  "testCases": [
    {
      "name": "15m trench, 0.3x0.46m, 4in pipe",
      "inputs": {
        "trenchLength": 15,
        "trenchWidth": 0.3,
        "trenchDepth": 0.46,
        "pipeDiameter": 0.1
      },
      "expected": 2.809,
      "toleranceDecimalPlaces": 2,
      "unit": "yd³",
      "confidence": "high",
      "steps": [
        {
          "label": "Trench volume",
          "value": 2.7074577819807923,
          "unit": "yd³"
        },
        {
          "label": "Pipe volume (subtracted)",
          "value": 0.1540893021336118,
          "unit": "yd³"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "30m trench, 0.3x0.6m, 4in pipe",
      "inputs": {
        "trenchLength": 30,
        "trenchWidth": 0.3,
        "trenchDepth": 0.6,
        "pipeDiameter": 0.1
      },
      "expected": 7.43,
      "toleranceDecimalPlaces": 0.3,
      "unit": "yd³",
      "confidence": "high",
      "steps": [
        {
          "label": "Trench volume",
          "value": 7.062933344297717,
          "unit": "yd³"
        },
        {
          "label": "Pipe volume (subtracted)",
          "value": 0.3081786042672236,
          "unit": "yd³"
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
