If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Voltage divider

A voltage divider is a simple series resistor circuit. It's output voltage is a fixed fraction of its input voltage. The divide-down ratio is determined by two resistors. Written by Willy McAllister.
A very common and useful series resistor circuit goes by the nickname voltage divider. We will work out how this circuit operates, and you will see where the nickname comes from.
A voltage divider looks like this:
Our goal is to come up with an expression relating output vout to input vin. A good place to start is finding the current through R1 and R2.
Assumption: Assume 0 current is flowing out of the divider. (Before we are done we will check to see what happens if this zero-current assumption doesn't hold).
With this assumption, R1 and R2 have the same current, and we can consider them to be in series.
i1=i2 and for now let's just call this i.
To find the current, we apply Ohm's law and what we know about resistors in series, (reminder: resistors in series add),
v=iR Ohm's Law
vin=i(R1+R2)
Rearranging to solve for i,
i=vin1R1+R2
We've solved for current i in terms of vin and both resistors.
Next, we write an expression for vout using Ohm's Law,
vout=iR2
We can substitute for i in the previous equation to get,
vout=(vin1R1+R2)R2
and we have derived the voltage divider equation:
The output voltage equals the input voltage scaled by a ratio of resistors: the bottom resistor divided by the sum of the resistors.
The ratio of resistors is always less than 1 for any values of R1 and R2. This means vout is always less than vin. Input voltage vin is scaled down to vout by a fixed ratio determined by the resistor values. This is where the circuit gets its nickname: voltage divider.

Example - use the voltage divider equation to find vout

We want to find vout using the voltage divider relationship.
vout=vinR2R1+R2
We insert the actual input voltage and resistor values into the equation, remembering the equation tells us the bottom resistor, R2, goes in the numerator.
vout=12V3kΩ1kΩ+3kΩ
vout=12V3kΩ4kΩ
vout=12V34=9V
Let's do an optional step to check the current.
i=vinR1+R2=12V1kΩ+3kΩ=12V4kΩ=3mA
Now we know the current, so we can compute how much power is being dissipated by our voltage divider,
p=iv=3mA12V=36mW
Summary: Our voltage divider takes an input voltage (in this case 12V, but it could be any value) and scales it down to create an output voltage that's 3/4 of the input voltage. The 3/4 ratio is determined by our choice of the two resistors. As long as vin is turned on, a current of 3mA flows down through the voltage divider, so it dissipates 12V×3mA=36mW.

Voltage divider practice problems

All of these problems use this circuit diagram,

Problem 1

Let vin=6V, R1=50kΩ, and R2=10kΩ
Find vout, the voltage across R2.
vout=
V

Problem 2

Let R1=90kΩ, R2=10kΩ,
let the output voltage vout=1.5V,
Find vin.
vin=
V

Problem 3

Let vin=5V, vout=2V, and R1=30kΩ
Find R2.
R2=
Ω

Problem 4 - Challenge

Let vin=1V, vout=vin2
Design a voltage divider that dissipates 10μW.
R1=
Ω
R2=
Ω

Review the assumption (advanced)

A voltage divider doesn't do anything useful unless its output is connected to something. You should be aware of what happens when a divider is connected to a load. Remember we made an assumption at the beginning? We assumed the current flowing out of the output was 0. That let us treat R1 and R2 as if they were in series, and we developed the voltage divider equation. Let's check what happens if the assumption is not true.

Operating the voltage divider near its mid-range

To start this discussion, we let R1=R2. With matched resistors, the expected vout of the voltage divider is the mid-point of the divider's range, 0.5vin. To cause some current to flow out of the divider, we connect a resistor RL. Does the divider still work? Does our voltage divider story collapse?
Resistor RL acts as a load on the output of the voltage divider, meaning that it causes a current iL to flow. The presence of RL means R1 and R2 are no longer strictly in series. Let's make RL fairly big, to make iL fairly small relative to i2. Let RL be ten times bigger than R2,
RL=10R2
R2 and RL are in parallel with each other. Combine the two parallel resistors using the parallel resistor formula to get R2||RL,
R2||RL=R2RLR2+RL=R210R2R2+10R2=1011R2=0.91R2
This is our loaded voltage divider circuit, redrawn to show the equivalent resistance of R2 in parallel with RL,
The 10× load resistor has the effect of reducing the resistance at the bottom of the voltage divider by roughly 9%. What is the impact of this additional load on the divider's output voltage? Without the load, the expected output is 0.5vin. Now we figure out the output voltage in the presence of a load resistor.
vout=vin0.91R2R1+0.91R2
We designed our divider with R1=R2, so they cancel out,
vout=vin0.911+0.91
vout=vin0.911.91=0.48vin
The output voltage drops to 48% of the input voltage. How big an error is this?
0.480.50=0.96=96%
The actual output of the voltage divider is low by 4% compared to the expected voltage. (Note the voltage error of 4% is significantly less than the 9% resistance change.) Does a few % error matter? That's for you alone to decide. It depends on how accurate the voltage divider needs to be for your application.
The nugget to tuck away from this analysis: If the effective load resistance is 10× greater than the bottom resistor in the voltage divider, you get roughly "one hand" of % error (45%) in the output voltage. This holds when the output voltage is near the center of its range (in the neighborhood of vin/2).

Operating the voltage divider near its extremes

If you design the voltage divider to operate near its extremes, with the output voltage close to 0 or vin, the percentage error in output voltage will be different. We repeat the analysis with the output voltage set to 90% and 10% of the divider range. We keep the load resistor ten times the bottom resistor, so the parallel combination of R2 and RL is still 0.91R2.

Case 1: vout=90% of vin

Let vout=90% of vin. The expected output is 0.90vin.
First we design a voltage divider that gives us the desired output. Figure out R2 in terms of R1 for a 90% voltage divider,
voutvin=0.90=R2R1+R2
0.90(R1+R2)=R2
0.90R1=R20.90R2
0.90R1=0.10R2
R2=0.90R10.10=9R1
R2 is 9 times bigger than R1.
Now we load the circuit with RL and see how the output voltage changes. The expression we derived above for the loaded voltage divider is,
voutvin=0.91R2R1+0.91R2
We replace R2 with 9R1,
voutvin=0.91(9R1)R1+0.91(9R1)
All the R1's cancel out, leaving,
voutvin=0.91(9)1+0.91(9)=8.199.19=0.89
The actual output voltage is 89% of vin instead of 90%.
The actual output voltage divided by the expected output is,
0.890.90=0.99
So the actual voltage is lower than the expected by only 1%.

Case 2: vout=10% of vin

Let vout=10% of vin. The expected output is 0.10vin.
Express R1 in terms of R2 for a 10% voltage divider.
voutvin=0.10=R2R1+R2
0.10(R1+R2)=R2
0.10R1=R20.10R2
0.10R1=0.90R2
R1=0.90R20.10=9R2
R1 is 9 times bigger than R2.
Now we load the circuit with RL and evaluate the change in output voltage. The expression we derived above for the loaded voltage divider is,
voutvin=0.91R2R1+0.91R2
We replace R1 with 9R2,
voutvin=0.91R29R2+0.91R2
All the R2's cancel out,
voutvin=0.919+0.91=0.919.91=0.092
The actual output voltage is 9.2% of vin instead of the expected 10%.
The actual output voltage divided by the expected output is,
0.0920.10=0.92
So the actual voltage differs by 8% from the expected. This is nearly twice the error compared to the mid-range divider.

Lessons for a loaded voltage divider

With a 10×R2 load resistor connected to a voltage divider:
  • Near mid-range, the output voltage is reduced by 5%.
  • Near the top of its range, the error goes down substantially, to around 1%.
  • Near the bottom of its range, the error roughly doubles compared to mid-range. The output voltage is 8% lower than expected.

Controlling error in a loaded voltage divider

If your design requires the error to be significantly smaller, the load needs to be much larger than 10×R2, like an additional 10× or more. You can get an additional 10× two ways. Increase the load resistance. Or, redesign the voltage divider to have smaller R1 and R2, (at the cost of more power dissipated by the voltage divider).

Real-world resistor tolerance also impacts accuracy

Real-world resistors always have a ± tolerance on their value. If the accuracy of the voltage divider is critical to your application, use resistors with tight tolerances, and check for acceptable performance by analyzing the voltage divider at the anticipated tolerance extremes.

What's in a nickname

We mentioned at the start that the nickname of this circuit is a voltage divider. In many situations, that is exactly what it does. However, we showed that under certain conditions when there is a load on the divider, the actual output voltage is slightly lower than the value predicted by the voltage divider equation. The lesson: Call a circuit by its nickname; just remember that it's only a nickname.

Summary

Voltage divider:
vout=vinR2R1+R2
where R2 is the resistor on the bottom of the divider.

Want to join the conversation?

  • leaf green style avatar for user Centa Liu
    in problem 2 and problem 4, suggest that 20k and 50k can be seen as correct answers, since the questions already use k and μ for avoiding too many 0s.
    (7 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user hilltopelectrical
    regarding problem #3 in line 4 of the solution how do you go from -R2(R2x5/2)=30k to 3/2xR2=30k
    how would I know to do that?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • purple pi purple style avatar for user Hagar Usama
    What is the difference between a 'Voltage Divider' and a 'Voltage Regulator'?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • spunky sam orange style avatar for user Willy McAllister
      Good question. A Voltage Divider is the simple 2-resistor circuit we talk about here. Remember the caution that a voltage divider only behaves itself when the current leaving the center node is practically zero? That limits where you can use a voltage divider. If you need to pull a lot of current at the new lower voltage, you use a Voltage Regulator. This is an integrated circuit with 10-50 transistors specially designed to take a higher voltage and provide current at a very well-controlled lower voltage.

      The original IC voltage regulator is the LM317. It's been around forever. https://en.wikipedia.org/wiki/LM317. If you scroll down a little you will see the typical circuit for using the LM317. Notice part of the circuit is a 2-resistor voltage divider that let's you adjust the output voltage. The divider determines the voltage. The regulator provides the robust current.
      (4 votes)
  • aqualine seed style avatar for user Lê Minh Đức
    If we put RL in the circuit, does that make any change to power dissipated by voltage divider ?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • purple pi purple style avatar for user APDahlen
      Hi Mogbulumide,

      This is a hard question to answer without knowing your background. I am assuming you have some knowledge of electronics but have not yet studied AC circuits.

      There are two answers to this question:

      1) For Direct Current circuits - with DC an inductor acts as a short circuit. In reality you will "see" the resistance of the inductor's winding. In general you will not find inductors in pure DC circuits.

      2) For Alternating Current circuits - yes the inductor can be part of the voltage divider. Although, we wouldn't call the circuit a voltage divider anymore. We would instead call the circuit a filter. The "voltage divider's" output would change depending on the frequency of the input signal.

      This is where electronics gets interesting. You may be interested in this site:

      http://sound.westhost.com/lr-passive.htm

      Happy soldering,

      APD
      (6 votes)
  • aqualine seedling style avatar for user daniel.r.ribera
    When evaluating the expression
    R1 || RL = R2 * 10R2 / R2 + 10R2 you get 10/11R2 = 0.91R2
    Was this accomplished by factoring out R2 from the numerator and denominator?
    R2(1 * 10) / R2(1 + 10) = 10/11 but wouldn't the R2/R2 just equal 1 or just cancel out? So how is it that it equals 0.91R2? We don't know the value of R2 so we just leave it in as a factor of the result?

    When evaluating the expression
    V-out = V-in(0.91R2/R1+0.91R2). You stated that R1 = R2 So they cancel out. leaving V-in(0.91/1+0.91) = 0.91/1.91=0.48V Assuming these computations were accomplished via factoring out the R2 this would assert the same computation as the first expression, but in this case R2 cancels out, whereas in the first expression it was left in. So how do I determine when I need to keep an a variable tied to a result, as in the first case of 0.91R2, and when to cancel it out, as in the second case 0.48v?

    Thank you for your time.
    (2 votes)
    Default Khan Academy avatar avatar for user
    • spunky sam orange style avatar for user Willy McAllister
      The numerator of the resistor expression is R2 * 10R2 = 10 R2^2.
      The denominator of the resistor expression is R2 + 10R2 = 11R2
      When cancelling R2's you eliminate the one on the bottom but you still end up with one on top. 10R2/11.

      In the voltage equation, all the R2's cancel out.
      (4 votes)
  • blobby green style avatar for user raresmose
    Regarding Problem 4 - Challenge

    Shouldn't the power be equal to P = I x Vout instead of Vin if it asks for the power dissipated by the divider? I was thinking that every element dissipates power and if it specifies the divider power it should be calculated using Vout. If not, why do we use Vin?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • spunky sam orange style avatar for user Willy McAllister
      The voltage divider is made of two resistors, so the "power of the divider" has to account for both. You can compute the power a few different ways.

      Assuming i_out = 0...

      If you know the current i flowing through the two resistors, then p = i^2 (R1 + R2).

      Or, you could compute power based on the voltages,
      p_total = p_R1 + p_R2
      p_R1 = (Vin - Vout) / R1
      p_R2 = Vout^2 / R2

      Or, you could compute power based on both i and v,
      p_total = p_R1 + p_R2
      p_R1 = i (Vin-Vout)
      p_R2 = i Vout

      Or, simplest of all,
      p = i Vin
      (5 votes)
  • male robot johnny style avatar for user swagB
    So can this be used for a DC circuit? I am trying reduce the voltage of a battery from 9v to 3.7v. what is the best way to do this?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • leaf blue style avatar for user miguel.s.valencia
    In problem 3, I don't get how you go from step 2 to step 3:

    2V = 5V x ( R2 / 30kOhm + R2) -->

    30kOhm + R2 = ( 5V / 2V ) x R2

    It's some kind of algebra I don't understand, but I also don't know the name for it well enough to look it up.
    (2 votes)
    Default Khan Academy avatar avatar for user
  • male robot donald style avatar for user Filippos
    Problem 4

    Would it be wrong to calculate the equivalent resistance (Rs=R1+ R2) of the divider using P=(Vin)^2 / Rs ?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • leaf red style avatar for user Rodney J Toussaint
    In problem 2, how are we allowed to take the reciprocal of 1/10 to get 15V in?
    (2 votes)
    Default Khan Academy avatar avatar for user