# Electrical Calculators – Wire Resistance

> Electrical Calculators – Wire Resistance is a paid API for AI agents from electrical-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Calculates wire resistance using R = ρL/A for copper or aluminium at a given temperature, or corrects a known resistance to a new temperature.

## Facts

- Endpoint: GET https://electrical-calc.x402tookit.com/wire-resistance?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/electrical-calculators-wire-resistance-5058d1f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1inPyHkVi_QrjrBZ1ZkWf

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 electrical-calculators-wire-resistance-5058d1f0
```

Example prompt: What's the resistance of 75 metres of 14 AWG copper wire at 40°C?

## When to prefer this

Use this endpoint when you need a precise, physics-based wire resistance calculation (R = ρL/A) for copper or aluminium, with correct temperature adjustment via the standard alpha coefficient formula. Prefer it over voltage-drop endpoints when you need the raw resistance value rather than voltage drop, and over general-purpose calculators when you need material-specific resistivity constants and temperature correction in one call.

## Known failure modes

- Missing required 'material' parameter returns validation error
- Providing neither 'awg' nor 'sizeMm2' causes missing-geometry error
- Invalid AWG string (e.g. non-standard gauge) may return an error or null area
- Providing only geometry fields without length returns partial result (no total resistance)
- Extreme temperatures outside physical model range may yield unreliable results

## How this service works

Wire resistance R = rho L / A for copper or aluminium at a temperature, or correct a known resistance to a new temperature.

## Output

Returns computed resistance in ohms for the specified geometry and temperature, plus supporting values: conductor cross-section in mm², resistivity at 20°C, temperature coefficient (alpha), a human-readable summary, and a disclaimer. For temperature-correction mode, returns the corrected resistance and the temperatures used.

## 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": [
      "material"
     ],
     "properties": {
      "awg": {
       "type": "string",
       "description": "American wire gauge such as 14 or 2/0 (or send sizeMm2)"
      },
      "lengthM": {
       "type": "number",
       "description": "Wire length in metres (with sizeMm2 or awg), for R = rho L / A"
      },
      "sizeMm2": {
       "type": "number",
       "description": "Conductor cross-section in mm2 (or send awg)"
      },
      "material": {
       "type": "string",
       "description": "copper or aluminium"
      },
      "temperatureC": {
       "type": "number",
       "description": "Wire temperature in degrees C for the geometry result (default 20)"
      },
      "resistanceOhm": {
       "type": "number",
       "description": "Known resistance in ohms at fromTemperatureC, to correct to toTemperatureC"
      },
      "toTemperatureC": {
       "type": "number",
       "description": "Temperature in degrees C to correct resistanceOhm to"
      },
      "fromTemperatureC": {
       "type": "number",
       "description": "Temperature in degrees C at which resistanceOhm was measured (default 20)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "areaMm2": {
       "type": [
        "null",
        "number"
       ]
      },
      "lengthM": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/electrical-calculators-wire-resistance-5058d1f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from electrical-calc.x402tookit.com](https://www.zero.xyz/host/electrical-calc.x402tookit.com/llms.txt)
