{"uid":"cap_YHe1acg--bLooqZlCsXif","slug":"resistor-voltage-divider-calculator-4bf5d7b8","name":"Resistor Voltage Divider Calculator","description":"Resistor voltage divider: output voltage, current and power from R1 and R2, or the R2 needed for a target output.","url":"https://electronics-calc.x402tookit.com/voltage-divider?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["vin","r1"],"properties":{"r1":{"type":"string","description":"R1 in ohms, e.g. 10k"},"r2":{"type":"string","description":"R2 in ohms (to find Vout)"},"vin":{"type":"number","description":"Input volts"},"vout":{"type":"number","description":"Target output volts (to find R2)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"r1":{"type":["null","number"]},"r2":{"type":["null","number"]},"vin":{"type":["null","number"]},"asOf":{"type":["null","string"]},"vout":{"type":["null","number"]},"ratio":{"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"]},"r1PowerW":{"type":["null","number"]},"r2PowerW":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"totalPowerW":{"type":["null","number"]},"standardValue":{}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_67O8iO_idjwXoG_dmK4zk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates output voltage, current, and power dissipation for a resistor voltage divider given R1 and R2, or finds the R2 needed to achieve a target output voltage.","exampleAgentPrompt":"What's the output voltage, current, and power dissipation for a voltage divider with Vin=12V, R1=10k ohms, and R2=4.7k ohms?","exampleUseCases":[{"title":"Stepping down voltage for a microcontroller pin","prompt":"I need to connect a 12V sensor output to a 3.3V microcontroller GPIO pin — what R2 do I need in a voltage divider if I use R1=10k and my input is 12V targeting 3.3V output?"},{"title":"Checking resistor power ratings in a divider","prompt":"I'm designing a voltage divider with Vin=24V, R1=4.7k ohms, and R2=1k ohm — can you tell me how much power each resistor will have to handle so I know what wattage rating to buy?"},{"title":"Calculating divider ratio for ADC reference","prompt":"For my ADC reference circuit I need to divide 5V down to about 2.5V using R2=10k — what R2 should I use, and what's the exact output voltage and current draw?"}],"resultDescription":"Returns the computed output voltage (Vout), voltage ratio, current through the divider in amps, individual power dissipation for R1 and R2 in watts, total power in watts, the nearest standard resistor value for R2 when solving for a target, plus a human-readable summary and disclaimer.","failureModes":["Missing required Vin or R1 parameters returns an error","Providing neither R2 nor Vout target yields an incomplete or error response","Non-numeric or unparseable resistance values (e.g. malformed strings) cause computation failure","Vout target greater than Vin is physically impossible and likely returns an error or invalid result","Division by zero if R2 is set to 0 ohms"],"whenToPreferThis":"Choose this endpoint when you need to compute voltage divider output or resistor values for a two-resistor series network. It is purpose-built for this specific circuit topology, returning all derived electrical quantities (voltage, current, power) in one call, rather than requiring manual application of Ohm's law or a general-purpose calculator.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T18:48:24.657Z","isFirstParty":false,"canonicalSlug":"resistor-voltage-divider-calculator-4bf5d7b8"}