Sub topic 4
The Voltage Divider Rule
The voltage divider rule gives the voltage across one resistor in a series chain without finding the current first. This chapter derives the rule, applies it, and shows where it fails. The main failure is a load connected across the output.
What you need first
This chapter assumes you know Ohm's law (V = I R) and Kirchhoff's voltage law (the voltages around a closed loop sum to zero). It also assumes you know that series resistors add to an equivalent resistance, which the previous chapter covered. You need only algebra with fractions.
The idea in one sentence
When resistors are in series, the source voltage splits among them in proportion to their resistances. A resistor with twice the resistance of its neighbour takes twice the voltage.
This follows from one fact. Series resistors carry the same current, so each voltage is I times that resistor's resistance. Voltage is therefore proportional to resistance.
Deriving the rule
Take a source voltage V_in across R1 in series with R2. The output is measured across R2.
- The series equivalent resistance is R_total = R1 + R2.
- Ohm's law gives the shared current: I = V_in / (R1 + R2).
- The same current flows through R2, so V_out = I × R2.
- Substituting I gives the rule:
Vout = Vin × R2 / (R1 + R2)
The voltage across R1 follows the same pattern, with R1 on top:
VR1 = Vin × R1 / (R1 + R2)
The two fractions add to 1, so VR1 + VR2 = V_in. This is Kirchhoff's voltage law, and you can use it as a check.
For any number of series resistors, the voltage across resistor k is:
Vk = Vin × Rk / (R1 + R2 + ... + Rn)
Worked example
A 12 V source drives R1 = 1000 ohms in series with R2 = 2000 ohms. Find the voltage across each resistor.
- Total resistance: 1000 + 2000 = 3000 ohms.
- Voltage across R2: 12 × 2000 / 3000 = 8 V.
- Voltage across R1: 12 × 1000 / 3000 = 4 V.
- Check: 8 V + 4 V = 12 V.
The shared current is 12 / 3000 = 4 mA. Multiplying gives the same answers: 4 mA × 2000 = 8 V and 4 mA × 1000 = 4 V.
The larger resistor takes the larger share, and the ratio of voltages (8 : 4) equals the ratio of resistances (2000 : 1000). You can often get the answer by inspection. If R2 is twice R1, R2 gets two thirds of the source.
Three or more resistors
The denominator becomes the sum of all series resistances. Suppose 10 V is applied across 1 kΩ, 2 kΩ, and 2 kΩ in series. The total is 5 kΩ.
| Resistor | Resistance | Fraction of total | Voltage |
|---|---|---|---|
| R1 | 1 kΩ | 1/5 | 2 V |
| R2 | 2 kΩ | 2/5 | 4 V |
| R3 | 2 kΩ | 2/5 | 4 V |
The voltages add to 10 V.
You can also take the output across several resistors at once. If the output is across R2 and R3 together, add their resistances in the numerator: 10 × (2000 + 2000) / 5000 = 8 V.
Computing it in code
The function below returns the voltage across resistor number k (counting from 0) in a series chain.
def divider(v_in, resistances, k):
"""Voltage across resistance k in a series chain driven by v_in."""
return v_in * resistances[k] / sum(resistances)
print(round(divider(12, [1000, 2000], 1), 3)) # 8.0
print(round(divider(12, [1000, 2000], 0), 3)) # 4.0
chain = [1000, 2000, 2000]
print([round(divider(10, chain, k), 3) for k in range(3)]) # [2.0, 4.0, 4.0]Designing a divider
A common use is to scale a voltage down. Suppose you need about 3.3 V from a 5 V supply. The required ratio is Vout / Vin = 0.66.
Set R2 / (R1 + R2) = 0.66, so R2 = 0.66 R1 / 0.34, which is about 1.94 × R1. Pick R1 = 510 ohms and R2 = 1000 ohms from standard values. The ratio is 1000 / 1510 = 0.6623, so V_out = 3.311 V.
Only the ratio of resistances sets the ratio of voltages. R1 = 5.1 kΩ with R2 = 10 kΩ gives the same 3.311 V. The absolute values decide the current drawn from the source and how well the divider tolerates a load, covered next.
The loading effect
The rule assumes that nothing else draws current from the output node. In practice, the output feeds a load, such as a sensor input or another circuit. The load is connected from the output node to ground, so it is in parallel with R2.
The divider's lower leg is no longer R2. It is R2 in parallel with the load resistance, and you must use that combination in the rule:
R2eff = R2 × Rload / (R2 + R_load)
Vout = Vin × R2eff / (R1 + R2eff)
def parallel(*resistances):
return 1 / sum(1 / r for r in resistances)
v_in, r1, r2 = 5.0, 510.0, 1000.0
print(round(v_in * r2 / (r1 + r2), 3)) # 3.311 (no load)
r2_loaded = parallel(r2, 10000.0) # 10 kilohm load
print(round(v_in * r2_loaded / (r1 + r2_loaded), 3)) # 3.203A 10 kΩ load across a 1 kΩ lower resistor lowers the output from 3.311 V to 3.203 V. That is about 3.3% lower. The table shows the effect for a divider with R1 = R2 = R and a load of k × R. The unloaded ratio is 0.5.
| Load / R2 (k) | V_out / V_in | Error against 0.5 |
|---|---|---|
| 0.1 | 0.083 | very large |
| 1 | 0.333 | one third lower |
| 10 | 0.476 | about 5% |
| 100 | 0.4975 | about 0.5% |
| infinite (no load) | 0.500 | none |
The general formula for this case is Vout / Vin = k / (2k + 1).
The trade-off is that smaller resistors draw more current from the source. In the 12 V example the divider draws 4 mA. With resistors ten times smaller it would draw 40 mA, and it would waste that power as heat all the time. Divider design balances load sensitivity (wants small resistors) against standing current (wants large resistors).
Common errors
- Putting the wrong resistor in the numerator. The numerator is the resistor you are measuring across, and the denominator is always the full series total. For V_out across R2, R2 goes on top.
- Forgetting the denominator includes every series resistor. In a chain of three, using only two in the denominator gives a fraction that is too large.
- Applying the rule when the resistors are not in series. If another branch connects at the junction between them, current leaves the chain and the two resistors no longer share a current. Reduce parallel parts first, as the later chapter on mixed networks shows.
- Ignoring the load. Treat any load across the output as part of the lower leg, as shown above.
- Mixing units. Because only the ratio matters, kΩ and Ω both work, but you must use the same unit for every resistor in the fraction.
- Using the output of an ideal source with internal resistance. A real source has some internal resistance. It acts as an extra series resistor and slightly changes the result. For ordinary bench supplies this is negligible.
When to use the rule
Use the divider rule when you need one voltage in a series chain and the total current is not otherwise needed. It also lets you find a voltage inside a larger network after you reduce the network to an equivalent series path. Use Ohm's law directly when you already know the current.
The next chapters add the parallel counterpart. The current divider rule splits current among parallel branches, and it is the dual of the voltage divider you have just seen.
Exercise
A 24 V source is connected across R1 = 2.2 kΩ in series with R2 = 6.8 kΩ. What is the voltage across R2, and what is the voltage across R1?
Show answer
The total resistance is 9.0 kΩ. The voltage across R2 is 24 × 6.8 / 9.0 = 18.13 V. The voltage across R1 is 24 × 2.2 / 9.0 = 5.87 V. These add to 24 V.
Exercise
You have a 5 V supply and want 2 V across R2 = 2 kΩ with no load. What value should R1 be? Then a 6 kΩ load is connected across R2. What does the output become?
Show answer
You need R2 / (R1 + R2) = 2 / 5 = 0.4, so R1 + R2 = 5 kΩ and R1 = 3 kΩ. With the 6 kΩ load, the lower leg is 2 kΩ in parallel with 6 kΩ, which is 1.5 kΩ. The output is 5 × 1.5 / (3 + 1.5) = 1.667 V, noticeably below the 2 V design value.
Exercise
In a series chain of 100 Ω, 200 Ω, and 700 Ω across 20 V, what voltage appears across the 200 Ω and 700 Ω resistors together?
Show answer
The total is 1000 Ω. The two resistors together are 900 Ω, so the voltage is 20 × 900 / 1000 = 18 V. The 100 Ω resistor takes the remaining 2 V.