Sub topic 4
The voltage divider rule
This chapter derives the voltage divider rule from Ohm's law and Kirchhoff's voltage law, then uses it on a numeric example. It assumes you know Ohm's law (V = I R), can add resistors in series, and can read a simple schematic. The output here is for an unloaded divider. Loading is covered in a later chapter.
The setup
A voltage divider is two resistors in series across a source. R1 connects the source to the output node. R2 connects the output node to ground. The output voltage Vout is measured across R2.
Derivation
Start with Kirchhoff's voltage law (KVL). The voltage rises and drops around a closed loop add up to zero. Going around the loop, the source supplies Vin, and the two resistors drop V1 and V2:
Vin = V1 + V2
The two resistors are in series, so the same current I flows through both. Ohm's law gives each drop:
- V1 = I R1
- V2 = I R2
Substitute into the KVL equation:
Vin = I R1 + I R2 = I (R1 + R2)
Solve for the current:
I = Vin / (R1 + R2)
The output is the drop across R2, so apply Ohm's law once more:
Vout = V2 = I R2 = Vin × R2 / (R1 + R2)
This is the voltage divider rule. Each resistor drops a share of the source voltage equal to its resistance divided by the total series resistance. The same reasoning works for any number of series resistors. The drop across resistor Rk is Vin × Rk / (R1 + R2 + ... + Rn).
Worked example
A 12 V source drives R1 = 10 kΩ and R2 = 5 kΩ.
- Total resistance: 10 kΩ + 5 kΩ = 15 kΩ.
- Ratio: 5 kΩ / 15 kΩ = 1/3.
- Output: 12 V × 1/3 = 4 V.
Check with the current. I = 12 V / 15 kΩ = 0.8 mA. Then V2 = 0.8 mA × 5 kΩ = 4 V, and V1 = 0.8 mA × 10 kΩ = 8 V. The two drops add to 12 V, as KVL requires.
The same calculation in code:
def divider_vout(vin, r1, r2):
"""Unloaded divider: r1 from the source to the output node, r2 from the output node to ground."""
return vin * r2 / (r1 + r2)
print(divider_vout(12.0, 10_000, 5_000)) # 4.0 voltsUseful observations
- The output is always between 0 V and Vin, because R2 / (R1 + R2) is between 0 and 1. A resistive divider can only reduce voltage.
- Only the ratio matters for the output. Using 2 kΩ and 1 kΩ also gives 4 V from 12 V.
- The absolute values set the current. With 2 kΩ and 1 kΩ, I = 4 mA instead of 0.8 mA, so the divider draws five times more power from the source.
- The larger resistor drops the larger share of the voltage.
Common errors
- Using the wrong resistor in the numerator. The numerator is the resistor the output is measured across. If you measure across R1 instead, the formula uses R1 on top.
- Dividing by R2 alone. The denominator is the total series resistance, R1 + R2.
- Applying the formula with a load attached. The rule assumes no current leaves the output node. Any load connected to Vout carries current away, so the same current no longer flows through both resistors.
Exercise
A 9 V source feeds R1 = 6 kΩ in series with R2 = 3 kΩ. Find Vout across R2 and the current in the divider.
Show answer
The total resistance is 9 kΩ. Vout = 9 V × 3 kΩ / 9 kΩ = 3 V. The current is I = 9 V / 9 kΩ = 1 mA. Check: V1 = 1 mA × 6 kΩ = 6 V, and 6 V + 3 V = 9 V.
Exercise
You need 2.5 V from a 10 V source using R2 = 1 kΩ. What value of R1 is needed?
Show answer
Rearrange Vout = Vin × R2 / (R1 + R2). The ratio Vout / Vin = 0.25, so R2 / (R1 + R2) = 0.25. Then R1 + R2 = 4 kΩ, so R1 = 3 kΩ.