The Voltage Divider Formula, Explained for People Who Actually Build Circuits
How a voltage divider taps a mid voltage from two series resistors, the Vout = Vin·R2/(R1+R2) formula, and how to pick resistor values for sensors and references.
The Voltage Divider Formula, Explained for People Who Actually Build Circuits
A voltage divider is the smallest useful circuit in analog electronics: two resistors in series, with the input voltage across the whole pair and a tapped output taken from the middle node. That single tap point gives you a fraction of the input. It shows up everywhere — scaling a sensor into an ADC range, level-shifting a signal, biasing a transistor, or building a reference threshold for a comparator. If you can read one formula, you can size most of these circuits in your head.
This post walks through the one equation that matters, a worked example you can check on paper, how a real load changes the answer, and how to choose resistor values without guessing. Where the arithmetic gets tedious, the voltage divider calculator does both the forward and the reverse solve for you.
The Formula, and Why It Looks the Way It Does
The output of a two-resistor divider is:
Vout = Vin · R2 / (R1 + R2)
Here R1 is the top resistor running from Vin down to the middle node, R2 is the bottom resistor from the middle node to ground, and Vout is measured across R2. The same current flows through both resistors because they sit in series, so the voltage splits between them in proportion to their resistance. R2 gets the slice of voltage equal to its share of the total resistance, which is exactly the fraction R2 / (R1 + R2).
Two things fall out of this immediately. First, the divider only ever attenuates — Vout is always somewhere between 0 V and Vin, never above it, because the fraction is always between 0 and 1. A passive divider cannot boost. Second, only the ratio of the resistors sets the output, not their absolute size. A 1 kΩ / 1 kΩ pair and a 1 MΩ / 1 MΩ pair both halve the input. The absolute values decide something else entirely: how much current the divider wastes, which I will come back to.
A Worked Example You Can Check on Paper
Take the simplest case. Put 5 V across two equal resistors, R1 = 10 kΩ and R2 = 10 kΩ. Plug it in:
Vout = 5 · 10000 / (10000 + 10000) = 5 · 10000 / 20000 = 5 · 0.5 = 2.5 V
Equal resistors split the supply exactly in half. That is the sanity check I run whenever I doubt my own wiring — if I built a divider from two identical resistors and the meter does not read half the input, something is shorted or open before I touch the math.
Change the ratio and the output tracks it. A 12 V supply with R1 = 1 kΩ and R2 = 2 kΩ gives Vout = 12 · 2000 / 3000 = 8 V. Swap those two parts and the same components give 4 V instead, because the bottom resistor is what sets the fraction. The current through the pair is I = Vin / (R1 + R2) = 12 / 3000 = 4 mA, and the power burned is Vin · I ≈ 48 mW. Those last two numbers are the ones people forget, and they are exactly what decides whether your resistor choice is sensible.
Where Dividers Earn Their Keep: Sensors, Shifting, References
The most common real job is squeezing a signal into an ADC range. Say a sensor swings up to 9 V but your microcontroller reads only 0 to 3.3 V. You want a divider whose ratio is 3.3 / 9 = 0.367, so the full-scale sensor reading lands just under the ADC ceiling. Fix one resistor, solve for the other, and you have a clean front-end that never overdrives the input pin.
Level shifting is the same trick aimed at a logic line — tap a 5 V signal down to a 1.8 V comparator threshold, for instance. And a divider makes a quick reference rail when you need a fixed fraction of a known supply and the thing reading it draws almost no current. A comparator input or a high-impedance ADC pin fits that bill. The pattern is always identical: known input, desired output, solve for the missing resistor. Reaching for Ohm's law to double-check the current through the pair is a good habit once you have the resistor values.
Picking Resistor Values Without Guessing
This is where the absolute size of the resistors finally matters. It is a straight trade-off between wasted current and accuracy under load.
Small resistors — say 1 kΩ / 1 kΩ on a 12 V rail — draw 6 mA continuously and stay accurate even when something pulls a little current from the output, but they burn 72 mW around the clock. Large resistors — 100 kΩ / 100 kΩ — sip only 60 µA, which is ideal for sensing a battery you do not want to flatten, but they go soft the moment any real load (or even the input current of an ADC) hangs off the output.
To go backward from a target voltage, rearrange the formula:
R2 = R1 · Vout / (Vin − Vout) or R1 = R2 · (Vin − Vout) / Vout
Worked case: drop 12 V to 5 V. The ratio is 5 / 12 = 0.4167. Pick a round R1 of 1 kΩ, then R2 = 1000 · 5 / 7 ≈ 714 Ω. The nearest standard E12 value, 680 Ω, gives about 4.86 V — close enough for most sensing, and the kind of rounding the calculator surfaces for you so you do not chase a resistor value that nobody stocks.
The Load Problem Nobody Warns You About
The textbook formula assumes nothing draws current from the output node. The moment you connect a real load resistor RL across the output, it sits in parallel with R2, lowering the effective bottom resistance to (R2 · RL) / (R2 + RL) and pulling Vout down.
The numbers are blunt. A 12 V divider built from 1 kΩ / 1 kΩ reads 6 V open-circuit. Hang a 1 kΩ load on it and the output collapses to 4 V — a 33 percent error. That is why a divider that looked perfect on the bench reads wrong the instant you wire it into the rest of the board. The fix is to keep R2 at least ten times smaller than the load resistance so the load barely perturbs the bottom leg, or to buffer the output with an op-amp follower that presents a near-infinite input impedance.
This is also the reason a divider is not a voltage regulator. It sets a ratio of its input, nothing more. If Vin rises from 12 V to 13 V, every divider output rises by the same 8.3 percent. For a rail that must hold steady against supply and load changes, reach for an LDO or a buck converter. Dividers belong on sense lines, bias networks, and ADC scaling, where the load is tiny and known.
A Quick Mental Checklist
When I size a divider I run through four questions: What ratio do I need? Which standard resistor values get me there? How much current will the pair waste at that size? And what does the real load do to the output? Answer those four and the circuit behaves. Skip the last one and you will spend an afternoon wondering why the meter disagrees with the spreadsheet.
The voltage divider calculator folds all four into one screen — forward solve, reverse solve, current and power, and the loaded output with its percent error — so you can iterate on resistor pairs until the numbers line up before you ever touch a soldering iron.
Made by Toolora · Updated 2026-06-13