# Voltage divider calculator > How much voltage comes out of your divider? Find the output of two resistors, or the resistor that gives the voltage you want, with standard values. Calculate a voltage divider's output, or R1 or R2 for a target voltage, with the nearest E12–E96 resistor, an optional load and a live drawing. - Page: https://how.box/voltage-divider/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/voltage-divider/?s={s}&vin={vin}&r1={r1}&r1u={r1u}&r2={r2}&r2u={r2u}&vout={vout}&rl={rl}&rlu={rlu}&e={e} - `s` (vout, r1 or r2): What to calculate: vout (default), r1 or r2. Example: `vout`. - `vin` (number 0.000001 to 1e6): Input voltage in volts. Example: `12`. - `r1` (number 0.001 to 1e9): Upper resistor R1 in r1u. Example: `10`. - `r1u` (ohm, kohm or megohm): Unit of R1: ohm, kohm or megohm. Example: `kohm`. - `r2` (number 0.001 to 1e9): Lower resistor R2 in r2u. Example: `4.7`. - `r2u` (ohm, kohm or megohm): Unit of R2: ohm, kohm or megohm. Example: `kohm`. - `vout` (number 0.000001 to 1e6): Wanted output voltage in volts (r1 and r2 modes). Example: `5`. - `rl` (number 0 to 1e9): Load resistance in rlu; 0 means no load. Example: `0`. - `rlu` (ohm, kohm or megohm): Unit of the load: ohm, kohm or megohm. Example: `kohm`. - `e` (E12, E24, E48 or E96): E series of the suggested standard resistor: E12, E24, E48 or E96. Example: `E24`. Example answer: https://how.box/voltage-divider/?s=vout&vin=12&r1=10&r1u=kohm&r2=4.7&r2u=kohm&vout=5&rl=0&rlu=kohm&e=E24 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `voltage_divider_calculate`: Two-resistor voltage divider: Vout = Vin × R2 / (R1 + R2), with an optional load across R2. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"voltage_divider_calculate","arguments":{"solve":"vout","vin":12,"r1":10,"r1_unit":"kohm","r2":4.7,"r2_unit":"kohm","vout":5,"load":0,"load_unit":"kohm","series":"E24"}}}` - GET: https://how.box/mcp/run/voltage_divider_calculate?solve=vout&vin=12&r1=10&r1_unit=kohm&r2=4.7&r2_unit=kohm&vout=5&load=0&load_unit=kohm&series=E24 ## How it works Two resistors in series share the input voltage in proportion to their resistance: the same current flows through both, so the bigger resistor gets the bigger part of the voltage. Taking the output from the point between them gives a fixed fraction of the input. The output is Vout = Vin × R2 ÷ (R1 + R2), where Vin is the input voltage, R1 the resistor from the input to the output and R2 the one from the output to ground. With 12 V across 10 kΩ and 4.7 kΩ, Vout = 12 × 4.7 ÷ 14.7 = 3.84 V. Turned around, R1 = R2 × (Vin ÷ Vout − 1), so 5 V from 12 V with R2 = 10 kΩ needs R1 = 14 kΩ; the nearest standard E24 value, 15 kΩ, gives 4.80 V. Anything connected to the output sits in parallel with R2 and pulls the output down, so a divider only stays accurate when the load is much larger than R2, about ten times or more. A divider is fine for a reference or a sensor input but not as a power supply, because the output sags under load and the resistors waste power. Source: OpenStax University Physics, volume 2, section 10.2, and the IEC 60063 E series. ## FAQ **Which resistor is R1?** R1 connects the input supply to the output junction. R2 connects that junction to ground, and the output is measured across R2. **Does a load value of zero short the output?** No. In this tool, zero means no load is connected; a short circuit is not modelled by that setting. **Can I swap the resistors?** Yes, but the output changes unless they are equal. The output is always measured across the lower resistor, R2. **Does the nearest standard resistor give exactly my target voltage?** Usually not. When solving for a resistor, compare the exact value with the output shown for the nearest standard value. **Does this include resistor tolerances?** No. It assumes exact resistance values, so actual component tolerances and temperature changes can shift the measured output. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)