{
  "title": "Rainfall collection calculator",
  "human_url": "https://happytails.ai/en/calculators/rainfall-collection-calculator/",
  "agent_url": "https://happytails.ai/agents/en/calculators/rainfall-collection-calculator/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/rainfall-collection-calculator.md",
  "content": "Rainfall collection calculator\nEstimate recoverable rainwater, tank storage and overflow for one rainfall event.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Rainfall collection calculator\nEnter your measured quantities, units and assumptions.\nReview the calculated result and the stated limits.\nDownload the report or plan for your project.\nUseful next steps\nGarden irrigation calculator\nPond volume calculator\nMeasure projected catchment area\nUse the horizontal projected area and rainfall depth for the same event. Enter your collection efficiency and the first-flush volume you plan to discard.\nCheck the tank balance\nSubtract the water already in the tank from its capacity. The result separates rain on the catchment, recoverable water, newly stored water and overflow.\nSave the measurements and assumptions\nDownload CSV and a text or JSON report. The calculation runs on your device. Changing a unit keeps the number you entered, so check both before using the result.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Garden irrigation calculator",
      "url": "https://happytails.ai/en/calculators/garden-irrigation-calculator/"
    },
    {
      "name": "Pond volume calculator",
      "url": "https://happytails.ai/en/calculators/pond-volume-calculator/"
    }
  ],
  "tool": {
    "id": "rainfall-collection-calculator",
    "category": "calculators",
    "built": true,
    "requirements": "One event with no water use during rainfall. Efficiency and first flush are supplied assumptions. No forecast, plumbing design or drinking-water suitability is implied.",
    "implementation": {
      "fields": [
        {
          "key": "area",
          "label": "Horizontal projected catchment area",
          "value": 100,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "areaUnit",
          "label": "Area unit",
          "value": "m²",
          "type": "select",
          "values": [
            "m²",
            "ft²",
            "yd²",
            "acre",
            "hectare"
          ]
        },
        {
          "key": "rainfall",
          "label": "Rain depth in this event",
          "value": 20,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "depthUnit",
          "label": "Water depth unit",
          "value": "mm",
          "type": "select",
          "values": [
            "mm",
            "cm",
            "m",
            "in",
            "ft"
          ]
        },
        {
          "key": "efficiency",
          "label": "Collection efficiency before first flush (%)",
          "value": 80,
          "type": "number",
          "min": 0,
          "max": 100,
          "step": "any"
        },
        {
          "key": "firstFlush",
          "label": "First-flush volume discarded",
          "value": 50,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "tankCapacity",
          "label": "Tank capacity",
          "value": 1500,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "tankExisting",
          "label": "Water already in tank",
          "value": 200,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "volumeUnit",
          "label": "Volume unit",
          "value": "L",
          "type": "select",
          "values": [
            "L",
            "m³",
            "US gal",
            "Imp gal",
            "ft³",
            "yd³"
          ]
        }
      ],
      "input": false,
      "background": false,
      "live": true,
      "presentation": "metrics",
      "note": "Calculate one event’s potential runoff, first-flush loss, new storage and overflow. Assumes no water use during the event and makes no potability claim. Runs on your device. Changing units keeps the entered numbers.",
      "experience": {
        "automatic": true,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
        "action": null
      },
      "mode": "automatic",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Rainfall collection calculator\n\n- Human page: https://happytails.ai/en/calculators/rainfall-collection-calculator/\n- Markdown: https://happytails.ai/en/calculators/rainfall-collection-calculator.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/rainfall-collection-calculator/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `rainfall-collection-calculator` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Automatic updates after valid input or file selection. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nCalculate one event’s potential runoff, first-flush loss, new storage and overflow. Assumes no water use during the event and makes no potability claim. Runs on your device. Changing units keeps the entered numbers.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `area` | Horizontal projected catchment area | number | 100 | min=0 max=1000000000 step=any |\n| `areaUnit` | Area unit | select | \"m²\" | Allowed: m², ft², yd², acre, hectare |\n| `rainfall` | Rain depth in this event | number | 20 | min=0 max=1000000000 step=any |\n| `depthUnit` | Water depth unit | select | \"mm\" | Allowed: mm, cm, m, in, ft |\n| `efficiency` | Collection efficiency before first flush (%) | number | 80 | min=0 max=100 step=any |\n| `firstFlush` | First-flush volume discarded | number | 50 | min=0 max=1000000000 step=any |\n| `tankCapacity` | Tank capacity | number | 1500 | min=0 max=1000000000 step=any |\n| `tankExisting` | Water already in tank | number | 200 | min=0 max=1000000000 step=any |\n| `volumeUnit` | Volume unit | select | \"L\" | Allowed: L, m³, US gal, Imp gal, ft³, yd³ |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nOne event with no water use during rainfall. Efficiency and first flush are supplied assumptions. No forecast, plumbing design or drinking-water suitability is implied.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"rainfall-collection-calculator\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"One event with no water use during rainfall. Efficiency and first flush are supplied assumptions. No forecast, plumbing design or drinking-water suitability is implied.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"area\",\n        \"label\": \"Horizontal projected catchment area\",\n        \"value\": 100,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"areaUnit\",\n        \"label\": \"Area unit\",\n        \"value\": \"m²\",\n        \"type\": \"select\",\n        \"values\": [\n          \"m²\",\n          \"ft²\",\n          \"yd²\",\n          \"acre\",\n          \"hectare\"\n        ]\n      },\n      {\n        \"key\": \"rainfall\",\n        \"label\": \"Rain depth in this event\",\n        \"value\": 20,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"depthUnit\",\n        \"label\": \"Water depth unit\",\n        \"value\": \"mm\",\n        \"type\": \"select\",\n        \"values\": [\n          \"mm\",\n          \"cm\",\n          \"m\",\n          \"in\",\n          \"ft\"\n        ]\n      },\n      {\n        \"key\": \"efficiency\",\n        \"label\": \"Collection efficiency before first flush (%)\",\n        \"value\": 80,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 100,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"firstFlush\",\n        \"label\": \"First-flush volume discarded\",\n        \"value\": 50,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"tankCapacity\",\n        \"label\": \"Tank capacity\",\n        \"value\": 1500,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"tankExisting\",\n        \"label\": \"Water already in tank\",\n        \"value\": 200,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"volumeUnit\",\n        \"label\": \"Volume unit\",\n        \"value\": \"L\",\n        \"type\": \"select\",\n        \"values\": [\n          \"L\",\n          \"m³\",\n          \"US gal\",\n          \"Imp gal\",\n          \"ft³\",\n          \"yd³\"\n        ]\n      }\n    ],\n    \"input\": false,\n    \"background\": false,\n    \"live\": true,\n    \"presentation\": \"metrics\",\n    \"note\": \"Calculate one event’s potential runoff, first-flush loss, new storage and overflow. Assumes no water use during the event and makes no potability claim. Runs on your device. Changing units keeps the entered numbers.\",\n    \"experience\": {\n      \"automatic\": true,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\",\n      \"action\": null\n    },\n    \"mode\": \"automatic\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nEstimate recoverable rainwater, tank storage and overflow for one rainfall event.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Rainfall collection calculator\n\n1. Enter your measured quantities, units and assumptions.\n2. Review the calculated result and the stated limits.\n3. Download the report or plan for your project.\n\n## Useful next steps\n\n- [Garden irrigation calculator](https://happytails.ai/en/calculators/garden-irrigation-calculator/) ([Markdown](https://happytails.ai/en/calculators/garden-irrigation-calculator.md))\n\n- [Pond volume calculator](https://happytails.ai/en/calculators/pond-volume-calculator/) ([Markdown](https://happytails.ai/en/calculators/pond-volume-calculator.md))\n\n## Measure projected catchment area\n\nUse the horizontal projected area and rainfall depth for the same event. Enter your collection efficiency and the first-flush volume you plan to discard.\n\n### Check the tank balance\n\nSubtract the water already in the tank from its capacity. The result separates rain on the catchment, recoverable water, newly stored water and overflow.\n\n### Save the measurements and assumptions\n\nDownload CSV and a text or JSON report. The calculation runs on your device. Changing a unit keeps the number you entered, so check both before using the result.\n"
}