# AWG Wire Gauge Calculator

> AWG Wire Gauge Calculator is a paid API for AI agents from electronics-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-25).

Returns AWG copper wire diameter, cross-sectional area, resistance per km, and optionally calculates voltage drop and power loss over a given run.

## Facts

- Endpoint: GET https://electronics-calc.x402tookit.com/wire-gauge?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/awg-wire-gauge-calculator-b98880f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2wdenVh1Bhf4kkAQSuM4n

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability awg-wire-gauge-calculator-b98880f7
```

Example prompt: What's the diameter and resistance per km of AWG 12 copper wire, and what would the voltage drop be over a 25-metre run carrying 10 amps from a 120V supply?

## When to prefer this

Use this endpoint when you need accurate copper wire properties (AWG lookup, area-to-AWG conversion, resistance) or need to calculate voltage drop and power loss for a DC or AC cable run. Prefer over manual lookup tables when an exact area-to-AWG match is needed or when voltage drop across a specific run length and current must be computed programmatically.

## Known failure modes

- AWG number out of range (-3 to 40) returns an error or null values
- Providing neither awg nor areaMm2 yields no wire properties
- Voltage drop fields null if currentA or lengthM not supplied
- supplyV omitted means voltageDropPct will be null even if voltageDropV is present

## How this service works

AWG copper wire: diameter, area and resistance per km, the nearest AWG for an area, and voltage drop over a run.

## Output

Returns AWG gauge, wire diameter in mm and inches, cross-sectional area in mm², copper resistance in Ω/km and Ω/1000ft. If length, current and supply voltage are provided, also returns loop length, loop resistance, voltage drop in volts and as a percentage, and power loss in watts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "awg": {
       "type": "integer",
       "description": "AWG number, -3 to 40 (use instead of areaMm2)"
      },
      "areaMm2": {
       "type": "number",
       "description": "Cross-section in mm2 to find the nearest AWG"
      },
      "lengthM": {
       "type": "number",
       "description": "One-way run length in metres for voltage drop"
      },
      "supplyV": {
       "type": "number",
       "description": "Supply volts to express the drop as a percentage"
      },
      "currentA": {
       "type": "number",
       "description": "Current in amps for voltage drop"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "awg": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "note": {},
      "basis": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "areaMm2": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "diameterMm": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "powerLossW": {
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/awg-wire-gauge-calculator-b98880f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from electronics-calc.x402tookit.com](https://www.zero.xyz/host/electronics-calc.x402tookit.com/llms.txt)
