# Electronics Calculators – Decibel Converter

> Electronics Calculators – Decibel Converter 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).

Converts between decibels and linear ratios (power or voltage/amplitude) and between dBm and milliwatts/watts.

## Facts

- Endpoint: GET https://electronics-calc.x402tookit.com/decibels?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-decibel-converter-14496a8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HsjWWTYu4fjB_tOPZ8MBB

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-decibel-converter-14496a8d
```

Example prompt: What is a power ratio of 100 in decibels, and also convert 23 dBm to milliwatts and watts?

## When to prefer this

Use this endpoint when you need precise mathematical decibel conversions — ratio-to-dB, dB-to-ratio, dBm-to-mW/W, or mW-to-dBm — especially when you need to distinguish between power (10 log) and amplitude/voltage (20 log) conventions. Prefer this over general-purpose calculators when working in RF, audio, or telecom contexts where dBm is a native unit.

## Known failure modes

- Missing required input parameter (no ratio, db, dbm, or milliwatts provided) — returns an error or null results
- Invalid kind parameter (not 'power' or 'amplitude') — may default to power or return an error
- Non-numeric input for numeric fields — schema validation failure
- Providing conflicting parameters simultaneously — undefined behavior or first-match logic

## How this service works

Decibel conversions: power or voltage ratio to dB and back, and dBm to milliwatts and watts and back.

## Output

Returns the computed dB value, linear ratio, dBm, milliwatts and/or watts depending on the conversion requested, along with a summary string, the kind of conversion (power or amplitude), and any relevant disclaimer or source information.

## 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": {
      "db": {
       "type": "number",
       "description": "dB value to convert to a ratio"
      },
      "dbm": {
       "type": "number",
       "description": "dBm to convert to mW and W"
      },
      "kind": {
       "type": "string",
       "description": "power (10 log, default) or amplitude (20 log: voltage, current, pressure)"
      },
      "ratio": {
       "type": "number",
       "description": "Linear ratio to convert to dB"
      },
      "milliwatts": {
       "type": "number",
       "description": "mW to convert to dBm"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "db": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "kind": {
       "type": [
        "null",
        "string"
       ]
      },
      "ratio": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/electronics-calculators-decibel-converter-14496a8d/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)
