The voltage divider

Build · 11 min

A 9 V battery gives 9 V. But a circuit often needs some other voltage: 5 V for a chip, 3 V as a reference, half the supply as a midpoint. The simplest way to get a lower voltage from a higher one takes two resistors.

You've already built it. Two resistors in series share the supply's voltage between them, so the point where they meet sits somewhere between 0 V and the full supply. Use that point as an output, and the pair is called a voltage divider.

Build one: a 1 kΩ resistor from the + rail, then a 2.2 kΩ resistor on to the − rail.

The output is the column where the two resistors meet, measured from ground (the − rail).

Put the meter's red probe in that column and its black probe on the − rail. What is the output voltage?

Answer in V.

The maths

The same current flows through both resistors: I=Vin/(R1+R2). The output is the voltage across the bottom one, I×R2. Put those together:

Vout=Vin×R2R1+R2
SymbolMeaning
Vinthe supply voltage
R1the top resistor, from the supply to the output
R2the bottom resistor, from the output to ground

The fraction is the bottom resistor's share of the total resistance. Worked example, for your circuit:

Vout=9×22001000+2200=9×0.6875=6.19 V

Now you. If the bottom resistor were changed to 1 kΩ, the same as the top resistor, what would the output be?

Answer in V.

Check it. Click the bottom resistor and change it to 1 kΩ, then read the meter.

The formula has only a fraction of resistances in it. So what matters is how the two compare, not how big they are. Try it here, away from the board: find two different pairs of values that each give 3 V from 9 V.

Now design one. On this fresh board, build a divider across the 9 V battery whose output is 5 V, to within 3%.

The drawer's resistors can be set to any value: click one, and type a value or pick one from the list.

A divider's output is always:

  • Somewhere between 0 V and the supply voltage
  • Equal to the supply voltage
  • Higher than the supply voltage, if R2 is big enough

The voltage divider:

  • two resistors in series across a supply, with the output taken from between them;
  • Vout=Vin×R2R1+R2;
  • only the ratio of the resistors sets the output; their size sets the current the pair draws.

One warning for now, and a whole lesson on it soon: this formula holds only while nothing draws current from the output. Connect a load, and the output drops.

On a real bench dividers are everywhere: scaling a 12 V battery down so a 5 V microcontroller can measure it, setting the output voltage of a regulator, biasing a transistor, reading a sensor whose resistance changes.