Voltage Dividers


Contributors: Jimb0

Extra Credit: Proof

If you haven’t yet gotten your fill of voltage dividers, in this section we’ll evaluate how Ohm’s law is applied to produce the voltage divider equation. This is a fun exercise, but not super-important to understanding what voltage dividers do. If you’re interested, prepare for some fun times with Ohm’s law and algebra.

Evaluating the circuit

So, what if you wanted to measure the voltage at Vout? How could Ohm’s law be applied to create a formula to calculate the voltage there? Let’s assume that we know the values of Vin, R1, and R2, so let’s get our Vout equation in terms of those values.

Let’s start by drawing out the currents in the circuit–I1 and I2–which we’ll call the currents across the respective resistors.

Standard voltage divider circuit with currents drawn in

Our goal is to calculate Vout, what if we applied Ohm’s law to that voltage? Easy enough, there’s just one resistor and one current involved:

Vout = R2 * I2

Sweet! We know R2’s value, but what about I2? That’s an unknown value, but we do know a little something about it. We can assume (and this turns out to be a big assumption) that I1 is equivalent to I2. Alright, but does that help us? Hold that thought. Our circuit now looks like this, where I equals both I1 and I2.

Voltage divider with just a single current loop

What do we know about Vin? Well, Vin is the voltage across both resistors R1 and R2. Those resistors are in series. Series resistors add up to one value, so we could say:

R = R1 + R2

And, for a moment, we can simplify the circuit to:

Further simpling the voltage divider circuit - combining R1 and R2

Ohm’s law at its most basic! Vin = I * R. Which, if we turn that R back into R1 + R2, can also be written as:

I = Vin/(R1 + R2)

And since I is equivalent to I2, plug that into our Vout equation to get:

Voltage divider equation! Vout = R2 * (Vin/(R1+R2))

And that, my friends, is the voltage divider equation! The output voltage is a fraction of the input voltage, and that fraction is R2 divided by the sum of R1 and R2.

Want more information about SparkFun's classes? Interested in getting involved with teaching electronics? Just want to talk? Sign up for our newsletter, or contact our education department.

SparkFun is a company built around one core idea – sharing ingenuity. We think everyone should have the hardware and resources to learn and play with cool electronic gadgetry.

Share, give, learn, SparkFun.

Do you regularly instruct classes and workshops in a formal or informal learning environment? SparkFun offers Educator Discounts to people teaching and sharing electronics.

Find out more.