What is Voltage Divider Circuits: Resistor Ratio, Current, and Safe Level Shifting?
Mathematical Foundation
Laws & Principles
- The voltage divider only maintains Vout = Vin×R2/(R1+R2) when the load impedance is much larger than R2 (typically ≥10×R2). If a load of similar impedance is attached, it forms a parallel combination with R2, pulling Vout down — this is called 'loading effect.' Add a voltage follower op-amp buffer to eliminate this problem.
- Logic level conversion (5V → 3.3V): the most common use case. R1 = 10kΩ, R2 = 6.8kΩ gives Vout = 5 × 6800/16800 = 2.02V. R1 = 10kΩ, R2 = 22kΩ gives Vout = 5 × 22/32 = 3.44V. Different target voltages need different ratios.
- E24 resistor series: real resistors come in standard E24 values (10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91). Always round to the nearest E24 value and verify Vout is within spec.
- Do NOT use a voltage divider as a power supply or to run motors, LEDs, or MCU VDD lines with significant current draw. Use a voltage regulator (LM7805, AMS1117, etc.) instead. The divider loses regulation immediately under load.
- Thevenin equivalent: any voltage divider can be replaced by a Thevenin source of Vth = Vout and Rth = R1||R2 (R1 in parallel with R2). This is critical for circuit analysis when a load is connected.
Step-by-Step Example Walkthrough
" Raspberry Pi GPIO (3.3V) receiving signal from 5V Arduino sensor output. "
- Need Vout at or below 3.3V from Vin = 5V.
- Choose R1 = 10kΩ, R2 = 6.8kΩ (both E24 values).
- Vout = 5 × 6800 / (10000 + 6800) = 5 × 0.404 = 2.02V. ✓ Below 3.3V.
- Current draw: 5 / 16800 = 0.298 mA (negligible).
- Power: 5 × 0.000298 = 1.49 mW (very low — safe for 1/4W resistors).
- Load: Raspberry Pi GPIO input impedance is ~50kΩ, which is >>R2 (6.8kΩ). Loading effect is minimal.