Catalog/eng-voltage-divider

Calculators

Voltage divider calculator API

Compute the output of a resistive voltage divider (Vout = Vin·R2/(R1+R2)) plus loop current and divide ratio. The canonical analog-design formula. Answers 'what is Vout for a 1k/2k divider on 9V','what divide ratio do these resistors give','how much current flows in the divider'.

Price$0.01per request
MethodPOST
Route/v1/calc/eng-voltage-divider
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcengineeringelectricalvoltage-dividerresistoranalogvoutratio
API URLhttps://x402.hexl.dev/v1/calc/eng-voltage-divider
Integration docs
Example request
{
  "vin": 9,
  "r1": 1000,
  "r2": 2000
}
Example response
{
  "vin": 9,
  "r1": 1000,
  "r2": 2000,
  "voutV": 6,
  "currentA": 0.003,
  "ratio": 0.666667,
  "formula": "Vout = Vin * R2 / (R1 + R2)"
}
Input schema
{
  "type": "object",
  "required": [
    "vin",
    "r1",
    "r2"
  ],
  "properties": {
    "vin": {
      "type": "number",
      "description": "input volts",
      "examples": [
        9
      ]
    },
    "r1": {
      "type": "number",
      "description": "top resistor (Ω)",
      "examples": [
        1000
      ]
    },
    "r2": {
      "type": "number",
      "description": "bottom resistor (Ω)",
      "examples": [
        2000
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}