TExcelTAD
Home › Circuit Theory & Network Analysis › Voltage and Current Dividers

Voltage and Current Dividers

A microcontroller's analog input accepts at most 3.3 V3.3\ \text{V}, and you want it to read a 12 V12\ \text{V} battery. Two resistors scale the voltage down: 8.2 kΩ8.2\ \text{k}\Omega and 3.3 kΩ3.3\ \text{k}\Omega give 3.44 V3.44\ \text{V}, close to full scale. Then a colleague connects a 10 kΩ10\ \text{k}\Omega data logger to the same node "just to watch it", and the reading drops by a fifth. The voltage divider is the most used two-resistor circuit in electronics, and its one weakness, loading, is the first taste of the Thevenin equivalent. Its twin, the current divider, splits a current between parallel branches.

The voltage divider

Two resistors in series across VinV_\text{in} carry the same current I=Vin/(R1+R2)I = V_\text{in}/(R_1 + R_2), so the voltage across R2R_2 is

Vout=Vin R2R1+R2V_\text{out} = V_\text{in}\,\frac{R_2}{R_1 + R_2}

The ratio depends only on the resistors, not on their absolute size. In general, each resistor in a series string takes the fraction Rk/RtotalR_k/R_\text{total} of the voltage. The result holds only when no current leaves the output node, an ideal that a real load never quite meets.

+ - Vin 12 V R1 8.2 kOhm R2 3.3 kOhm RL load out Is 6 mA 2 kOhm 3 kOhm I1 I2

Loading

A load RLR_L across R2R_2 puts RLR_L in parallel with it:

Vout=Vin R2∥RLR1+R2∥RLV_\text{out} = V_\text{in}\,\frac{R_2 \parallel R_L}{R_1 + R_2 \parallel R_L}

A cleaner way to see the effect: seen from the output, the divider behaves like a source of Vopen=VinR2/(R1+R2)V_\text{open} = V_\text{in}R_2/(R_1 + R_2) with an internal resistance Rth=R1∥R2R_\text{th} = R_1 \parallel R_2 (proved in Thevenin and Norton Equivalents). The load then forms a second divider with RthR_\text{th}:

Vout=Vopen RLRth+RL,relative error=−RthRth+RL≈−RthRLV_\text{out} = V_\text{open}\,\frac{R_L}{R_\text{th} + R_L}, \qquad \text{relative error} = -\frac{R_\text{th}}{R_\text{th} + R_L} \approx -\frac{R_\text{th}}{R_L}

Rule of thumb: for an error under 1 %, the load must be about 100 times RthR_\text{th}. That pushes toward small divider resistors, which waste current; the usual compromise is a divider of a few kΩ\text{k}\Omega to a few hundred kΩ\text{k}\Omega followed by a high-impedance input or a buffer amplifier.

The current divider

A current IsI_s entering two parallel resistors splits in inverse proportion to resistance (directly in proportion to conductance):

I1=Is R2R1+R2=Is G1G1+G2,I2=Is R1R1+R2I_1 = I_s\,\frac{R_2}{R_1 + R_2} = I_s\,\frac{G_1}{G_1 + G_2}, \qquad I_2 = I_s\,\frac{R_1}{R_1 + R_2}

Note the crossed resistor: the current in R1R_1 has R2R_2 on top. For more than two branches use conductances, Ik=IsGk/∑GI_k = I_s G_k / \sum G. The larger current takes the easier path, but the other path always gets some.

Worked example: the battery monitor

Given: Vin=12 VV_\text{in} = 12\ \text{V}, R1=8.2 kΩR_1 = 8.2\ \text{k}\Omega, R2=3.3 kΩR_2 = 3.3\ \text{k}\Omega; then a 10 kΩ10\ \text{k}\Omega load on the output.

Find: VoutV_\text{out} unloaded and loaded, the divider's current, and the error.

Solve:

Vopen=12 V⋅3.38.2+3.3=3.443 V,I=12 V11.5 kΩ=1.043 mARth=8.2∥3.3 kΩ=8.2⋅3.311.5 kΩ=2.353 kΩVout=3.443 V⋅102.353+10=2.788 V(−19.0 %)\begin{aligned} V_\text{open} &= 12\ \text{V} \cdot \frac{3.3}{8.2 + 3.3} = 3.443\ \text{V}, \qquad I = \frac{12\ \text{V}}{11.5\ \text{k}\Omega} = 1.043\ \text{mA} \\ R_\text{th} &= 8.2 \parallel 3.3\ \text{k}\Omega = \frac{8.2 \cdot 3.3}{11.5}\ \text{k}\Omega = 2.353\ \text{k}\Omega \\ V_\text{out} &= 3.443\ \text{V} \cdot \frac{10}{2.353 + 10} = 2.788\ \text{V} \quad (-19.0\,\%) \end{aligned}

