Catalog/elec-dbm-watts

Electrical

dBm <-> watts & gain API

Converts between dBm and watts/milliwatts (and dBW), and applies a dB gain/loss returning power and voltage ratios and the output level. Answers 'What is 30 dBm in watts?', 'What is the output power after 10 dB of gain?'.

Price$0.04per request
MethodPOST
Route/v1/electrical/dbm-watts
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
electricaldbmwattsrfgaindecibelpowerlink-budget
API URLhttps://x402.hexl.dev/v1/electrical/dbm-watts
Integration docs
Example request
{
  "dbm": 30,
  "gainDb": 10
}
Example response
{
  "dbm": 30,
  "milliwatts": 1000,
  "watts": 1,
  "dbw": 0,
  "formula": "dBm = 10*log10(P_mW); P_mW = 10^(dBm/10)",
  "gainDb": 10,
  "powerRatio": 10,
  "voltageRatio": 3.16227766,
  "outputDbm": 40
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "dbm": {
      "type": "number",
      "examples": [
        30
      ]
    },
    "watts": {
      "type": "number",
      "examples": [
        1
      ]
    },
    "gainDb": {
      "type": "number",
      "examples": [
        10
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}