{
  "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": "green-roof-retention-calculator",
  "category": "materials-quantities",
  "title": "Green Roof Vegetated Tray Rainwater Retention Calculator",
  "description": "Calculate the rainwater volume a green roof's vegetated trays retain before runoff, based on their retention depth.",
  "url": "https://craftquantities.com/calculators/materials-quantities/green-roof-retention-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/green-roof-retention-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/green-roof-retention-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Green Roof Vegetated Tray Rainwater Retention Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/green-roof-retention-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. Green Roof Vegetated Tray Rainwater Retention Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/green-roof-retention-calculator/",
      "apa": "Craft Quantities. (2026). Green Roof Vegetated Tray Rainwater Retention Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/green-roof-retention-calculator/",
      "harvard": "Craft Quantities (2026) Green Roof Vegetated Tray Rainwater Retention Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/green-roof-retention-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-green-roof-retention-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Green Roof Vegetated Tray Rainwater Retention Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/green-roof-retention-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "trayArea",
      "label": "Total Vegetated Tray Area",
      "type": "number",
      "dimension": "area",
      "defaultValue": 50,
      "min": 0.01,
      "max": 2000,
      "step": 5,
      "help": "The total plan area covered by modular green roof trays."
    },
    {
      "id": "retentionDepth",
      "label": "Rated Water Retention Depth",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.025,
      "min": 0.005,
      "max": 0.075,
      "step": 0.001,
      "help": "The manufacturer's rated water retention depth for the tray/media system."
    }
  ],
  "sources": [
    {
      "label": "Retained volume = tray area × the tray system's rated water retention depth, the standard method for estimating a modular green roof system's stormwater retention capacity"
    }
  ],
  "testCases": [
    {
      "name": "50m² trays, 25mm retention",
      "inputs": {
        "trayArea": 50,
        "retentionDepth": 0.025
      },
      "expected": 1250,
      "toleranceDecimalPlaces": 0,
      "unit": "L",
      "confidence": "medium",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "75m² trays, 30mm retention",
      "inputs": {
        "trayArea": 75,
        "retentionDepth": 0.03
      },
      "expected": 2250,
      "toleranceDecimalPlaces": 0,
      "unit": "L",
      "confidence": "medium",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
