# Electronics Calculators – Ohm's Law & Power

> Electronics Calculators – Ohm's Law & Power 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-26).

Given any two of voltage, current, resistance, and power, calculates all four values with engineering-unit formatting.

## Facts

- Endpoint: GET https://electronics-calc.x402tookit.com/ohms-law?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/electronics-calculators-ohm-s-law-power-9c6a586f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6tHHoel9b-j8fMzy0KieT

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 electronics-calculators-ohm-s-law-power-9c6a586f
```

Example prompt: I have a 220-ohm resistor with 5 volts across it — can you use Ohm's law to find the current flowing through it and the power it's dissipating?

## When to prefer this

Choose this endpoint when you need to solve any Ohm's law or electrical power equation given exactly two of the four fundamental quantities (V, I, R, P). It is purpose-built for electronics calculations and returns all four values plus engineering-formatted strings in one call, making it ideal for circuit design checks, component selection, and educational explanations — without requiring a general-purpose math or code-execution engine.

## Known failure modes

- Fewer than two query parameters provided — cannot solve the system with only one known
- Conflicting or physically impossible values (e.g. negative resistance) may produce null outputs or error reasons
- Zero-value inputs that cause division by zero are flagged in the reasons array
- Missing required 'input' wrapper causes schema validation error

## How this service works

Ohm's law and power: give any two of voltage, current, resistance and power and get all four, with engineering units.

## Output

Returns all four electrical quantities — voltage (V), current (A), resistance (Ω), and power (W) — computed from the two provided inputs, along with human-readable formatted strings using engineering units (e.g. '10 mA', '4.7 kΩ') and a summary string. May include a disclaimer about ideal/theoretical calculations.

## 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": {
      "power": {
       "type": "number",
       "description": "Watts"
      },
      "current": {
       "type": "number",
       "description": "Amps"
      },
      "voltage": {
       "type": "number",
       "description": "Volts"
      },
      "resistance": {
       "type": "number",
       "description": "Ohms"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "powerW": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "currentA": {
       "type": [
        "null",
        "number"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "voltageV": {
       "type": [
        "null",
        "number"
       ]
      },
      "formatted": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "power": {
         "type": [
          "null",
          "string"
         ]
        },
        "current": {
         "type": [
          "null",
          "string"
         ]
        },
        "voltage": {
         "type": [
          "null",
          "string"
         ]
        },
        "resistance": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/electronics-calculators-ohm-s-law-power-9c6a586f/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)
