Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Math & Numbers

Duct Size Calculator (Flow Rate × Velocity)

Size a duct cross-section from the air flow rate Q and the design mean velocity v: area A = Q/v. Circular duct diameter D = √(4A/π). Rectangular duct with aspect ratio r = a/b gives b = √(A/r) and a = r·b, plus the ASHRAE equivalent diameter D_eq = 1.30·(a·b)^0.625/(a+b)^0.25. Flow rate in m³/s/m³/h/CFM, velocity in m/s; dimensions reported in mm and inches.

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/duct-size-calculator' \
  -H 'Content-Type: application/json' \
  -d '{"shape":"rectangular","flowRate":1000,"flowUnit":"m3/h","velocity":4,"aspectRatio":2,"decimalPlaces":2}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/duct-size-calculator

Parameters

NameTypeRequiredDescription
shapeselectNoDuct cross-section shape: Rectangular or Circular.
flowRatenumberYesVolumetric air flow rate Q. Enter in the selected Flow Unit.
flowUnitselectNo—
velocitynumberYesDesign mean air velocity v in m/s. Typical: low-pressure 3–5 m/s, main 6–8 m/s.
aspectRationumberNo

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-duct-size-calculator": {
      "name": "duct-size-calculator",
      "description": "Size a duct cross-section from the air flow rate Q and the design mean velocity v: area A = Q/v. Circular duct diameter D = √(4A/π). Rectangular duct with aspect ratio r = a/b gives b = √(A/r) and a = r·b, plus the ASHRAE equivalent diameter D_eq = 1.30·(a·b)^0.625/(a+b)^0.25. Flow rate in m³/s/m³/h/CFM, velocity in m/s; dimensions reported in mm and inches.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=duct-size-calculator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "duct-size-calculator",
    "arguments": {
  "shape": "rectangular",
  "flowRate": 1000,
  "flowUnit": "m3/h",
  "velocity": 4,
  "aspectRatio": 2,
  "decimalPlaces": 2
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
Rectangular duct aspect ratio r = a/b (long side over short side). Used only when Duct Shape = Rectangular. Typical 1–4. Default 2.
decimalPlacesnumberNo—

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}

Questions or issues? Contact [email protected]