Check: directly, R2∥RL=3.3∥10=2.481 kΩR_2 \parallel R_L = 3.3 \parallel 10 = 2.481\ \text{k}\Omega and 12⋅2.481/(8.2+2.481)=2.788 V12 \cdot 2.481/(8.2 + 2.481) = 2.788\ \text{V}. Same. The divider draws about 1 mA1\ \text{mA} from the battery all the time, 12.5 mW12.5\ \text{mW}: acceptable on a car battery, too much for a coin cell, where you would scale the resistors up by 100 and add a buffer.

In Python: loading and tolerance

python · try it yourself
Vin, R1, R2 = 12.0, 8.2e3, 3.3e3

def par(a, b):
    return a * b / (a + b)

Vopen = Vin * R2 / (R1 + R2)
Rth = par(R1, R2)
print(f"unloaded: {Vopen:.4f} V, source resistance of the divider R1||R2 = {Rth/1e3:.4f} kOhm")
print("   RL (kOhm)   Vout (V)   error (%)")
for RL in [1e3, 10e3, 33e3, 100e3, 1e6]:
    Vout = Vin * par(R2, RL) / (R1 + par(R2, RL))
    print(f"{RL/1e3:12.0f} {Vout:10.4f} {100*(Vout-Vopen)/Vopen:10.2f}")

# current divider: 6 mA into 2k || 3k
Is, Ra, Rb = 6e-3, 2e3, 3e3
print(f"I(2k) = {Is*Rb/(Ra+Rb)*1e3:.2f} mA, I(3k) = {Is*Ra/(Ra+Rb)*1e3:.2f} mA")

# worst case with 1 % resistors
corners = [Vin * R2*b / (R1*a + R2*b) for a in (0.99, 1.01) for b in (0.99, 1.01)]
print(f"1 % parts: {min(corners):.4f} V to {max(corners):.4f} V")
unloaded: 3.4435 V, source resistance of the divider R1||R2 = 2.3530 kOhm
   RL (kOhm)   Vout (V)   error (%)
           1     1.0270     -70.18
          10     2.7876     -19.05
          33     3.2143      -6.66
         100     3.3643      -2.30
        1000     3.4354      -0.23
I(2k) = 3.60 mA, I(3k) = 2.40 mA
1 % parts: 3.3946 V to 3.4928 V

Two lessons from the numbers. Loading errors fall roughly as Rth/RLR_\text{th}/R_L: a 1 MΩ1\ \text{M}\Omega load costs only 0.23 %. And 1 % resistors alone move the output by about ±1.4 %\pm 1.4\,\%, which is why ADC readings of a divider are usually calibrated in software against a known voltage.

Guided lab: measure the loading

Hand calculation. From the table: 3.44 V3.44\ \text{V} open, 2.79 V2.79\ \text{V} with 10 kΩ10\ \text{k}\Omega, 3.36 V3.36\ \text{V} with 100 kΩ100\ \text{k}\Omega.

Simulation. Slide the load in the netlist lab and watch the output fall as RLR_L approaches RthR_\text{th}:

node voltages (to ground 0)in12.00 Vout2.788 VnetlistV1 in 0 DC 12R1 in out 8.2kR2 out 0 3.3kRL out 0 10kelement currents (node 1 to node 2 through it)V1in>0-1.12 mAR1in>out1.12 mAR2out>0845 uARLout>0279 uA

At RL=10 kΩR_L = 10\ \text{k}\Omega it shows vout=2.788 Vv_\text{out} = 2.788\ \text{V}; at the top of the slider, 1 MΩ1\ \text{M}\Omega, 3.435 V3.435\ \text{V}. The currents in R2R_2 and RLR_L show the current divider at work.

