PCB Trace Width Calculator · Schema

Raw schema.

Same JSON the GET /v1/pcb-design/pcb-trace-width/schema endpoint returns — formatted for reading. Use it to codegen typed clients or document the contract.

pcb-trace-width.schema.json
{
  "tool": "pcb-trace-width",
  "domain": "pcb-design",
  "version": "1.0.0",
  "name": "PCB Trace Width Calculator",
  "description": "IPC-2221 compliant trace width for a given current, temperature rise, copper weight, and layer position. Returns width in millimetres and mils plus cross-sectional area.",
  "standard": "IPC-2221",
  "inputs": [
    {
      "key": "current_a",
      "label": "Current",
      "required": true,
      "unit": "A",
      "placeholder": "e.g. 3.5",
      "type": "number",
      "min": 0.001,
      "max": 100,
      "step": 0.1,
      "default": 3.5
    },
    {
      "key": "temp_rise_c",
      "label": "Temperature Rise",
      "required": true,
      "unit": "°C",
      "placeholder": "10 is typical",
      "type": "number",
      "min": 1,
      "max": 100,
      "step": 1,
      "default": 10
    },
    {
      "key": "copper_weight_oz",
      "label": "Copper Weight",
      "required": true,
      "unit": "oz/ft²",
      "help": "1 oz/ft² ≈ 1.378 mil thick",
      "type": "number",
      "min": 0.25,
      "max": 6,
      "step": 0.25,
      "default": 1
    },
    {
      "key": "layer",
      "label": "Layer",
      "help": "Inner-layer traces dissipate heat worse — use ~half the constant.",
      "type": "enum",
      "options": [
        "outer",
        "inner"
      ],
      "default": "outer"
    }
  ],
  "outputs": [
    {
      "key": "trace_width_mm",
      "label": "Trace Width",
      "type": "number",
      "unit": "mm",
      "precision": 3
    },
    {
      "key": "trace_width_mil",
      "label": "Trace Width",
      "type": "number",
      "unit": "mil",
      "precision": 1
    },
    {
      "key": "cross_section_mil2",
      "label": "Cross-Section",
      "type": "number",
      "unit": "mil²",
      "precision": 2
    },
    {
      "key": "thickness_mil",
      "label": "Copper Thickness",
      "type": "number",
      "unit": "mil",
      "precision": 3
    },
    {
      "key": "standard",
      "label": "Standard",
      "type": "string"
    }
  ],
  "endpoint": "/v1/pcb-design/pcb-trace-width"
}