What you would measure. Build the divider with 1 % parts from a bench supply at 12.0 V12.0\ \text{V} (current limit 10 mA10\ \text{mA}).

  1. DMM across R2R_2 (a 10 MΩ10\ \text{M}\Omega input, so it loads the divider by only 0.02 %): expect 3.44±0.05 V3.44 \pm 0.05\ \text{V}.
  2. Add 10 kΩ10\ \text{k}\Omega across R2R_2: expect 2.79±0.04 V2.79 \pm 0.04\ \text{V}.
  3. Measure the current split: feed 6.0 mA6.0\ \text{mA} from a supply in constant-current mode (voltage limit 10 V10\ \text{V}) into 2 kΩ∥3 kΩ2\ \text{k}\Omega \parallel 3\ \text{k}\Omega. The voltage across the pair is 6 mA⋅1.2 kΩ=7.2 V6\ \text{mA} \cdot 1.2\ \text{k}\Omega = 7.2\ \text{V}, so expect 3.60 mA3.60\ \text{mA} and 2.40 mA2.40\ \text{mA}, each within about 2 %.

Hazards and safe setup: 12 V12\ \text{V}, current-limited. Largest dissipation: 26 mW26\ \text{mW} in the 2 kΩ2\ \text{k}\Omega of the current divider. Before connecting a divider output to a microcontroller pin, check it with the supply at its maximum voltage: the pin's absolute maximum rating is usually only a few tenths of a volt above its supply.

Pitfalls

  • Ignoring the load. A divider is a source with internal resistance R1∥R2R_1 \parallel R_2; any load forms a second divider.
  • Swapping resistors in the current divider. The current through R1R_1 is IsR2/(R1+R2)I_sR_2/(R_1 + R_2), not IsR1/(…)I_sR_1/(\ldots).
  • Using a divider as a power supply. It cannot hold its voltage under a varying load; that needs a regulator.
  • Forgetting the standing current in battery-powered designs.

Practice

  1. Design a divider from 5.0 V5.0\ \text{V} to 1.2 V1.2\ \text{V} with a total resistance of about 100 kΩ100\ \text{k}\Omega, using one E24 value plus any second value; find its RthR_\text{th}.
  2. A 9 mA9\ \text{mA} current splits among 1 kΩ1\ \text{k}\Omega, 2 kΩ2\ \text{k}\Omega and 2 kΩ2\ \text{k}\Omega in parallel. Find each branch current.
  3. What load gives a 5 % error on a divider with Rth=4.7 kΩR_\text{th} = 4.7\ \text{k}\Omega?
Answer
  1. R2/(R1+R2)=0.24R_2/(R_1 + R_2) = 0.24; with R1+R2=100 kΩR_1 + R_2 = 100\ \text{k}\Omega, R2=24 kΩR_2 = 24\ \text{k}\Omega (an E24 value) and R1=76 kΩR_1 = 76\ \text{k}\Omega (use 75 kΩ75\ \text{k}\Omega: 1.21 V1.21\ \text{V}). Rth=75∥24=18.2 kΩR_\text{th} = 75 \parallel 24 = 18.2\ \text{k}\Omega.
  2. G=1+0.5+0.5=2 mSG = 1 + 0.5 + 0.5 = 2\ \text{mS}: 4.5 mA4.5\ \text{mA}, 2.25 mA2.25\ \text{mA}, 2.25 mA2.25\ \text{mA}.
  3. Rth/(Rth+RL)=0.05R_\text{th}/(R_\text{th} + R_L) = 0.05 gives RL=19Rth=89.3 kΩR_L = 19R_\text{th} = 89.3\ \text{k}\Omega.

Test yourself

A divider has R1=30 kΩR_1 = 30\ \text{k}\Omega (top) and R2=10 kΩR_2 = 10\ \text{k}\Omega (bottom) on 8 V8\ \text{V}. The unloaded output is…

  1. 6 V6\ \text{V}
  2. 2 V2\ \text{V}
  3. 2.67 V2.67\ \text{V}
  4. 4 V4\ \text{V}

Seen from its output, a two-resistor divider has an internal resistance of…

  1. R1+R2R_1 + R_2
  2. R1∥R2R_1 \parallel R_2
  3. R2R_2 only
  4. zero

10 mA10\ \text{mA} splits between 1 kΩ1\ \text{k}\Omega and 4 kΩ4\ \text{k}\Omega in parallel. The current in the 4 kΩ4\ \text{k}\Omega resistor is…

  1. 8 mA8\ \text{mA}
  2. 2 mA2\ \text{mA}
  3. 2.5 mA2.5\ \text{mA}
  4. 5 mA5\ \text{mA}

To keep the loading error of a divider below about 1 %, the load resistance should be at least about…

  1. equal to RthR_\text{th}
  2. 10Rth10 R_\text{th}
  3. 100Rth100 R_\text{th}
  4. R1+R2R_1 + R_2